diff plugins/notify.c @ 12286:255e6912607b

[gaim-migrate @ 14590] Mostly whitespace, but a couple small typo fixes, and an A;B -> B;A; swap to be consistent in plugins/notify.c committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 01 Dec 2005 21:13:48 +0000
parents 5cd2294127e8
children 8d1cf3f847b1
line wrap: on
line diff
--- a/plugins/notify.c	Thu Dec 01 20:09:27 2005 +0000
+++ b/plugins/notify.c	Thu Dec 01 21:13:48 2005 +0000
@@ -313,13 +313,13 @@
 	if (gaim_prefs_get_bool("/plugins/gtk/X11/notify/notify_click")) {
 		/* TODO similarly should really find a way to allow for clicking in other
 		 * places of the window */
-		id = g_signal_connect(G_OBJECT(gtkconv->imhtml), "button-press-event",
-		                               G_CALLBACK(unnotify_cb), conv);
-		imhtml_ids = g_slist_append(imhtml_ids, GUINT_TO_POINTER(id));
-
 		id = g_signal_connect(G_OBJECT(gtkconv->entry), "button-press-event",
 		                      G_CALLBACK(unnotify_cb), conv);
 		entry_ids = g_slist_append(entry_ids, GUINT_TO_POINTER(id));
+
+		id = g_signal_connect(G_OBJECT(gtkconv->imhtml), "button-press-event",
+		                      G_CALLBACK(unnotify_cb), conv);
+		imhtml_ids = g_slist_append(imhtml_ids, GUINT_TO_POINTER(id));
 	}
 
 	if (gaim_prefs_get_bool("/plugins/gtk/X11/notify/notify_type")) {
@@ -408,11 +408,9 @@
 
 	gaimwin = GAIM_GTK_CONVERSATION(conv)->win;
 
-
 	handle_urgent(gaimwin, FALSE);
 	gaim_conversation_set_data(conv, "notify-message-count", GINT_TO_POINTER(0));
 
-
 	return;
 
 #if 0
@@ -517,6 +515,7 @@
 	                    GDK_WINDOW_XWINDOW(win->window->window));
 	if(!hints)
 		hints = XAllocWMHints();
+
 	if (add)
 		hints->flags |= XUrgencyHint;
 	else