diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-05-18 08:32:18 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-05-18 08:32:18 +0800 |
commit | 844e27e365aa00a3d49055d316e5848c03118895 (patch) | |
tree | 7b6bd1177059f918201ae543a2bc9071daba94cb /widgets/shortcut-bar/e-shortcut-bar.h | |
parent | 879ec8920b51709cf762cbb6785f8f321da55b2d (diff) | |
download | gsoc2013-evolution-844e27e365aa00a3d49055d316e5848c03118895.tar gsoc2013-evolution-844e27e365aa00a3d49055d316e5848c03118895.tar.gz gsoc2013-evolution-844e27e365aa00a3d49055d316e5848c03118895.tar.bz2 gsoc2013-evolution-844e27e365aa00a3d49055d316e5848c03118895.tar.lz gsoc2013-evolution-844e27e365aa00a3d49055d316e5848c03118895.tar.xz gsoc2013-evolution-844e27e365aa00a3d49055d316e5848c03118895.tar.zst gsoc2013-evolution-844e27e365aa00a3d49055d316e5848c03118895.zip |
new signals "added_item", "removed_item", "added_group", "removed_group".
2000-05-18 Damon Chaplin <damon@helixcode.com>
* e-shortcut-bar.[hc]: new signals "added_item", "removed_item",
"added_group", "removed_group". Note that the removed signals are
emitted just before the item/group is actually removed.
* test-shortcut-bar.c: updated to test the new signals, and ref'ed
the pixbufs in the icon callback.
svn path=/trunk/; revision=3111
Diffstat (limited to 'widgets/shortcut-bar/e-shortcut-bar.h')
-rw-r--r-- | widgets/shortcut-bar/e-shortcut-bar.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/widgets/shortcut-bar/e-shortcut-bar.h b/widgets/shortcut-bar/e-shortcut-bar.h index 2482399428..b02626fdef 100644 --- a/widgets/shortcut-bar/e-shortcut-bar.h +++ b/widgets/shortcut-bar/e-shortcut-bar.h @@ -90,6 +90,16 @@ struct _EShortcutBarClass GdkEvent *event, gint group_num, gint item_num); + void (*added_item) (EShortcutBar *shortcut_bar, + gint group_num, + gint item_num); + void (*removed_item) (EShortcutBar *shortcut_bar, + gint group_num, + gint item_num); + void (*added_group) (EShortcutBar *shortcut_bar, + gint group_num); + void (*removed_group) (EShortcutBar *shortcut_bar, + gint group_num); }; @@ -123,9 +133,9 @@ void e_shortcut_bar_remove_item (EShortcutBar *shortcut_bar, /* Sets the callback which is called to return the icon to use for a particular URL. This callback must be set before any items are added. If the callback returns NULL the default icon is used. */ -void e_shortcut_bar_set_icon_callback (EShortcutBar *shortcut_bar, - EShortcutBarIconCallback cb, - gpointer data); +void e_shortcut_bar_set_icon_callback (EShortcutBar *shortcut_bar, + EShortcutBarIconCallback cb, + gpointer data); #ifdef __cplusplus } |