aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-commands.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-06-20 15:09:34 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-06-20 15:09:34 +0800
commit1c6b4a17d875a0ecf76c525930b832fe24929ac5 (patch)
tree9e234c59c58d049ce6f22329c5a94ec88111c075 /calendar/gui/calendar-commands.c
parent541d52701f8225e45651b405fd44a7fa4aa417da (diff)
downloadgsoc2013-evolution-1c6b4a17d875a0ecf76c525930b832fe24929ac5.tar.gz
gsoc2013-evolution-1c6b4a17d875a0ecf76c525930b832fe24929ac5.tar.zst
gsoc2013-evolution-1c6b4a17d875a0ecf76c525930b832fe24929ac5.zip
moved the function to check for a default timezone to calendar-config.c,
2001-06-20 Damon Chaplin <damon@ximian.com> * gui/calendar-config.[hc]: * gui/gnome-cal.[hc]: * gui/tasks-control.c (tasks_control_activate): * gui/calendar-commands.c (calendar_control_activate): moved the function to check for a default timezone to calendar-config.c, and also used it in the tasks control. * gui/dialogs/e-timezone-dialog.h: #include <gtk/gtkwidget.h> fix. svn path=/trunk/; revision=10325
Diffstat (limited to 'calendar/gui/calendar-commands.c')
-rw-r--r--calendar/gui/calendar-commands.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/calendar-commands.c b/calendar/gui/calendar-commands.c
index d2b706a13d..4e89e44693 100644
--- a/calendar/gui/calendar-commands.c
+++ b/calendar/gui/calendar-commands.c
@@ -449,7 +449,9 @@ calendar_control_activate (BonoboControl *control,
bonobo_ui_component_thaw (uic, NULL);
- gnome_calendar_check_timezone_set (gcal);
+ /* Show the dialog for setting the timezone if the user hasn't chosen
+ a default timezone already. */
+ calendar_config_check_timezone_set ();
}
void