diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-30 14:32:14 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-05-30 14:32:14 +0800 |
commit | bdf6f37a8afa9988de108ac207b48de01fee6141 (patch) | |
tree | e1bb51bf741648eb1acf5c72d3f5c12b28381268 /shell/e-shortcuts.h | |
parent | 316db85df610bfbea1cd6e5ae9ab44f10d30ccb4 (diff) | |
download | gsoc2013-evolution-bdf6f37a8afa9988de108ac207b48de01fee6141.tar gsoc2013-evolution-bdf6f37a8afa9988de108ac207b48de01fee6141.tar.gz gsoc2013-evolution-bdf6f37a8afa9988de108ac207b48de01fee6141.tar.bz2 gsoc2013-evolution-bdf6f37a8afa9988de108ac207b48de01fee6141.tar.lz gsoc2013-evolution-bdf6f37a8afa9988de108ac207b48de01fee6141.tar.xz gsoc2013-evolution-bdf6f37a8afa9988de108ac207b48de01fee6141.tar.zst gsoc2013-evolution-bdf6f37a8afa9988de108ac207b48de01fee6141.zip |
Added a title bar for the folder view. Removed title bar from the
shortcut view. Made shortcuts behave correctly when moved around.
Also, implemented automatic re-saving of the shortcuts when they
change.
svn path=/trunk/; revision=3276
Diffstat (limited to 'shell/e-shortcuts.h')
-rw-r--r-- | shell/e-shortcuts.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/shell/e-shortcuts.h b/shell/e-shortcuts.h index 63c897ece0..f450728b51 100644 --- a/shell/e-shortcuts.h +++ b/shell/e-shortcuts.h @@ -65,13 +65,15 @@ void e_shortcuts_construct (EShortcuts *shortcuts EStorageSet *storage_set, EFolderTypeRegistry *folder_type_registry); EShortcuts *e_shortcuts_new (EStorageSet *storage_set, - EFolderTypeRegistry *folder_type_registry); + EFolderTypeRegistry *folder_type_registry, + const char *file_name); GList *e_shortcuts_get_group_titles (EShortcuts *shortcuts); GList *e_shortcuts_get_shortcuts_in_group (EShortcuts *shortcuts, const char *group_title); EStorageSet *e_shortcuts_get_storage_set (EShortcuts *shortcuts); GtkWidget *e_shortcuts_new_view (EShortcuts *shortcuts); + gboolean e_shortcuts_load (EShortcuts *shortcuts, const char *path); gboolean e_shortcuts_save (EShortcuts *shortcuts, @@ -81,6 +83,19 @@ const char *e_shortcuts_get_uri (EShortcuts *shortcuts int group_num, int num); +void e_shortcuts_remove_shortcut (EShortcuts *shortcuts, + int group_num, + int num); +void e_shortcuts_add_shortcut (EShortcuts *shortcuts, + int group_num, + int num, + const char *uri); +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 } #endif /* __cplusplus */ |