[Goodies-commits] r6552 - in xfce4-clipman-plugin/branches/xfce-4-6: . panel-plugin
Mike Massonnet
mmassonnet at xfce.org
Sun Jan 25 22:53:06 CET 2009
Author: mmassonnet
Date: 2009-01-25 21:53:06 +0000 (Sun, 25 Jan 2009)
New Revision: 6552
Modified:
xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog
xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/actions.c
xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/panel-plugin.c
Log:
Fix g_debug().
Modified: xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog 2009-01-25 21:43:31 UTC (rev 6551)
+++ xfce4-clipman-plugin/branches/xfce-4-6/ChangeLog 2009-01-25 21:53:06 UTC (rev 6552)
@@ -1,4 +1,9 @@
2009-01-25 Mike Massonnet
+Fix g_debug().
+
+ - Looks like I left some g_debug() calls in the code.
+
+2009-01-25 Mike Massonnet
Actions are saved/loaded to/from an XML file.
- panel-plugin/actions.c(clipman_actions_load):
Modified: xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/actions.c
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/actions.c 2009-01-25 21:43:31 UTC (rev 6551)
+++ xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/actions.c 2009-01-25 21:53:06 UTC (rev 6552)
@@ -213,11 +213,8 @@
if (parser->action_name == NULL || parser->regex == NULL)
g_warning ("Closing a command but no action name nor regex set");
else
- {
- g_debug ("new action: %s %s %s %s", parser->action_name, parser->regex, parser->command_name, parser->command);
- clipman_actions_add (parser->actions, parser->action_name, parser->regex,
- parser->command_name, parser->command);
- }
+ clipman_actions_add (parser->actions, parser->action_name, parser->regex,
+ parser->command_name, parser->command);
g_free (parser->command_name);
g_free (parser->command);
@@ -252,12 +249,10 @@
case ACTION_NAME:
parser->action_name = g_strdup (text);
- g_debug ("action_name: %s", text);
break;
case REGEX:
parser->regex = g_strdup (text);
- g_debug ("regex: %s", text);
break;
case COMMAND_NAME:
Modified: xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/panel-plugin.c
===================================================================
--- xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/panel-plugin.c 2009-01-25 21:43:31 UTC (rev 6551)
+++ xfce4-clipman-plugin/branches/xfce-4-6/panel-plugin/panel-plugin.c 2009-01-25 21:53:06 UTC (rev 6552)
@@ -322,7 +322,7 @@
case CLIPMAN_HISTORY_TYPE_IMAGE:
filename = g_strdup_printf ("%s/xfce4/clipman/image%d.png", g_get_user_cache_dir (), n_images++);
if (!gdk_pixbuf_save (item->content.image, filename, "png", NULL, NULL))
- g_debug ("Failed to save image to cache file %s", filename);
+ g_warning ("Failed to save image to cache file %s", filename);
else
DBG ("Saved image to cache file %s", filename);
g_free (filename);
More information about the Goodies-commits
mailing list