Mercurial > pidgin
comparison src/buddy.c @ 5145:fc09679bffbe
[gaim-migrate @ 5509]
(21:17:26) KingAnt: The thing Luke committed a few hours ago. I think it makes it so
Buddies->Get User Info gets the info of whoever is highlighted in the buddy list instead of
always opening the "enter screenname" box
(21:18:25) LSchiere: KingAnt: correct, as the commit message states, that's exactly what it
does
(21:18:29) Robot101: KingAnt: the menus don't act on buddies in the list
(21:18:34) Robot101: the buttons do, but the menus don't
(21:18:40) Robot101: so now it's inconsistent.
(21:18:47) KingAnt: That's what I was thinking
(21:18:51) Robot101: revert.
(21:18:53) LSchiere: kay
(21:19:09) KingAnt: Well, I was thinking more... if I want to get info of someone who's not
on my buddy list, I shouldn't have to unclick on people in the buddy list
(21:19:25) Robot101: that too!
(21:19:37) LSchiere: i always forget the menu, so that didn't occur to me: i'm used to
unclicking
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 17 Apr 2003 01:20:22 +0000 |
parents | eb0de4f49d15 |
children | 6d68d9edf5ae |
comparison
equal
deleted
inserted
replaced
5144:eb0de4f49d15 | 5145:fc09679bffbe |
---|---|
200 serv_get_info(((struct buddy*)node)->account->gc, ((struct buddy*)node)->name); | 200 serv_get_info(((struct buddy*)node)->account->gc, ((struct buddy*)node)->name); |
201 return; | 201 return; |
202 } | 202 } |
203 } | 203 } |
204 show_info_dialog(); | 204 show_info_dialog(); |
205 } | |
206 | |
207 /*------------------------------------------------------------------------*/ | |
208 /* The dialog for getting buddy info from main menu */ | |
209 /*------------------------------------------------------------------------*/ | |
210 | |
211 void show_info_dialog_from_menu() | |
212 { | |
213 GtkTreeView *tv = GTK_TREE_VIEW(gtkblist->treeview); | |
214 | |
215 gtk_blist_button_info_cb(NULL, tv); | |
216 } | 205 } |
217 | 206 |
218 static void gtk_blist_button_chat_cb(GtkWidget *w, gpointer data) | 207 static void gtk_blist_button_chat_cb(GtkWidget *w, gpointer data) |
219 { | 208 { |
220 /* FIXME: someday, we can check to see if we've selected a chat node */ | 209 /* FIXME: someday, we can check to see if we've selected a chat node */ |
685 { | 674 { |
686 /* Buddies menu */ | 675 /* Buddies menu */ |
687 { N_("/_Buddies"), NULL, NULL, 0, "<Branch>" }, | 676 { N_("/_Buddies"), NULL, NULL, 0, "<Branch>" }, |
688 { N_("/Buddies/New _Instant Message..."), "<CTL>I", show_im_dialog, 0, "<StockItem>", GAIM_STOCK_IM }, | 677 { N_("/Buddies/New _Instant Message..."), "<CTL>I", show_im_dialog, 0, "<StockItem>", GAIM_STOCK_IM }, |
689 { N_("/Buddies/Join a _Chat..."), "<CTL>C", join_chat, 0, "<StockItem>", GAIM_STOCK_CHAT }, | 678 { N_("/Buddies/Join a _Chat..."), "<CTL>C", join_chat, 0, "<StockItem>", GAIM_STOCK_CHAT }, |
690 { N_("/Buddies/Get _User Info..."), "<CTL>J", show_info_dialog_from_menu, 0, "<StockItem>", GAIM_STOCK_INFO }, | 679 { N_("/Buddies/Get _User Info..."), "<CTL>J", show_info_dialog, 0, "<StockItem>", GAIM_STOCK_INFO }, |
691 { "/Buddies/sep1", NULL, NULL, 0, "<Separator>" }, | 680 { "/Buddies/sep1", NULL, NULL, 0, "<Separator>" }, |
692 { N_("/Buddies/_Show Offline Buddies"), NULL, gaim_gtk_blist_edit_mode_cb, 1, "<CheckItem>"}, | 681 { N_("/Buddies/_Show Offline Buddies"), NULL, gaim_gtk_blist_edit_mode_cb, 1, "<CheckItem>"}, |
693 { N_("/Buddies/Show _Empty Groups"), NULL, gaim_gtk_blist_show_empty_groups_cb, 1, "<CheckItem>"}, | 682 { N_("/Buddies/Show _Empty Groups"), NULL, gaim_gtk_blist_show_empty_groups_cb, 1, "<CheckItem>"}, |
694 { N_("/Buddies/_Add a Buddy..."), NULL, gaim_gtk_blist_add_buddy_cb, 0, "<StockItem>", GTK_STOCK_ADD }, | 683 { N_("/Buddies/_Add a Buddy..."), NULL, gaim_gtk_blist_add_buddy_cb, 0, "<StockItem>", GTK_STOCK_ADD }, |
695 { N_("/Buddies/Add a _Group..."), NULL, show_add_group, 0, NULL}, | 684 { N_("/Buddies/Add a _Group..."), NULL, show_add_group, 0, NULL}, |