[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pidgin-commits
Subject:    im.pidgin.cpw.resiak.disconnectreason: f0cb80a1bc08f9b3e2e63971abe9a4f95a711f6b
From:       resiak () soc ! pidgin ! im
Date:       2007-10-31 0:36:08
Message-ID: 20071031003608.2BCD248F2A () homing ! pidgin ! im
[Download RAW message or body]

-----------------------------------------------------------------
Revision: f0cb80a1bc08f9b3e2e63971abe9a4f95a711f6b
Ancestor: 604238d4570d7f8a93230f1e2c99da1f67bcde94
Author: resiak@soc.pidgin.im
Date: 2007-10-30T23:46:59
Branch: im.pidgin.cpw.resiak.disconnectreason

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

I have no idea why checking for an OFFLINE status type on an account would be
necessary before getting the prpl icon.



============================================================
--- pidgin/gtkblist.c	e671947867f87780de488ef891a19f5695803d8e
+++ pidgin/gtkblist.c	b1189f2d05c7947e1111c23973a85082dbe8f2c8
@@ -4376,15 +4376,12 @@ create_connection_error_button(PurpleAcc
 	hbox = gtk_hbox_new(FALSE, 6);
 
 	/* Create the icon */
-	if (purple_account_get_status_type_with_primitive(account,
-							PURPLE_STATUS_OFFLINE) != NULL) {
-		pixbuf = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_SMALL);
-		if (pixbuf != NULL) {
-			image = gtk_image_new_from_pixbuf(pixbuf);
-			g_object_unref(pixbuf);
+	pixbuf = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_SMALL);
+	if (pixbuf != NULL) {
+		image = gtk_image_new_from_pixbuf(pixbuf);
+		g_object_unref(pixbuf);
 
-			gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0);
-		}
+		gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0);
 	}
 
 	/* Create the text */


_______________________________________________
Commits mailing list
Commits@pidgin.im
http://pidgin.im/cgi-bin/mailman/listinfo/commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic