From 926d315a666069b3c52091d825252400824fb973 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Thu, 10 Dec 2009 15:40:01 +0100 Subject: [PATCH] Show close button in edit accounts dialog. --- src/widgets/modest-account-view-window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/widgets/modest-account-view-window.c b/src/widgets/modest-account-view-window.c index 324f636..d70be7b 100644 --- a/src/widgets/modest-account-view-window.c +++ b/src/widgets/modest-account-view-window.c @@ -186,8 +186,13 @@ modest_account_view_window_init (ModestAccountViewWindow *self) /* Specify a default size */ gtk_window_set_default_size (GTK_WINDOW (self), -1, MODEST_DIALOG_WINDOW_MAX_HEIGHT); + +#ifdef MODEST_TOOLKIT_HILDON2 gtk_dialog_set_has_separator (GTK_DIALOG (self), FALSE); gtk_widget_hide (GTK_DIALOG (self)->action_area); +#else + gtk_dialog_add_button (GTK_DIALOG (self), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE); +#endif /* This seems to be necessary to make the window show at the front with decoration. -- 1.7.9.5