Mercurial > pidgin.yaz
diff src/dialogs.c @ 854:9e2dcad06d3c
[gaim-migrate @ 864]
I am the original pimp. :-p
This isn't finished yet I just wanted to get it commited. We will see
some gaim hacking today :)
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Thu, 07 Sep 2000 17:26:09 +0000 |
| parents | 868e7a30b48a |
| children | 3de6e98e8898 |
line wrap: on
line diff
--- a/src/dialogs.c Thu Sep 07 06:55:33 2000 +0000 +++ b/src/dialogs.c Thu Sep 07 17:26:09 2000 +0000 @@ -286,7 +286,7 @@ if (GTK_IS_COLOR_SELECTION_DIALOG(w)) { set_state_lock(1); - gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(c->palette), FALSE); + gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(c->fgcolorbtn), FALSE); set_state_lock(0); c->color_dialog = NULL; } @@ -2319,10 +2319,10 @@ void cancel_color(GtkWidget *widget, struct conversation *c) { - if (c->palette && widget) + if (c->fgcolorbtn && widget) { set_state_lock(1); - gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(c->palette), FALSE); + gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(c->fgcolorbtn), FALSE); set_state_lock(0); } dialogwindows = g_list_remove(dialogwindows, c->color_dialog);
