pidgin/gtkstatusbox.c

branch
soc.2013.gobjectification.plugins
changeset 37133
832cd077145e
parent 37110
4309235d2a46
parent 35689
1e257009ac10
child 37134
07746c9a04bf
equal deleted inserted replaced
37132:f4740b6e7525 37133:832cd077145e
314 if (box->icon_box_menu) 314 if (box->icon_box_menu)
315 gtk_widget_destroy(box->icon_box_menu); 315 gtk_widget_destroy(box->icon_box_menu);
316 316
317 box->icon_box_menu = gtk_menu_new(); 317 box->icon_box_menu = gtk_menu_new();
318 318
319 menu_item = pidgin_new_item_from_stock(box->icon_box_menu, _("Select Buddy Icon"), GTK_STOCK_ADD, 319 pidgin_new_item_from_stock(box->icon_box_menu,
320 G_CALLBACK(choose_buddy_icon_cb), 320 _("Select Buddy Icon"), GTK_STOCK_ADD,
321 box, 0, 0, NULL); 321 G_CALLBACK(choose_buddy_icon_cb), box, 0, 0, NULL);
322 322
323 menu_item = pidgin_new_item_from_stock(box->icon_box_menu, _("Remove"), GTK_STOCK_REMOVE, 323 menu_item = pidgin_new_item_from_stock(box->icon_box_menu, _("Remove"), GTK_STOCK_REMOVE,
324 G_CALLBACK(remove_buddy_icon_cb), 324 G_CALLBACK(remove_buddy_icon_cb),
325 box, 0, 0, NULL); 325 box, 0, 0, NULL);
326 if (!(path = purple_prefs_get_path(PIDGIN_PREFS_ROOT "/accounts/buddyicon")) 326 if (!(path = purple_prefs_get_path(PIDGIN_PREFS_ROOT "/accounts/buddyicon"))

mercurial