[dasher] String thaw is over, so enable error message - usually help not found
- From: Patrick Welche <pwelche src gnome org>
- To: svn-commits-list gnome org
- Subject: [dasher] String thaw is over, so enable error message - usually help not found
- Date: Tue, 2 Jun 2009 04:34:23 -0400 (EDT)
commit 4d3e513dcdafcfe6a1cd6bca1a06597c0ec3ee23
Author: Patrick Welche <prlw1 cam ac uk>
Date: Tue Jun 2 09:33:20 2009 +0100
String thaw is over, so enable error message - usually help not found
because no gvfs is installed.
---
ChangeLog | 4 ++++
Src/Gtk2/dasher_main.cpp | 8 --------
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a0cacc0..af9d318 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-02 Patrick Welche <prlw1 cam ac uk>
+
+ * dasher_main.cpp: enable error message if help not found.
+
2009-06-01 Patrick Welche <prlw1 cam ac uk>
* dasher_action_speech.cpp: Hack to activate speech.
diff --git a/Src/Gtk2/dasher_main.cpp b/Src/Gtk2/dasher_main.cpp
index f32825b..9a86270 100644
--- a/Src/Gtk2/dasher_main.cpp
+++ b/Src/Gtk2/dasher_main.cpp
@@ -1158,20 +1158,12 @@ dasher_main_command_help(DasherMain *pSelf) {
scr = gtk_widget_get_screen(pPrivate->pMainWindow);
if (!gtk_show_uri(scr, "ghelp:dasher", gtk_get_current_event_time(), &err)) {
GtkWidget *d;
-// XXX PRLW: after string thaw use the following:
-#if 0
d = gtk_message_dialog_new(GTK_WINDOW(pPrivate->pMainWindow),
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
"%s", _("Unable to open help file"));
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(d),
"%s", err->message);
-#else
- d = gtk_message_dialog_new(GTK_WINDOW(pPrivate->pMainWindow),
- GTK_DIALOG_MODAL,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
- "%s", err->message);
-#endif
g_signal_connect(d, "response", G_CALLBACK(gtk_widget_destroy), NULL);
gtk_window_present(GTK_WINDOW(d));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]