Mercurial > pidgin.yaz
comparison pidgin/gtkblist.c @ 20546:4195e0a93b1e
Ellipsize some menu actions that require further input. Fixes #1770
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 19 Sep 2007 09:43:07 +0000 |
parents | 87ce3da53550 |
children | 5913725cbcd6 04590d9db8b7 |
comparison
equal
deleted
inserted
replaced
20545:4a8407152e9a | 20546:4195e0a93b1e |
---|---|
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, |