diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-31 20:54:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-31 20:54:01 +0800 |
commit | 78fd379aa7c17c60c4b5fc07e5243b32ec4a2639 (patch) | |
tree | 55a5c29dfb02f27e094b1fcf3e324904008aa5ad /calendar/modules/e-memo-shell-view-actions.c | |
parent | 9c9e85d286fe61ed11e457c737bd26e2732119ab (diff) | |
download | gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.gz gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.bz2 gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.lz gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.xz gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.zst gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.zip |
Support inline renaming of sources in the source selector, with help
from evolution-data-server (see bug #558322).
Kill another frivolous plugin: select-one-source
svn path=/branches/kill-bonobo/; revision=36705
Diffstat (limited to 'calendar/modules/e-memo-shell-view-actions.c')
-rw-r--r-- | calendar/modules/e-memo-shell-view-actions.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/calendar/modules/e-memo-shell-view-actions.c b/calendar/modules/e-memo-shell-view-actions.c index 915f52640e..627f698449 100644 --- a/calendar/modules/e-memo-shell-view-actions.c +++ b/calendar/modules/e-memo-shell-view-actions.c @@ -289,6 +289,19 @@ action_memo_list_properties_cb (GtkAction *action, } static void +action_memo_list_rename_cb (GtkAction *action, + EMemoShellView *memo_shell_view) +{ + EMemoShellSidebar *memo_shell_sidebar; + ESourceSelector *selector; + + memo_shell_sidebar = memo_shell_view->priv->memo_shell_sidebar; + selector = e_memo_shell_sidebar_get_selector (memo_shell_sidebar); + + e_source_selector_edit_primary_selection (selector); +} + +static void action_memo_list_select_one_cb (GtkAction *action, EMemoShellView *memo_shell_view) { @@ -587,6 +600,13 @@ static GtkActionEntry memo_entries[] = { NULL, /* XXX Add a tooltip! */ G_CALLBACK (action_memo_list_properties_cb) }, + { "memo-list-rename", + NULL, + N_("_Rename..."), + "F2", + N_("Rename the selected memo list"), + G_CALLBACK (action_memo_list_rename_cb) }, + { "memo-list-select-one", "stock_check-filled", N_("Show _Only This Memo List"), |