[Xfce4-commits] <xfce4-session:master> Improve some error messages.

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


Updating branch refs/heads/master
         to ece9e4db0f7df4e04be7c9f3d55c3aab17dcaed9 (commit)
       from 0ba455094a0ff6351b4ddaff28f20611a3d368d6 (commit)

commit ece9e4db0f7df4e04be7c9f3d55c3aab17dcaed9
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Wed Jan 27 22:27:15 2010 +0100

    Improve some error messages.

 settings/xfae-window.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/settings/xfae-window.c b/settings/xfae-window.c
index 839e731..fa048a3 100644
--- a/settings/xfae-window.c
+++ b/settings/xfae-window.c
@@ -274,7 +274,7 @@ xfae_window_add (XfaeWindow *window)
       model = gtk_tree_view_get_model (GTK_TREE_VIEW (window->treeview));
       if (!xfae_model_add (XFAE_MODEL (model), name, descr, command, &error))
         {
-          xfce_dialog_show_error (NULL, error, _("Error"));
+          xfce_dialog_show_error (NULL, error, _("Error when adding %s"), name);
           g_error_free (error);
         }
 
@@ -300,7 +300,7 @@ xfae_window_remove (XfaeWindow *window)
     {
       if (!xfae_model_remove (XFAE_MODEL (model), &iter, &error))
         {
-          xfce_dialog_show_error (NULL, error, _("Error"));
+          xfce_dialog_show_error (NULL, error, _("Error when removing the current item"));
           g_error_free (error);
         }
     }
@@ -323,7 +323,7 @@ xfae_window_item_toggled (XfaeWindow *window,
     {
       if (!xfae_model_toggle (XFAE_MODEL (model), &iter, &error))
         {
-          xfce_dialog_show_error (NULL, error, _("Error"));
+          xfce_dialog_show_error (NULL, error, _("Error when toggling the current item"));
           g_error_free (error);
         }
     }



More information about the Xfce4-commits mailing list