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

Sat, 26 May 2012 19:43:36 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sat, 26 May 2012 19:43:36 +0000
branch
cpw.qulogic.gtk3-required
changeset 33143
8dfd79a78666
parent 33142
6ebeb0beef64
child 33144
0d631387ea70

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

pidgin/gtkconv.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkconv.c	Sat May 26 19:39:31 2012 +0000
+++ b/pidgin/gtkconv.c	Sat May 26 19:43:36 2012 +0000
@@ -3879,7 +3879,6 @@
 	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 @@
 			break;
 		}
 	}
-#endif
 
 	return FALSE;
 }
@@ -3994,7 +3992,6 @@
 	gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
 }
 
-#if 0
 static gboolean
 compare_buddy_presence(PurplePresence *p1, PurplePresence *p2)
 {
@@ -4008,12 +4005,10 @@
 		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 @@
 	if (!group)
 		gtk_widget_set_sensitive(win->menu.send_to, FALSE);
 	update_send_to_selection(win);
-#endif
 }
 
 static const char *

mercurial