changeset 29762:5a6c66d4de94

Make it slightly clearer which docklet is in use.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 16 Feb 2010 00:03:52 +0000
parents f52f167fb846
children 6fa17cb31d28
files pidgin/gtkdocklet-gtk.c pidgin/gtkdocklet-x11.c
diffstat 2 files changed, 7 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkdocklet-gtk.c	Mon Feb 15 23:43:58 2010 +0000
+++ b/pidgin/gtkdocklet-gtk.c	Tue Feb 16 00:03:52 2010 +0000
@@ -34,16 +34,12 @@
 static void
 docklet_gtk_status_activated_cb(GtkStatusIcon *status_icon, gpointer user_data)
 {
-	purple_debug_info("docklet", "button clicked %d\n", 1);
-
 	pidgin_docklet_clicked(1); 
 }
 
 static void
 docklet_gtk_status_clicked_cb(GtkStatusIcon *status_icon, guint button, guint activate_time, gpointer user_data)
 {
-	purple_debug_info("docklet", "button clicked %d\n", button);
-
 	pidgin_docklet_clicked(button); 
 }
 
@@ -111,7 +107,7 @@
 	g_object_unref(G_OBJECT(docklet));
 	docklet = NULL;
 
-	purple_debug_info("docklet", "destroyed\n");
+	purple_debug_info("docklet", "GTK+ destroyed\n");
 }
 
 static void
@@ -133,7 +129,7 @@
 
 	pidgin_docklet_embedded();
 	gtk_status_icon_set_visible(docklet, TRUE);
-	purple_debug_info("docklet", "created\n");
+	purple_debug_info("docklet", "GTK+ created\n");
 }
 
 static void
--- a/pidgin/gtkdocklet-x11.c	Mon Feb 15 23:43:58 2010 +0000
+++ b/pidgin/gtkdocklet-x11.c	Tue Feb 16 00:03:52 2010 +0000
@@ -61,7 +61,7 @@
 static void
 docklet_x11_embedded_cb(GtkWidget *widget, void *data)
 {
-	purple_debug(PURPLE_DEBUG_INFO, "docklet", "embedded\n");
+	purple_debug(PURPLE_DEBUG_INFO, "docklet", "X11 embedded\n");
 
 	g_source_remove(embed_timeout);
 	embed_timeout = 0;
@@ -72,7 +72,7 @@
 static void
 docklet_x11_destroyed_cb(GtkWidget *widget, void *data)
 {
-	purple_debug(PURPLE_DEBUG_INFO, "docklet", "destroyed\n");
+	purple_debug(PURPLE_DEBUG_INFO, "docklet", "X11 destroyed\n");
 
 	pidgin_docklet_remove();
 
@@ -254,7 +254,7 @@
 
 	image = NULL;
 
-	purple_debug(PURPLE_DEBUG_INFO, "docklet", "destroyed\n");
+	purple_debug(PURPLE_DEBUG_INFO, "docklet", "X11 destroyed\n");
 }
 
 static gboolean
@@ -265,7 +265,7 @@
 	 * loaded so that it can embed automatically if/when a notification
 	 * area becomes available.
 	 */
-	purple_debug_info("docklet", "failed to embed within timeout\n");
+	purple_debug_info("docklet", "X11 failed to embed within timeout\n");
 	pidgin_docklet_remove();
 
 	return FALSE;
@@ -328,7 +328,7 @@
 		}
 	}
 
-	purple_debug(PURPLE_DEBUG_INFO, "docklet", "created\n");
+	purple_debug(PURPLE_DEBUG_INFO, "docklet", "X11 created\n");
 }
 
 static void