aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcuts.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-01 14:25:43 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-01 14:25:43 +0800
commit6077a94d84eb66bd81e52a92d3703db72ab5614a (patch)
treecd7b8aeb1acfbc4c7b6bc302cbe18c0400cbb5f4 /shell/e-shortcuts.h
parent3950295c0f8adbf2003eb84322fa6e7c8ba6af47 (diff)
downloadgsoc2013-evolution-6077a94d84eb66bd81e52a92d3703db72ab5614a.tar.gz
gsoc2013-evolution-6077a94d84eb66bd81e52a92d3703db72ab5614a.tar.zst
gsoc2013-evolution-6077a94d84eb66bd81e52a92d3703db72ab5614a.zip
Change EShortcuts to not use group titles to access specific groups.
Also, allow more than one group with the same title. svn path=/trunk/; revision=10652
Diffstat (limited to 'shell/e-shortcuts.h')
-rw-r--r--shell/e-shortcuts.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/shell/e-shortcuts.h b/shell/e-shortcuts.h
index 8ccd552f87..8d08586c47 100644
--- a/shell/e-shortcuts.h
+++ b/shell/e-shortcuts.h
@@ -84,7 +84,8 @@ GSList *e_shortcuts_get_group_titles (EShortcuts *shortcuts);
const char *e_shortcuts_get_group_title (EShortcuts *shortcuts,
int group_num);
const GSList *e_shortcuts_get_shortcuts_in_group (EShortcuts *shortcuts,
- const char *group_title);
+ int group_num);
+
const EShortcutItem *e_shortcuts_get_shortcut (EShortcuts *shortcuts,
int group_num,
int num);
@@ -112,11 +113,12 @@ void e_shortcuts_update_shortcut (EShortcuts *shortcuts,
const char *uri,
const char *name,
const char *type);
-void e_shortcuts_remove_group (EShortcuts *shortcuts,
- int group_num);
-void e_shortcuts_add_group (EShortcuts *shortcuts,
- int group_num,
- const char *group_name);
+
+void e_shortcuts_remove_group (EShortcuts *shortcuts,
+ int group_num);
+void e_shortcuts_add_group (EShortcuts *shortcuts,
+ int group_num,
+ const char *group_name);
#ifdef __cplusplus
}