| 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")) |