pidgin/gtkblist.c

changeset 20615
fe11a607bdcc
parent 20612
f65d74f35749
child 20655
66f2dfd94949
child 21193
e918a1846d03
equal deleted inserted replaced
20614:0e5b2115c99d 20615:fe11a607bdcc
1332 G_CALLBACK(gtk_blist_menu_im_cb), buddy, 0, 0, NULL); 1332 G_CALLBACK(gtk_blist_menu_im_cb), buddy, 0, 0, NULL);
1333 if (prpl_info && prpl_info->send_file) { 1333 if (prpl_info && prpl_info->send_file) {
1334 if (!prpl_info->can_receive_file || 1334 if (!prpl_info->can_receive_file ||
1335 prpl_info->can_receive_file(buddy->account->gc, buddy->name)) 1335 prpl_info->can_receive_file(buddy->account->gc, buddy->name))
1336 { 1336 {
1337 pidgin_new_item_from_stock(menu, _("_Send File"), 1337 pidgin_new_item_from_stock(menu, _("_Send File..."),
1338 PIDGIN_STOCK_TOOLBAR_SEND_FILE, 1338 PIDGIN_STOCK_TOOLBAR_SEND_FILE,
1339 G_CALLBACK(gtk_blist_menu_send_file_cb), 1339 G_CALLBACK(gtk_blist_menu_send_file_cb),
1340 buddy, 0, 0, NULL); 1340 buddy, 0, 0, NULL);
1341 } 1341 }
1342 } 1342 }
1343 1343
1344 pidgin_new_item_from_stock(menu, _("Add Buddy _Pounce"), NULL, 1344 pidgin_new_item_from_stock(menu, _("Add Buddy _Pounce..."), NULL,
1345 G_CALLBACK(gtk_blist_menu_bp_cb), buddy, 0, 0, NULL); 1345 G_CALLBACK(gtk_blist_menu_bp_cb), buddy, 0, 0, NULL);
1346 1346
1347 if (node->parent && node->parent->child->next && 1347 if (node->parent && node->parent->child->next &&
1348 !sub && !contact_expanded) { 1348 !sub && !contact_expanded) {
1349 pidgin_new_item_from_stock(menu, _("View _Log"), NULL, 1349 pidgin_new_item_from_stock(menu, _("View _Log"), NULL,
1429 { 1429 {
1430 GtkWidget *menu; 1430 GtkWidget *menu;
1431 GtkWidget *item; 1431 GtkWidget *item;
1432 1432
1433 menu = gtk_menu_new(); 1433 menu = gtk_menu_new();
1434 item = pidgin_new_item_from_stock(menu, _("Add a _Buddy"), GTK_STOCK_ADD, 1434 item = pidgin_new_item_from_stock(menu, _("Add _Buddy..."), GTK_STOCK_ADD,
1435 G_CALLBACK(pidgin_blist_add_buddy_cb), node, 0, 0, NULL); 1435 G_CALLBACK(pidgin_blist_add_buddy_cb), node, 0, 0, NULL);
1436 gtk_widget_set_sensitive(item, purple_connections_get_all() != NULL); 1436 gtk_widget_set_sensitive(item, purple_connections_get_all() != NULL);
1437 item = pidgin_new_item_from_stock(menu, _("Add a C_hat"), GTK_STOCK_ADD, 1437 item = pidgin_new_item_from_stock(menu, _("Add C_hat..."), GTK_STOCK_ADD,
1438 G_CALLBACK(pidgin_blist_add_chat_cb), node, 0, 0, NULL); 1438 G_CALLBACK(pidgin_blist_add_chat_cb), node, 0, 0, NULL);
1439 gtk_widget_set_sensitive(item, pidgin_blist_joinchat_is_showable()); 1439 gtk_widget_set_sensitive(item, pidgin_blist_joinchat_is_showable());
1440 pidgin_new_item_from_stock(menu, _("_Delete Group"), GTK_STOCK_REMOVE, 1440 pidgin_new_item_from_stock(menu, _("_Delete Group"), GTK_STOCK_REMOVE,
1441 G_CALLBACK(pidgin_blist_remove_cb), node, 0, 0, NULL); 1441 G_CALLBACK(pidgin_blist_remove_cb), node, 0, 0, NULL);
1442 pidgin_new_item_from_stock(menu, _("_Rename"), NULL, 1442 pidgin_new_item_from_stock(menu, _("_Rename"), NULL,

mercurial