Mercurial > pidgin
comparison src/dialogs.c @ 2561:f9bdfca15404
[gaim-migrate @ 2574]
Fixed a bug that causes the group list to not be updated when you change accounts
(on the add buddy dialog) [reported by espectro]
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Sat, 20 Oct 2001 18:30:20 +0000 |
| parents | d3e463a5cafc |
| children | 552a56d334ec |
comparison
equal
deleted
inserted
replaced
| 2560:0417ecaff0e5 | 2561:f9bdfca15404 |
|---|---|
| 814 | 814 |
| 815 static void addbuddy_select_account(GtkObject *w, struct gaim_connection *gc) | 815 static void addbuddy_select_account(GtkObject *w, struct gaim_connection *gc) |
| 816 { | 816 { |
| 817 struct addbuddy *b = gtk_object_get_user_data(w); | 817 struct addbuddy *b = gtk_object_get_user_data(w); |
| 818 | 818 |
| 819 /* Save our account */ | |
| 819 b->gc = gc; | 820 b->gc = gc; |
| 821 | |
| 822 /* We also want to update our group list */ | |
| 823 gtk_combo_set_popdown_strings(GTK_COMBO(b->combo), groups_tree(gc ? gc : connections->data)); | |
| 820 } | 824 } |
| 821 | 825 |
| 822 static void create_online_user_names(struct addbuddy *b) | 826 static void create_online_user_names(struct addbuddy *b) |
| 823 { | 827 { |
| 824 char buf[2048]; /* Never hurts to be safe ;-) */ | 828 char buf[2048]; /* Never hurts to be safe ;-) */ |
