aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-26 05:27:00 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-26 05:27:00 +0800
commit769e117e901dce718915b863209fc58c218ca3c6 (patch)
tree442c2ab0c214c4e93f52a5c1da932eafc044cb82 /shell/e-storage-set-view.h
parent650c4690b2040f83c032b67a271b996f876fdc50 (diff)
downloadgsoc2013-evolution-769e117e901dce718915b863209fc58c218ca3c6.tar
gsoc2013-evolution-769e117e901dce718915b863209fc58c218ca3c6.tar.gz
gsoc2013-evolution-769e117e901dce718915b863209fc58c218ca3c6.tar.bz2
gsoc2013-evolution-769e117e901dce718915b863209fc58c218ca3c6.tar.lz
gsoc2013-evolution-769e117e901dce718915b863209fc58c218ca3c6.tar.xz
gsoc2013-evolution-769e117e901dce718915b863209fc58c218ca3c6.tar.zst
gsoc2013-evolution-769e117e901dce718915b863209fc58c218ca3c6.zip
New helper function. (command_move_folder): Pass the @folder_path argument
* e-shell-view-menu.c (get_path_for_folder_op): New helper function. (command_move_folder): Pass the @folder_path argument to `e_shell_command_move_folder' by using it. (command_copy_folder): Pass the @folder_path argument to `e_shell_command_copy_folder' by using it. (command_delete_folder): Pass the @folder_path argument to `e_shell_command_delete_folder()' by using it. (command_add_folder_to_shortcut_bar): Pass the @folder_path argument to `e_shell_command_add_to_shortcut_bar()' by using it. (command_create_folder): Pass the @parent_folder_path argument to `e_shell_command_create_new_folder()' by using it. (command_new_folder): Use `get_path_for_folder_op()'. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): New arg @folder_path. (e_shell_command_copy_folder): New arg @folder_path. (e_shell_command_move_folder): New arg @folder_path. (e_shell_command_open_folder_in_other_window): New arg @folder_path. (e_shell_command_create_new_folder): New arg @parent_folder_path. (e_shell_command_delete_folder): New arg @folder_path. * e-shell-view.c (e_shell_view_get_folder_bar_right_click_path): New. * e-storage-set-view.c: New member `right_click_row_path'. (init): Init to NULL. (destroy): Free. (right_click): Set. (popup_folder_menu): Use `gnome_popup_menu_do_popup_modal()' so we are stuck in here until the menu disappears. After that, destroy the menu and call `e_tree_right_click_up()'. (e_storage_set_view_get_right_click_path): New. svn path=/trunk/; revision=13124
Diffstat (limited to 'shell/e-storage-set-view.h')
-rw-r--r--shell/e-storage-set-view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-storage-set-view.h b/shell/e-storage-set-view.h
index 9e00c0e678..d70d09e89b 100644
--- a/shell/e-storage-set-view.h
+++ b/shell/e-storage-set-view.h
@@ -88,6 +88,8 @@ void e_storage_set_view_set_allow_dnd (EStorageSetView *storage_set
gboolean allow_dnd);
gboolean e_storage_set_view_get_allow_dnd (EStorageSetView *storage_set_view);
+const char *e_storage_set_view_get_right_click_path (EStorageSetView *storage_set_view);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */