diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-07-04 18:36:25 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-07-04 18:36:25 +0800 |
commit | 64a0712bb14feecb3780c906240ae3b45d34bfbd (patch) | |
tree | 5b9cad0bee20f796bf107a9b064557941e09bccd /calendar/gui/calendar-config.c | |
parent | a6f0914f29a46e353a17e36d0cb4f85424f58f3f (diff) | |
download | gsoc2013-evolution-64a0712bb14feecb3780c906240ae3b45d34bfbd.tar.gz gsoc2013-evolution-64a0712bb14feecb3780c906240ae3b45d34bfbd.tar.zst gsoc2013-evolution-64a0712bb14feecb3780c906240ae3b45d34bfbd.zip |
added a paned widget to contain the task list and a HTML widget for
2003-07-03 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-tasks.c (setup_widgets): added a paned widget to contain
the task list and a HTML widget for displaying the task's details.
Connect to "cursor_change" signal on the ETable.
(table_cursor_change_cb): update the HTML view every time the selected
task changes.
(timet_to_str_with_zone): new function copied from alarm daemon.
(url_requested_cb): callback for "url_requested" signal on the
GtkHTML widget.
(on_link_clicked_cb): respond to clicks linked on the HTML widget.
(vpaned_resized_cb): set the configuration entry for the task vpane
position.
(e_tasks_destroy): free new member.
(e_tasks_construct): connect to "obj_removed" signal on the CalClient.
(client_obj_removed_cb): if the updated object is the one being
displayed in the HTML widget, update it.
* gui/calendar-config.[ch] (calendar_config_get_task_vpane_pos):
(calendar_config_gset_task_vpane_pos): new functions.
* gui/apps_evolution_calendar.schemas: added task vpane position.
svn path=/trunk/; revision=21740
Diffstat (limited to 'calendar/gui/calendar-config.c')
-rw-r--r-- | calendar/gui/calendar-config.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/calendar/gui/calendar-config.c b/calendar/gui/calendar-config.c index 34b39eb53a..83cd5650c5 100644 --- a/calendar/gui/calendar-config.c +++ b/calendar/gui/calendar-config.c @@ -339,6 +339,19 @@ calendar_config_set_month_vpane_pos (gint vpane_pos) e_config_listener_set_long (config, "/apps/evolution/calendar/display/month_vpane_position", vpane_pos); } +gint +calendar_config_get_task_vpane_pos (void) +{ + return e_config_listener_get_long_with_default (config, "/apps/evolution/calendar/display/task_vpane_position", 400, NULL); +} + + +void +calendar_config_set_task_vpane_pos (gint vpane_pos) +{ + e_config_listener_set_long (config, "/apps/evolution/calendar/display/task_vpane_position", vpane_pos); +} + /* Whether we compress the weekend in the week/month views. */ gboolean |