cpw.qulogic.gtk3-required: 0a3e6f43: It seems that the Send-To menu generatio...

qulogic at pidgin.im qulogic at pidgin.im
Sun May 27 00:33:59 EDT 2012


----------------------------------------------------------------------
Revision: 0a3e6f431f2983e94968081c39d84cbb7dc4838e
Parent:   8c00e3b4dabaf3489af1191ad8f7b27bbfd07dd1
Author:   qulogic at pidgin.im
Date:     05/26/12 15:43:36
Branch:   im.pidgin.cpw.qulogic.gtk3-required
URL: http://d.pidgin.im/viewmtn/revision/info/0a3e6f431f2983e94968081c39d84cbb7dc4838e

Changelog: 

It seems that the Send-To menu generation can just be enabled as-is.

Changes against parent 8c00e3b4dabaf3489af1191ad8f7b27bbfd07dd1

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	5171665de4546dd6434363dedac936eef3b7027d
+++ pidgin/gtkconv.c	e87b19e334c9dc285c042264c0738f932037abbf
@@ -3879,7 +3879,6 @@ update_send_to_selection(PidginWindow *w
 	if (!(b = purple_find_buddy(account, purple_conversation_get_name(conv))))
 		return FALSE;
 
-#if 0 /* TODO */
 	gtk_widget_show(win->menu.send_to);
 
 	menu = gtk_menu_item_get_submenu(GTK_MENU_ITEM(win->menu.send_to));
@@ -3901,7 +3900,6 @@ update_send_to_selection(PidginWindow *w
 			break;
 		}
 	}
-#endif
 
 	return FALSE;
 }
@@ -3994,7 +3992,6 @@ create_sendto_item(GtkWidget *menu, GtkS
 	gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
 }
 
-#if 0
 static gboolean
 compare_buddy_presence(PurplePresence *p1, PurplePresence *p2)
 {
@@ -4008,12 +4005,10 @@ compare_buddy_presence(PurplePresence *p
 		return FALSE;
 	return TRUE;
 }
-#endif
 
 static void
 generate_send_to_items(PidginWindow *win)
 {
-#if 0 /* TODO */
 	GtkWidget *menu;
 	GSList *group = NULL;
 	GtkSizeGroup *sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
@@ -4099,7 +4094,6 @@ generate_send_to_items(PidginWindow *win
 	if (!group)
 		gtk_widget_set_sensitive(win->menu.send_to, FALSE);
 	update_send_to_selection(win);
-#endif
 }
 
 static const char *


More information about the Commits mailing list