diff options
author | Jason Leach <jleach@ximian.com> | 2001-05-31 03:39:47 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-05-31 03:39:47 +0800 |
commit | 225120f19f7e03a09f1ff899e747e68ccc41a93e (patch) | |
tree | 2f0697639ec2541fabcacab4543d703d6e5e7384 /shell/e-shell-view-menu.c | |
parent | 1c8d79010681884cfddd5574e40cb2bdd0772c61 (diff) | |
download | gsoc2013-evolution-225120f19f7e03a09f1ff899e747e68ccc41a93e.tar.gz gsoc2013-evolution-225120f19f7e03a09f1ff899e747e68ccc41a93e.tar.zst gsoc2013-evolution-225120f19f7e03a09f1ff899e747e68ccc41a93e.zip |
Removed an unecessary sleep(2) call, so evolution will start up 2 seconds
2001-05-30 Jason Leach <jleach@ximian.com>
* e-shell.c (e_shell_construct): Removed an unecessary sleep(2)
call, so evolution will start up 2 seconds faster now.
2001-05-30 Jason Leach <jleach@ximian.com>
* e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to
their implementation functions.
* e-shell-view.c (e_shell_view_get_current_shortcuts_group_num):
New function, use it to find out which shourtcut group is
currently open on the shortcut bar.
* e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
Implement this using new function described above.
svn path=/trunk/; revision=10052
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r-- | shell/e-shell-view-menu.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index de0dfbca1a..12d2b3ab02 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -371,6 +371,17 @@ command_copy_folder (BonoboUIComponent *uih, e_shell_command_copy_folder (e_shell_view_get_shell (shell_view), shell_view); } +static void +command_add_folder_to_shortcut_bar (BonoboUIComponent *uih, + void *data, + const char *path) +{ + EShellView *shell_view; + + shell_view = E_SHELL_VIEW (data); + e_shell_command_add_to_shortcut_bar (e_shell_view_get_shell (shell_view), shell_view); +} + /* Going to a folder. */ @@ -545,6 +556,8 @@ BonoboUIVerb folder_verbs [] = { BONOBO_UI_VERB ("MoveFolder", command_move_folder), BONOBO_UI_VERB ("CopyFolder", command_copy_folder), + BONOBO_UI_VERB ("AddFolderToShortcutBar", command_add_folder_to_shortcut_bar), + BONOBO_UI_VERB_END }; |