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.c | |
parent | 1c8d79010681884cfddd5574e40cb2bdd0772c61 (diff) | |
download | gsoc2013-evolution-225120f19f7e03a09f1ff899e747e68ccc41a93e.tar gsoc2013-evolution-225120f19f7e03a09f1ff899e747e68ccc41a93e.tar.gz gsoc2013-evolution-225120f19f7e03a09f1ff899e747e68ccc41a93e.tar.bz2 gsoc2013-evolution-225120f19f7e03a09f1ff899e747e68ccc41a93e.tar.lz gsoc2013-evolution-225120f19f7e03a09f1ff899e747e68ccc41a93e.tar.xz 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.c')
-rw-r--r-- | shell/e-shell-view.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index aa9abc01b7..6bd47ebcf7 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -677,6 +677,22 @@ setup_progress_bar (EShellView *shell_view) bonobo_object_unref (BONOBO_OBJECT (control)); } +int +e_shell_view_get_current_shortcuts_group_num (EShellView *shell_view) +{ + EShellViewPrivate *priv; + EShortcutsView *shortcuts_view; + int group; + + priv = shell_view->priv; + + shortcuts_view = E_SHORTCUTS_VIEW (priv->shortcut_bar); + + group = e_group_bar_get_current_group_num (E_GROUP_BAR (E_SHORTCUT_BAR (shortcuts_view))); + + return group; +} + static void setup_widgets (EShellView *shell_view) { |