Mercurial > pidgin.yaz
comparison src/gtkpounce.c @ 9910:0cb20555b3ab
[gaim-migrate @ 10802]
(21:34:46) nosnilmot: LSchiere: Sean made sounds like this was a good idea
earlier but didn't apply it...
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 30 Aug 2004 01:40:07 +0000 |
parents | 4a15962c344a |
children | ced29c7b396c |
comparison
equal
deleted
inserted
replaced
9909:ebca3bbc6719 | 9910:0cb20555b3ab |
---|---|
294 return; | 294 return; |
295 | 295 |
296 dialog = (GaimGtkPounceDialog *)data; | 296 dialog = (GaimGtkPounceDialog *)data; |
297 | 297 |
298 gtk_entry_set_text(GTK_ENTRY(dialog->buddy_entry), buddy->name); | 298 gtk_entry_set_text(GTK_ENTRY(dialog->buddy_entry), buddy->name); |
299 dialog->account = buddy->account; | |
300 gaim_gtk_account_option_menu_set_selected(dialog->account_menu, buddy->account); | |
299 | 301 |
300 gtk_drag_finish(dc, TRUE, (dc->action == GDK_ACTION_MOVE), t); | 302 gtk_drag_finish(dc, TRUE, (dc->action == GDK_ACTION_MOVE), t); |
301 } | 303 } |
302 else if (sd->target == gdk_atom_intern("application/x-im-contact", FALSE)) | 304 else if (sd->target == gdk_atom_intern("application/x-im-contact", FALSE)) |
303 { | 305 { |
317 else | 319 else |
318 { | 320 { |
319 dialog = (GaimGtkPounceDialog *)data; | 321 dialog = (GaimGtkPounceDialog *)data; |
320 | 322 |
321 gtk_entry_set_text(GTK_ENTRY(dialog->buddy_entry), username); | 323 gtk_entry_set_text(GTK_ENTRY(dialog->buddy_entry), username); |
324 dialog->account = account; | |
325 gaim_gtk_account_option_menu_set_selected(dialog->account_menu, account); | |
322 } | 326 } |
323 } | 327 } |
324 | 328 |
325 if (username != NULL) g_free(username); | 329 if (username != NULL) g_free(username); |
326 if (protocol != NULL) g_free(protocol); | 330 if (protocol != NULL) g_free(protocol); |