aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-06-20 14:10:41 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-06-20 14:10:41 +0800
commit541d52701f8225e45651b405fd44a7fa4aa417da (patch)
tree4680788a61890bd14c283b94892e1a33e8d96577 /calendar/gui/dialogs
parent5c82a04a9a305e70b2b156b7bf9a4f23b070eb29 (diff)
downloadgsoc2013-evolution-541d52701f8225e45651b405fd44a7fa4aa417da.tar
gsoc2013-evolution-541d52701f8225e45651b405fd44a7fa4aa417da.tar.gz
gsoc2013-evolution-541d52701f8225e45651b405fd44a7fa4aa417da.tar.bz2
gsoc2013-evolution-541d52701f8225e45651b405fd44a7fa4aa417da.tar.lz
gsoc2013-evolution-541d52701f8225e45651b405fd44a7fa4aa417da.tar.xz
gsoc2013-evolution-541d52701f8225e45651b405fd44a7fa4aa417da.tar.zst
gsoc2013-evolution-541d52701f8225e45651b405fd44a7fa4aa417da.zip
added code to show the timezone dialog if the user hasn't set a default
2001-06-20 Damon Chaplin <damon@ximian.com> * gui/calendar-commands.c (calendar_control_activate): * gui/gnome-cal.[hc]: added code to show the timezone dialog if the user hasn't set a default timezone yet. * gui/dialogs/e-timezone-dialog.c (e_timezone_dialog_add_timezones): set the "None" item string before adding it to the combo, to stop the combo putting "None" in the entry initially. svn path=/trunk/; revision=10324
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/e-timezone-dialog.c2
-rw-r--r--calendar/gui/dialogs/e-timezone-dialog.glade2
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/e-timezone-dialog.c b/calendar/gui/dialogs/e-timezone-dialog.c
index 199abbeb3f..ad9acfb528 100644
--- a/calendar/gui/dialogs/e-timezone-dialog.c
+++ b/calendar/gui/dialogs/e-timezone-dialog.c
@@ -186,9 +186,9 @@ e_timezone_dialog_add_timezones (ETimezoneDialog *etd)
/* Put the "None" and "UTC" entries at the top of the combo's list.
When "None" is selected we want the field to be cleared. */
listitem = gtk_list_item_new_with_label (_("None"));
+ gtk_combo_set_item_string (combo, GTK_ITEM (listitem), "");
gtk_widget_show (listitem);
gtk_container_add (GTK_CONTAINER (combo->list), listitem);
- gtk_combo_set_item_string (combo, GTK_ITEM (listitem), "");
/* Note: We don't translate timezone names at the moment. */
listitem = gtk_list_item_new_with_label ("UTC");
diff --git a/calendar/gui/dialogs/e-timezone-dialog.glade b/calendar/gui/dialogs/e-timezone-dialog.glade
index 2b2019dfc2..15254056c7 100644
--- a/calendar/gui/dialogs/e-timezone-dialog.glade
+++ b/calendar/gui/dialogs/e-timezone-dialog.glade
@@ -25,7 +25,7 @@
<allow_shrink>False</allow_shrink>
<allow_grow>True</allow_grow>
<auto_shrink>False</auto_shrink>
- <auto_close>False</auto_close>
+ <auto_close>True</auto_close>
<hide_on_close>True</hide_on_close>
<widget>