diff options
author | Jason Leach <jasonleach@usa.net> | 2001-01-14 10:17:37 +0800 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2001-01-14 10:17:37 +0800 |
commit | 04b3fe409909822afa86e31c05c32c4e969060e4 (patch) | |
tree | b78e32b4a6c0f1d011c6fa8c7359c30fd19e21a5 /shell/e-shortcuts-view.h | |
parent | d554c5bbab77882ed04cade3a1aa2f1191832c6d (diff) | |
download | gsoc2013-evolution-04b3fe409909822afa86e31c05c32c4e969060e4.tar gsoc2013-evolution-04b3fe409909822afa86e31c05c32c4e969060e4.tar.gz gsoc2013-evolution-04b3fe409909822afa86e31c05c32c4e969060e4.tar.bz2 gsoc2013-evolution-04b3fe409909822afa86e31c05c32c4e969060e4.tar.lz gsoc2013-evolution-04b3fe409909822afa86e31c05c32c4e969060e4.tar.xz gsoc2013-evolution-04b3fe409909822afa86e31c05c32c4e969060e4.tar.zst gsoc2013-evolution-04b3fe409909822afa86e31c05c32c4e969060e4.zip |
(Fix bug #934: Add Right-click item to hide the shortcut bar)
2001-01-13 Jason Leach <jasonleach@usa.net>
(Fix bug #934: Add Right-click item to hide the shortcut bar)
* e-shortcuts-view.c (class_init): Create a new hide_requested
signal.
(hide_shortcut_bar_cb): New function that gets
called from the right click menu items, it emits the
hide_requested signal.
* e-shell-view.c (setup_widgets): Connect the hide_requested
from the shortcut bar.
(hide_requested_cb): New function.
svn path=/trunk/; revision=7485
Diffstat (limited to 'shell/e-shortcuts-view.h')
-rw-r--r-- | shell/e-shortcuts-view.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/e-shortcuts-view.h b/shell/e-shortcuts-view.h index 8f6f8cb0af..0acb7efdce 100644 --- a/shell/e-shortcuts-view.h +++ b/shell/e-shortcuts-view.h @@ -58,9 +58,11 @@ struct _EShortcutsView { struct _EShortcutsViewClass { EShortcutBarClass parent_class; - void (* activate_shortcut) (EShortcutsView *view, - EShortcuts *shortcuts, - const char *uri); + void (* activate_shortcut) (EShortcutsView *view, + EShortcuts *shortcuts, + const char *uri); + + void (* hide_requested) (EShortcutsView *view); }; |