[Xfce4-commits] <xfce4-panel:devel> Print cleanup failure in a console message.
Nick Schermer
noreply at xfce.org
Tue Jan 26 18:46:01 CET 2010
Updating branch refs/heads/devel
to 9e6747e0d562d3b699acd6ebbf251da6832e76f3 (commit)
from c7ec60606f684fb49cb7defcaef35355bf9b8480 (commit)
commit 9e6747e0d562d3b699acd6ebbf251da6832e76f3
Author: Nick Schermer <nick at xfce.org>
Date: Mon Jan 25 16:32:34 2010 +0100
Print cleanup failure in a console message.
When a launcher plugin is removed, it tries to cleanup
the desktop dir. Hower this might fail because of leftover
files in the (re-used) directory from a previously
craches launcher.
Only print this in the terminal, because nothing is going
'wrong', just not so nice.
plugins/launcher/launcher.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 56b386d..08a7a4d 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -1080,9 +1080,9 @@ launcher_plugin_removed (XfcePanelPlugin *panel_plugin)
if (!result)
{
- xfce_dialog_show_error (NULL, error,
- _("Failed to cleanup the configuration of launcher %d"),
- xfce_panel_plugin_get_unique_id (panel_plugin));
+ g_message ("launcher-%d: Failed to cleanup the configuration: %s",
+ xfce_panel_plugin_get_unique_id (panel_plugin),
+ error->message);
g_error_free (error);
}
}
More information about the Xfce4-commits
mailing list