[Xfce4-commits] <xfce4-session:master> Use error dialog like in the origional code.

Nick Schermer noreply at xfce.org
Thu Jan 28 19:52:27 CET 2010


Updating branch refs/heads/master
         to 2845efd09f75b1d96b765d84b0657f0221f2b6db (commit)
       from 03defe7279d31c6ea6fa14232a30fe4434e5645d (commit)

commit 2845efd09f75b1d96b765d84b0657f0221f2b6db
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Jan 28 19:14:20 2010 +0100

    Use error dialog like in the origional code.

 panel-plugin/xfsm-logout-plugin.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/panel-plugin/xfsm-logout-plugin.c b/panel-plugin/xfsm-logout-plugin.c
index 99bb015..893ad88 100644
--- a/panel-plugin/xfsm-logout-plugin.c
+++ b/panel-plugin/xfsm-logout-plugin.c
@@ -307,10 +307,10 @@ xfsm_logout_plugin_show_confirmation_dialog(XfsmLogoutPlugin *logout_plugin,
         GError *error = NULL;
 
         if(!xfsm_logout_plugin_do_dbus_call(logout_plugin, type, &error)) {
-            xfce_dialog_show_warning (NULL,
-                                      error->message,
-                                      "%s",
-                                      dialog_strings[type].error_text);
+            xfce_dialog_show_error (NULL,
+                                    error,
+                                    "%s",
+                                    dialog_strings[type].error_text);
             g_error_free(error);
         }
     }



More information about the Xfce4-commits mailing list