diff options
author | Damon Chaplin <damon@helixcode.com> | 2001-01-08 08:47:35 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-01-08 08:47:35 +0800 |
commit | a223b88a9034f0c33f2e979403e1352ff822f8a2 (patch) | |
tree | 180ec792800fb8d2468fb2ae6829b5c87cc7f5f8 /calendar/gui/gnome-cal.c | |
parent | 45b8f9d767b5a178e0fdcb48901e664334fd8183 (diff) | |
download | gsoc2013-evolution-a223b88a9034f0c33f2e979403e1352ff822f8a2.tar gsoc2013-evolution-a223b88a9034f0c33f2e979403e1352ff822f8a2.tar.gz gsoc2013-evolution-a223b88a9034f0c33f2e979403e1352ff822f8a2.tar.bz2 gsoc2013-evolution-a223b88a9034f0c33f2e979403e1352ff822f8a2.tar.lz gsoc2013-evolution-a223b88a9034f0c33f2e979403e1352ff822f8a2.tar.xz gsoc2013-evolution-a223b88a9034f0c33f2e979403e1352ff822f8a2.tar.zst gsoc2013-evolution-a223b88a9034f0c33f2e979403e1352ff822f8a2.zip |
added new source files for the Tasks folders.
2001-01-08 Damon Chaplin <damon@helixcode.com>
* gui/Makefile.am: added new source files for the Tasks folders.
* gui/e-tasks.[hc]: new widget to encapsulate the Tasks view.
* gui/tasks-control.[hc]: new files to implement the Tasks control.
* gui/tasks-control-factory.[hc]: new files to implement the factory
for the Tasks controls. (I think the way I've split the code up is a
lot cleaner than the GnomeCal implementation - the factory file just
contains the factory functions and the control file contains all the
control functions. Maybe we should make GnomeCal like this.)
* gui/main.c: initialize the Tasks control factory.
* gui/component-factory.c: added support for the Tasks control.
Also added a "create_folder" function so we can now create new Tasks
and Calendar folders within Evolution.
I'm not a Bonobo expert so someone might want to check these over.
* gui/calendar-config.[hc]: added convenience functions to configure
the common settings of ECalendar and EDateEdit widgets.
* gui/dialogs/task-editor.c (task_editor_create_date_edit):
* gui/gnome-cal.c (gnome_calendar_update_config_settings):
* gui/event-editor.c: used function to configure the ECalendars
and EDateEdits.
* gui/e-day-view-top-item.c (e_day_view_top_item_draw_long_event):
fixed minor bug in format strings.
svn path=/trunk/; revision=7297
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 808f5d9ee8..5daf6c9b55 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -957,7 +957,6 @@ gnome_calendar_update_config_settings (GnomeCalendar *gcal, gint week_start_day, time_divisions; gint start_hour, start_minute, end_hour, end_minute; gboolean use_24_hour, show_event_end, compress_weekend; - gboolean dnav_show_week_no; g_return_if_fail (GNOME_IS_CALENDAR (gcal)); @@ -985,9 +984,6 @@ gnome_calendar_update_config_settings (GnomeCalendar *gcal, week_start_day); e_week_view_set_week_start_day (E_WEEK_VIEW (priv->month_view), week_start_day); - gnome_canvas_item_set (GNOME_CANVAS_ITEM (E_CALENDAR (priv->date_navigator)->calitem), - "week_start_day", week_start_day, - NULL); start_hour = calendar_config_get_day_start_hour (); start_minute = calendar_config_get_day_start_minute (); @@ -1030,10 +1026,7 @@ gnome_calendar_update_config_settings (GnomeCalendar *gcal, e_week_view_set_compress_weekend (E_WEEK_VIEW (priv->month_view), compress_weekend); - dnav_show_week_no = calendar_config_get_dnav_show_week_no (); - gnome_canvas_item_set (GNOME_CANVAS_ITEM (E_CALENDAR (priv->date_navigator)->calitem), - "show_week_numbers", dnav_show_week_no, - NULL); + calendar_config_configure_e_calendar (E_CALENDAR (priv->date_navigator)); if (initializing) { priv->hpane_pos = calendar_config_get_hpane_pos (); |