Mercurial > pidgin.yaz
comparison src/gtkblist.c @ 7843:9408c12b4a61
[gaim-migrate @ 8497]
Change the alias buddy, alias chat, and alias contact dialogs. They're
supposed to be more HIG-friendly. They're definitely a bit smaller...
I guess that's good? I dunno. I think I'm just not used to them being
so small. This was from a patch from Nathan Fredrickson.
I changed all the request dialogs so they do not require primary text.
I'm not really sure if this is good or not. I dunno. Like, add buddy
and add chat both have only small text, and they look ok.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 13 Dec 2003 02:29:23 +0000 |
parents | d20f729d3f18 |
children | 340df1652af1 |
comparison
equal
deleted
inserted
replaced
7842:9227553c97dd | 7843:9408c12b4a61 |
---|---|
835 | 835 |
836 gaim_signal_emit(GAIM_GTK_BLIST(gaim_get_blist()), | 836 gaim_signal_emit(GAIM_GTK_BLIST(gaim_get_blist()), |
837 "drawing-menu", menu, b); | 837 "drawing-menu", menu, b); |
838 | 838 |
839 gaim_separator(menu); | 839 gaim_separator(menu); |
840 gaim_new_item_from_stock(menu, _("_Alias"), GAIM_STOCK_EDIT, | 840 gaim_new_item_from_stock(menu, _("_Alias..."), GAIM_STOCK_EDIT, |
841 G_CALLBACK(gtk_blist_menu_alias_cb), b, 0, 0, NULL); | 841 G_CALLBACK(gtk_blist_menu_alias_cb), b, 0, 0, NULL); |
842 gaim_new_item_from_stock(menu, _("_Remove"), GTK_STOCK_REMOVE, | 842 gaim_new_item_from_stock(menu, _("_Remove"), GTK_STOCK_REMOVE, |
843 G_CALLBACK(gaim_gtk_blist_remove_cb), b, | 843 G_CALLBACK(gaim_gtk_blist_remove_cb), b, |
844 0, 0, NULL); | 844 0, 0, NULL); |
845 } | 845 } |
924 gaim_new_item_from_stock(menu, _("_Join"), GAIM_STOCK_CHAT, | 924 gaim_new_item_from_stock(menu, _("_Join"), GAIM_STOCK_CHAT, |
925 G_CALLBACK(gtk_blist_menu_join_cb), node, 0, 0, NULL); | 925 G_CALLBACK(gtk_blist_menu_join_cb), node, 0, 0, NULL); |
926 gaim_new_check_item(menu, _("Auto-Join"), | 926 gaim_new_check_item(menu, _("Auto-Join"), |
927 G_CALLBACK(gtk_blist_menu_autojoin_cb), node, | 927 G_CALLBACK(gtk_blist_menu_autojoin_cb), node, |
928 autojoin); | 928 autojoin); |
929 gaim_new_item_from_stock(menu, _("_Alias"), GAIM_STOCK_EDIT, | 929 gaim_new_item_from_stock(menu, _("_Alias..."), GAIM_STOCK_EDIT, |
930 G_CALLBACK(gtk_blist_menu_alias_cb), node, 0, 0, NULL); | 930 G_CALLBACK(gtk_blist_menu_alias_cb), node, 0, 0, NULL); |
931 gaim_new_item_from_stock(menu, _("_Remove"), GTK_STOCK_REMOVE, | 931 gaim_new_item_from_stock(menu, _("_Remove"), GTK_STOCK_REMOVE, |
932 G_CALLBACK(gaim_gtk_blist_remove_cb), node, 0, 0, NULL); | 932 G_CALLBACK(gaim_gtk_blist_remove_cb), node, 0, 0, NULL); |
933 gtk_widget_show_all(menu); | 933 gtk_widget_show_all(menu); |
934 gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 3, event->time); | 934 gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, 3, event->time); |
943 gaim_gtk_blist_expand_contact_cb(NULL, node); | 943 gaim_gtk_blist_expand_contact_cb(NULL, node); |
944 handled = TRUE; | 944 handled = TRUE; |
945 } else if (GAIM_BLIST_NODE_IS_CONTACT(node) && gtknode->contact_expanded | 945 } else if (GAIM_BLIST_NODE_IS_CONTACT(node) && gtknode->contact_expanded |
946 && event->button == 3 && event->type == GDK_BUTTON_PRESS) { | 946 && event->button == 3 && event->type == GDK_BUTTON_PRESS) { |
947 menu = gtk_menu_new(); | 947 menu = gtk_menu_new(); |
948 gaim_new_item_from_stock(menu, _("_Alias"), GAIM_STOCK_EDIT, | 948 gaim_new_item_from_stock(menu, _("_Alias..."), GAIM_STOCK_EDIT, |
949 G_CALLBACK(gtk_blist_menu_alias_cb), node, 0, 0, NULL); | 949 G_CALLBACK(gtk_blist_menu_alias_cb), node, 0, 0, NULL); |
950 gaim_new_item_from_stock(menu, _("_Collapse"), GTK_STOCK_ZOOM_OUT, | 950 gaim_new_item_from_stock(menu, _("_Collapse"), GTK_STOCK_ZOOM_OUT, |
951 G_CALLBACK(gaim_gtk_blist_collapse_contact_cb), | 951 G_CALLBACK(gaim_gtk_blist_collapse_contact_cb), |
952 node, 0, 0, NULL); | 952 node, 0, 0, NULL); |
953 gaim_new_item_from_stock(menu, _("_Remove"), GTK_STOCK_REMOVE, | 953 gaim_new_item_from_stock(menu, _("_Remove"), GTK_STOCK_REMOVE, |