diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-14 01:57:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-14 01:57:46 +0800 |
commit | 79aa45cfed7e87150de85869795ef0dd3be06db0 (patch) | |
tree | 422b9e6c3840747ffb243d596d4459514ec3a457 /calendar/modules/e-cal-shell-module.c | |
parent | 1bed00795bf092ad6e9e076eccf7cc2a8c20cb27 (diff) | |
download | gsoc2013-evolution-79aa45cfed7e87150de85869795ef0dd3be06db0.tar gsoc2013-evolution-79aa45cfed7e87150de85869795ef0dd3be06db0.tar.gz gsoc2013-evolution-79aa45cfed7e87150de85869795ef0dd3be06db0.tar.bz2 gsoc2013-evolution-79aa45cfed7e87150de85869795ef0dd3be06db0.tar.lz gsoc2013-evolution-79aa45cfed7e87150de85869795ef0dd3be06db0.tar.xz gsoc2013-evolution-79aa45cfed7e87150de85869795ef0dd3be06db0.tar.zst gsoc2013-evolution-79aa45cfed7e87150de85869795ef0dd3be06db0.zip |
Progress update:
- Calendar is kind of a mess at the moment. Doesn't compile.
- Roughed in the Mail module, including all the actions.
That _does_ compile. Runs, even.
svn path=/branches/kill-bonobo/; revision=36611
Diffstat (limited to 'calendar/modules/e-cal-shell-module.c')
-rw-r--r-- | calendar/modules/e-cal-shell-module.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/calendar/modules/e-cal-shell-module.c b/calendar/modules/e-cal-shell-module.c index 17c4b2152b..88f743f1ee 100644 --- a/calendar/modules/e-cal-shell-module.c +++ b/calendar/modules/e-cal-shell-module.c @@ -307,10 +307,10 @@ cal_module_cal_opened_cb (ECal *cal, flags |= COMP_EDITOR_NEW_ITEM; flags |= COMP_EDITOR_USER_ORG; - if (strcmp (action_name, "meeting-new") == 0) + if (strcmp (action_name, "event-meeting-new") == 0) flags |= COMP_EDITOR_MEETING; - all_day = (strcmp (action_name, "appointment-all-day-new") == 0); + all_day = (strcmp (action_name, "event-all-day-new") == 0); editor = event_editor_new (cal, flags); comp = cal_comp_event_new_with_current_time (cal, all_day); @@ -372,21 +372,21 @@ action_calendar_new_cb (GtkAction *action, static GtkActionEntry item_entries[] = { - { "appointment-new", + { "event-new", "appointment-new", N_("_Appointment"), /* XXX Need C_() here */ "<Control>a", N_("Create a new appointment"), G_CALLBACK (action_event_new_cb) }, - { "appointment-all-day-new", + { "event-all-day-new", "stock_new-24h-appointment", N_("All Day A_ppointment"), NULL, N_("Create a new all-day appointment"), G_CALLBACK (action_event_new_cb) }, - { "meeting-new", + { "event-meeting-new", "stock_new-meeting", N_("M_eeting"), "<Control>e", @@ -450,10 +450,9 @@ e_shell_module_init (GTypeModule *type_module) shell_module = E_SHELL_MODULE (type_module); shell = e_shell_module_get_shell (shell_module); - /* Register the GType for ECalShellView. */ - e_cal_shell_view_get_type (type_module); - - e_shell_module_set_info (shell_module, &module_info); + e_shell_module_set_info ( + shell_module, &module_info, + e_cal_shell_view_get_type (type_module)); cal_module_ensure_sources (shell_module); |