diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-27 06:55:27 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-09-27 06:55:27 +0800 |
commit | 62c86e7472d3e4c13726bb6b3c735f1fc47b0151 (patch) | |
tree | ea0f85af2c1f831d10137b6fa06f67a5f5dd187b /shell/e-storage-set-view.h | |
parent | b49fae7c51b832be0fdc7b7068708834d2dcbb1e (diff) | |
download | gsoc2013-evolution-62c86e7472d3e4c13726bb6b3c735f1fc47b0151.tar.gz gsoc2013-evolution-62c86e7472d3e4c13726bb6b3c735f1fc47b0151.tar.zst gsoc2013-evolution-62c86e7472d3e4c13726bb6b3c735f1fc47b0151.zip |
New helper function. (folder_selected_cb): Call it.
* e-shell-view.c (setup_verb_sensitivity_for_folder): New helper
function.
(folder_selected_cb): Call it.
(folder_context_menu_popping_up_cb): New callback for the
"folder_context_menu_popping_up" signal on the folder bar's
EStorageSetView; set the sensitivities of the verbs according to
the right-clicked folder.
(folder_context_menu_popped_down_cb): New, callback for the
"folder_context_menu_popped_down" signal on the folder bar's
EStorageSetView; set the sensitivities of the verbs according to
the currently displayed folder.
(e_shell_view_get_folder_bar_right_click_path): Add a cast to
placate a warning.
* e-storage-set-view.c (class_init): Set up the
"folder_context_menu_popping_up" and
"folder_context_menu_popped_down" signals.
(right_click): Emit "folder_context_menu_popping_up" before
popping up the menu, "folder_context_menu_popped_down" after the
menu is gone.
* e-storage-set-view.h: New signals
"folder_context_menu_popping_up" and
"folder_context_menu_popped_down".
svn path=/trunk/; revision=13171
Diffstat (limited to 'shell/e-storage-set-view.h')
-rw-r--r-- | shell/e-storage-set-view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-storage-set-view.h b/shell/e-storage-set-view.h index d70d09e89b..34daecaf7e 100644 --- a/shell/e-storage-set-view.h +++ b/shell/e-storage-set-view.h @@ -65,6 +65,10 @@ struct _EStorageSetViewClass { const char *source_data, const char *source_data_type, const char *target_path); + + void (* folder_context_menu_popping_up) (EStorageSetView *storage_set_view, + const char *path); + void (* folder_context_menu_popped_down) (EStorageSetView *storage_set_view); }; |