diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-29 22:05:10 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-29 22:05:10 +0800 |
commit | 7d63b93c516dd80bfc703e92c1502e55ae3c1f97 (patch) | |
tree | e3db1a2c5489a69d1beb6c66ede9766550d3e937 /widgets/misc/e-title-bar.h | |
parent | 95412cfb1362752168923e5cd7e663cc6db5c4e8 (diff) | |
download | gsoc2013-evolution-7d63b93c516dd80bfc703e92c1502e55ae3c1f97.tar.gz gsoc2013-evolution-7d63b93c516dd80bfc703e92c1502e55ae3c1f97.tar.zst gsoc2013-evolution-7d63b93c516dd80bfc703e92c1502e55ae3c1f97.zip |
Get the title bar for the folder view to use TigerT's pin icon for the
button when appropriate.
svn path=/trunk/; revision=5636
Diffstat (limited to 'widgets/misc/e-title-bar.h')
-rw-r--r-- | widgets/misc/e-title-bar.h | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/widgets/misc/e-title-bar.h b/widgets/misc/e-title-bar.h index ce7d23b07b..f91e76c889 100644 --- a/widgets/misc/e-title-bar.h +++ b/widgets/misc/e-title-bar.h @@ -42,6 +42,12 @@ extern "C" { #define E_IS_TITLE_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_TITLE_BAR)) +enum _ETitleBarButtonMode { + E_TITLE_BAR_BUTTON_MODE_PIN, + E_TITLE_BAR_BUTTON_MODE_CLOSE +}; +typedef enum _ETitleBarButtonMode ETitleBarButtonMode; + typedef struct _ETitleBar ETitleBar; typedef struct _ETitleBarPrivate ETitleBarPrivate; typedef struct _ETitleBarClass ETitleBarClass; @@ -57,20 +63,22 @@ struct _ETitleBarClass { /* Signals. */ - void (* title_button_press_event) (ETitleBar *title_bar, GdkEventButton *event); - void (* close_button_clicked) (ETitleBar *title_bar); + void (* label_button_press_event) (ETitleBar *title_bar, GdkEventButton *event); + void (* button_clicked) (ETitleBar *title_bar); }; -GtkType e_title_bar_get_type (void); -void e_title_bar_construct (ETitleBar *title_bar, - const char *title); -GtkWidget *e_title_bar_new (const char *title); - -void e_title_bar_set_title (ETitleBar *title_bar, - const char *title); -void e_title_bar_show_close_button (ETitleBar *title_bar, - gboolean show); +GtkType e_title_bar_get_type (void); +void e_title_bar_construct (ETitleBar *title_bar, + const char *title); +GtkWidget *e_title_bar_new (const char *title); +void e_title_bar_set_title (ETitleBar *title_bar, + const char *title); +void e_title_bar_show_button (ETitleBar *title_bar, + gboolean show); +void e_title_bar_set_button_mode (ETitleBar *title_bar, + ETitleBarButtonMode button_mode); +ETitleBarButtonMode e_title_bar_get_button_mode (ETitleBar *title_bar); #ifdef __cplusplus } |