diff options
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/ChangeLog | 9 | ||||
-rw-r--r-- | widgets/misc/e-error.c | 6 |
2 files changed, 14 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index fcf49b7ebf..c1b9e37905 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,12 @@ +2005-01-20 Not Zed <NotZed@Ximian.com> + + ** See bug #64964. + + * e-error.c (e_error_newv): just use add_button, not + add_action_widget, for stock+label widgets, since they both show + the same, and for some reason set_default_response doesn't work + otherwise. + 2005-01-20 Harry Lu <harry.lu@sun.com> * e-search-bar.c: (activate_by_subitems): add a translater note. diff --git a/widgets/misc/e-error.c b/widgets/misc/e-error.c index 9c4fb4aafb..2cae9e0f96 100644 --- a/widgets/misc/e-error.c +++ b/widgets/misc/e-error.c @@ -460,12 +460,16 @@ e_error_newv(GtkWindow *parent, const char *tag, const char *arg0, va_list ap) for (b = e->buttons;b;b=b->next) { if (b->stock) { if (b->label) { +#if 0 /* FIXME: So although this looks like it will work, it wont. - Need to do it the hard way ... */ + Need to do it the hard way ... it also breaks the + default_response stuff */ w = gtk_button_new_from_stock(b->stock); gtk_button_set_label((GtkButton *)w, b->label); gtk_widget_show(w); gtk_dialog_add_action_widget(dialog, w, b->response); +#endif + gtk_dialog_add_button(dialog, b->label, b->response); } else gtk_dialog_add_button(dialog, b->stock, b->response); } else |