aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2010-05-19 04:50:20 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-19 05:34:28 +0800
commitaac6a371630b0b28f1b9476123f1c1a54b24c654 (patch)
treec841684849aa14377634267cb01f7f174a685e6d /calendar/gui/dialogs
parent9df9e2390311a76bc137c743d5adb996184f6413 (diff)
downloadgsoc2013-evolution-aac6a371630b0b28f1b9476123f1c1a54b24c654.tar.gz
gsoc2013-evolution-aac6a371630b0b28f1b9476123f1c1a54b24c654.tar.zst
gsoc2013-evolution-aac6a371630b0b28f1b9476123f1c1a54b24c654.zip
Bug 594153 (2/3) - Allow setting alarms on any meeting
The "view-time-zone" and "view-categories" actions should not have been grouped with the "individual" action group but rather the "core" action group, as they should always be available regardless of whether or not the element being edited is read-only/owned, as they simply affect visibility of various widgets. This fixes a bug introduced in 0597b877c5bf4d21ac4048742ddf6b11e24877ba where these two actions were accidentally grouped with other actions that should legitimately be in the "individual" group.
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/comp-editor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 48f596dec7..6718d8f690 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1073,7 +1073,7 @@ static GtkActionEntry individual_entries[] = {
G_CALLBACK (action_attach_cb) }
};
-static GtkToggleActionEntry personal_toggle_entries[] = {
+static GtkToggleActionEntry core_toggle_entries[] = {
{ "view-categories",
NULL,
@@ -1634,6 +1634,9 @@ comp_editor_init (CompEditor *editor)
gtk_action_group_add_actions (
action_group, core_entries,
G_N_ELEMENTS (core_entries), editor);
+ gtk_action_group_add_toggle_actions (
+ action_group, core_toggle_entries,
+ G_N_ELEMENTS (core_toggle_entries), editor);
gtk_ui_manager_insert_action_group (
priv->ui_manager, action_group, 0);
g_object_unref (action_group);
@@ -1656,9 +1659,6 @@ comp_editor_init (CompEditor *editor)
action_group = gtk_action_group_new ("editable");
gtk_action_group_set_translation_domain (
action_group, GETTEXT_PACKAGE);
- gtk_action_group_add_toggle_actions (
- action_group, personal_toggle_entries,
- G_N_ELEMENTS (personal_toggle_entries), editor);
gtk_ui_manager_insert_action_group (
priv->ui_manager, action_group, 0);
g_object_unref (action_group);