pidgin/gtkstatusbox.c

changeset 38707
6f4d3ab2f2ed
parent 38705
62a7a975251a
child 38712
ea49cd76cf47
equal deleted inserted replaced
38706:4a3f253ea22c 38707:6f4d3ab2f2ed
318 G_CALLBACK(remove_buddy_icon_cb), box); 318 G_CALLBACK(remove_buddy_icon_cb), box);
319 if (!(path = purple_prefs_get_path(PIDGIN_PREFS_ROOT "/accounts/buddyicon")) 319 if (!(path = purple_prefs_get_path(PIDGIN_PREFS_ROOT "/accounts/buddyicon"))
320 || !*path) 320 || !*path)
321 gtk_widget_set_sensitive(menu_item, FALSE); 321 gtk_widget_set_sensitive(menu_item, FALSE);
322 322
323 gtk_menu_popup(GTK_MENU(box->icon_box_menu), NULL, NULL, NULL, NULL, 323 gtk_menu_popup_at_pointer(GTK_MENU(box->icon_box_menu), (GdkEvent *)event);
324 event->button, event->time);
325 324
326 } else { 325 } else {
327 choose_buddy_icon_cb(widget, box); 326 choose_buddy_icon_cb(widget, box);
328 } 327 }
329 return FALSE; 328 return FALSE;

mercurial