diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-02-23 01:28:03 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-02-23 01:28:03 +0800 |
commit | 377b087df21d972af184734d57f1ad63772759fd (patch) | |
tree | 4db0aaf4a747d50c818358291430b390d165fa42 /shell/e-shell-folder-title-bar.h | |
parent | f62df88ae360710c075da59236bc898eb0aec3b5 (diff) | |
download | gsoc2013-evolution-377b087df21d972af184734d57f1ad63772759fd.tar gsoc2013-evolution-377b087df21d972af184734d57f1ad63772759fd.tar.gz gsoc2013-evolution-377b087df21d972af184734d57f1ad63772759fd.tar.bz2 gsoc2013-evolution-377b087df21d972af184734d57f1ad63772759fd.tar.lz gsoc2013-evolution-377b087df21d972af184734d57f1ad63772759fd.tar.xz gsoc2013-evolution-377b087df21d972af184734d57f1ad63772759fd.tar.zst gsoc2013-evolution-377b087df21d972af184734d57f1ad63772759fd.zip |
`e_shell_folder_title_bar_set_title_clickable()', not
* e-shell-view.c (e_shell_view_show_folder_bar):
`e_shell_folder_title_bar_set_title_clickable()', not
`e_shell_folder_title_bar_set_clickable()'.
* e-shell-folder-title-bar.c: Rename `button', `button_label' and
`button_arrow' to `title_button', `title_button_label' and
`title_button_arrow'. Renamed `label' to `title_label'. Renamed
`arrow_xpm' to `down_arrow_xpm'. Added `left_arrow.xpm' and
`right_arrow.xpm'.
(class_init): Add the "back_clicked" and "forward_clicked"
signals.
(add_navigation_buttons): New function to add the navigation
buttons to the title bar.
(back_button_clicked_callback): Callback for the back button,
emits "back_clicked".
(forward_button_clicked_callback): Callback for the forward
button, emits "forward_clicked".
(e_shell_folder_title_bar_construct): Call
`add_navigation_buttons()'.
(forward_button_clicked_callback):
(create_arrow_pixmap): Removed.
(create_pixmap_widget_from_xpm): New.
(title_button_box_realize_cb): Removed.
(e_shell_folder_title_bar_construct): Don't connect. Just add the
icon normally using the new `create_pixmap_widget_from_xpm()'.
(e_shell_folder_title_bar_set_title_clickable): Renamed from
`e_shell_folder_title_bar_set_clickable'.
(size_allocate_navigation_buttons): New.
(size_allocate_title_button): Get an @offset.
(size_allocate_label): Get an @offset.
(size_allocate): Allocate the navigation buttons and offset
everything else accordingly.
* e-shell-folder-title-bar.h: New signals "back_clicked",
"forward_clicked".
svn path=/trunk/; revision=15797
Diffstat (limited to 'shell/e-shell-folder-title-bar.h')
-rw-r--r-- | shell/e-shell-folder-title-bar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/e-shell-folder-title-bar.h b/shell/e-shell-folder-title-bar.h index a5c324560c..bbf7dc3b58 100644 --- a/shell/e-shell-folder-title-bar.h +++ b/shell/e-shell-folder-title-bar.h @@ -52,7 +52,9 @@ struct _EShellFolderTitleBarClass { GtkHBoxClass parent_class; /* Signals. */ - void (* title_toggled) (EShellFolderTitleBar *folder_title_bar, gboolean pressed); + void (* title_toggled) (EShellFolderTitleBar *folder_title_bar, gboolean pressed); + void (* back_clicked) (EShellFolderTitleBar *folder_title_bar); + void (* forward_clicked) (EShellFolderTitleBar *folder_title_bar); }; @@ -68,7 +70,7 @@ void e_shell_folder_title_bar_set_icon (EShellFolderTitleBar *fold const GdkPixbuf *icon); void e_shell_folder_title_bar_set_toggle_state (EShellFolderTitleBar *folder_title_bar, gboolean state); -void e_shell_folder_title_bar_set_clickable (EShellFolderTitleBar *folder_title_bar, +void e_shell_folder_title_bar_set_title_clickable (EShellFolderTitleBar *folder_title_bar, gboolean clickable); #ifdef __cplusplus |