projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49fcf35
)
Show close button in edit accounts dialog.
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 10 Dec 2009 14:40:01 +0000
(15:40 +0100)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Mon, 14 Dec 2009 14:26:32 +0000
(15:26 +0100)
src/widgets/modest-account-view-window.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-account-view-window.c
b/src/widgets/modest-account-view-window.c
index
324f636
..
d70be7b
100644
(file)
--- 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.