diff options
author | JP Rosevear <jpr@novell.com> | 2004-10-21 02:51:16 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-10-21 02:51:16 +0800 |
commit | 5efbfda209a094cf238ea99fddc54081385c4a39 (patch) | |
tree | d95639159c977372cc5ece309059764e31d5f69b | |
parent | cce201b06e98e85dba8a1bb3a2848d7537c0aeda (diff) | |
download | gsoc2013-evolution-5efbfda209a094cf238ea99fddc54081385c4a39.tar.gz gsoc2013-evolution-5efbfda209a094cf238ea99fddc54081385c4a39.tar.zst gsoc2013-evolution-5efbfda209a094cf238ea99fddc54081385c4a39.zip |
put an icon on the properties menu item
2004-10-20 JP Rosevear <jpr@novell.com>
* gui/calendar-component.c: put an icon on the properties menu item
* gui/tasks-component.c: ditto
* gui/main.c (initialize): register plugin hooks for tasks and
calendar
svn path=/trunk/; revision=27656
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 3 | ||||
-rw-r--r-- | calendar/gui/main.c | 4 | ||||
-rw-r--r-- | calendar/gui/tasks-component.c | 2 |
4 files changed, 16 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index de391f0b00..921a911d7b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,14 @@ 2004-10-20 JP Rosevear <jpr@novell.com> + * gui/calendar-component.c: put an icon on the properties menu item + + * gui/tasks-component.c: ditto + + * gui/main.c (initialize): register plugin hooks for tasks and + calendar + +2004-10-20 JP Rosevear <jpr@novell.com> + * gui/e-cal-popup.c (ecalph_class_init): correct classid 2004-10-19 JP Rosevear <jpr@novell.com> diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 08e686b4fc..d5f90e0daa 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -53,6 +53,7 @@ #include "widgets/misc/e-info-label.h" #include "widgets/misc/e-error.h" #include "e-util/e-icon-factory.h" +#include "e-cal-menu.h" #include "e-cal-popup.h" /* IDs for user creatable items */ @@ -382,7 +383,7 @@ static EPopupItem ecc_source_popups[] = { { E_POPUP_ITEM, "10.new", N_("New Calendar"), new_calendar_cb, NULL, "stock_calendar", 0, 0 }, { E_POPUP_ITEM, "15.copy", N_("Copy"), copy_calendar_cb, NULL, "stock_folder-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY }, { E_POPUP_ITEM, "20.delete", N_("Delete"), delete_calendar_cb, NULL, "stock_delete", 0, E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY }, - { E_POPUP_ITEM, "30.properties", N_("Properties..."), edit_calendar_cb, NULL, NULL, 0, E_CAL_POPUP_SOURCE_PRIMARY }, + { E_POPUP_ITEM, "30.properties", N_("Properties..."), edit_calendar_cb, NULL, "stock_folder-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY }, }; static void diff --git a/calendar/gui/main.c b/calendar/gui/main.c index a23b44c437..6a189fc8d2 100644 --- a/calendar/gui/main.c +++ b/calendar/gui/main.c @@ -139,6 +139,10 @@ initialize (void) /* Initialize Calendar Publishing */ calendar_component_init_publishing (); + + /* Initialize plugin system */ + e_plugin_hook_register_type (e_cal_popup_hook_get_type()); + e_plugin_hook_register_type (e_cal_menu_hook_get_type()); } diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index 1d3aff32dd..3b02c45ad8 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -328,7 +328,7 @@ static EPopupItem etc_source_popups[] = { { E_POPUP_ITEM, "10.new", N_("New Task List"), new_task_list_cb, NULL, "stock_todo", 0, 0 }, { E_POPUP_ITEM, "15.copy", N_("Copy"), copy_task_list_cb, NULL, "stock_folder-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY }, { E_POPUP_ITEM, "20.delete", N_("Delete"), delete_task_list_cb, NULL, "stock_delete", 0, E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY }, - { E_POPUP_ITEM, "30.properties", N_("Properties..."), edit_task_list_cb, NULL, NULL, 0, E_CAL_POPUP_SOURCE_PRIMARY }, + { E_POPUP_ITEM, "30.properties", N_("Properties..."), edit_task_list_cb, NULL, "stock_folder-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY }, }; static void |