pidgin/gtkconv.c

branch
next.minor
changeset 22007
386062b58867
parent 21784
f3baacdf1de8
child 22008
f9c24e25b08f
equal deleted inserted replaced
22006:723c56414c2f 22007:386062b58867
8161 G_CALLBACK(notebook_leave_cb), gtkconv->win); 8161 G_CALLBACK(notebook_leave_cb), gtkconv->win);
8162 return FALSE; 8162 return FALSE;
8163 } 8163 }
8164 8164
8165 if (e->button == 3) { 8165 if (e->button == 3) {
8166 /* Right click was pressed. Popup the Send To menu. */ 8166 /* Right click was pressed. Popup the context menu. */
8167 GtkWidget *menu = gtk_menu_new(), *sub; 8167 GtkWidget *menu = gtk_menu_new(), *sub;
8168 gboolean populated = populate_menu_with_options(menu, gtkconv, TRUE); 8168 gboolean populated = populate_menu_with_options(menu, gtkconv, TRUE);
8169 sub = gtk_menu_item_get_submenu(GTK_MENU_ITEM(gtkconv->win->menu.send_to)); 8169 sub = gtk_menu_item_get_submenu(GTK_MENU_ITEM(gtkconv->win->menu.send_to));
8170 8170
8171 if (sub && GTK_WIDGET_IS_SENSITIVE(gtkconv->win->menu.send_to)) { 8171 if (sub && GTK_WIDGET_IS_SENSITIVE(gtkconv->win->menu.send_to)) {

mercurial