From 6077a94d84eb66bd81e52a92d3703db72ab5614a Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 1 Jul 2001 06:25:43 +0000 Subject: 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 --- shell/e-shortcuts.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'shell/e-shortcuts.h') 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 } -- cgit