[Xfce4-commits] <xfce4-session:master> Improve the error messages.
Nick Schermer
noreply at xfce.org
Thu Jan 28 19:52:31 CET 2010
Updating branch refs/heads/master
to 121cdb77d44500963fdcbf0f9f675980294b42ff (commit)
from 5f742e77d8bc25a42ec41ca6b35f9d8f9e36fc26 (commit)
commit 121cdb77d44500963fdcbf0f9f675980294b42ff
Author: Nick Schermer <nick at xfce.org>
Date: Thu Jan 28 19:46:29 2010 +0100
Improve the 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 fa048a3..48c9edc 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 when adding %s"), name);
+ xfce_dialog_show_error (NULL, error, _("Failed 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 when removing the current item"));
+ xfce_dialog_show_error (NULL, error, _("Failed to remove 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 when toggling the current item"));
+ xfce_dialog_show_error (NULL, error, _("Failed to toggle item"));
g_error_free (error);
}
}
More information about the Xfce4-commits
mailing list