pidgin.next.minor: f43104f5: Make it slightly clearer which docklet i...

qulogic at pidgin.im qulogic at pidgin.im
Mon Feb 15 19:50:33 EST 2010


-----------------------------------------------------------------
Revision: f43104f5cea199984b4d4e31fcfc1e1b7ddc1c1d
Ancestor: dca1938dde7d4902d6cb2dc7a59fb0c16ccd6676
Author: qulogic at pidgin.im
Date: 2010-02-16T00:03:52
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/f43104f5cea199984b4d4e31fcfc1e1b7ddc1c1d

Modified files:
        pidgin/gtkdocklet-gtk.c pidgin/gtkdocklet-x11.c

ChangeLog: 

Make it slightly clearer which docklet is in use.

-------------- next part --------------
============================================================
--- pidgin/gtkdocklet-gtk.c	f45da7d598aabdc51f0bd27ff8dea17b56322f66
+++ pidgin/gtkdocklet-gtk.c	9061fa48200a315e7bbe24ac2339e1082832bf27
@@ -34,16 +34,12 @@ docklet_gtk_status_activated_cb(GtkStatu
 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 @@ docklet_gtk_status_destroy(void)
 	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 @@ docklet_gtk_status_create(gboolean recre
 
 	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
============================================================
--- pidgin/gtkdocklet-x11.c	5afb93cfca02d22eb57e93dcf11ad1190157553d
+++ pidgin/gtkdocklet-x11.c	eb64cb8e647ec48871e1c32ee724607dd7a72c01
@@ -61,7 +61,7 @@ docklet_x11_embedded_cb(GtkWidget *widge
 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 @@ docklet_x11_destroyed_cb(GtkWidget *widg
 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 @@ docklet_x11_destroy(void)
 
 	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 @@ docklet_x11_embed_timeout_cb(gpointer da
 	 * 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 @@ docklet_x11_create(gboolean recreate)
 		}
 	}
 
-	purple_debug(PURPLE_DEBUG_INFO, "docklet", "created\n");
+	purple_debug(PURPLE_DEBUG_INFO, "docklet", "X11 created\n");
 }
 
 static void


More information about the Commits mailing list