diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-26 03:09:13 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-26 03:09:13 +0800 |
commit | 72fff3213ae1221b3c13841cb43df39f963efb1f (patch) | |
tree | 64eb4573818abe83859ca414fb86fa60b822c377 /widgets/shortcut-bar/e-shortcut-bar.h | |
parent | 1084ed7340617c3476cf33694256dd06f07d86ec (diff) | |
download | gsoc2013-evolution-72fff3213ae1221b3c13841cb43df39f963efb1f.tar gsoc2013-evolution-72fff3213ae1221b3c13841cb43df39f963efb1f.tar.gz gsoc2013-evolution-72fff3213ae1221b3c13841cb43df39f963efb1f.tar.bz2 gsoc2013-evolution-72fff3213ae1221b3c13841cb43df39f963efb1f.tar.lz gsoc2013-evolution-72fff3213ae1221b3c13841cb43df39f963efb1f.tar.xz gsoc2013-evolution-72fff3213ae1221b3c13841cb43df39f963efb1f.tar.zst gsoc2013-evolution-72fff3213ae1221b3c13841cb43df39f963efb1f.zip |
Make the shortcut bar not alter the model by itself on a drag and drop
operation; instead, just emit some newly created dnd signals. The
code using the library will then dispatch this to the appropriate data
structures.
Also, disconnect the model signals on ::destroy.
svn path=/trunk/; revision=5574
Diffstat (limited to 'widgets/shortcut-bar/e-shortcut-bar.h')
-rw-r--r-- | widgets/shortcut-bar/e-shortcut-bar.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/widgets/shortcut-bar/e-shortcut-bar.h b/widgets/shortcut-bar/e-shortcut-bar.h index 573303d290..bfa33634e3 100644 --- a/widgets/shortcut-bar/e-shortcut-bar.h +++ b/widgets/shortcut-bar/e-shortcut-bar.h @@ -89,10 +89,20 @@ struct _EShortcutBarClass { EGroupBarClass parent_class; - void (*selected_item) (EShortcutBar *shortcut_bar, + void (*item_selected) (EShortcutBar *shortcut_bar, GdkEvent *event, gint group_num, gint item_num); + + void (*shortcut_dropped) (EShortcutBar *shortcut_bar, + gint group_num, + gint position, + const gchar *item_url, + const char *item_name); + + void (*shortcut_dragged) (EShortcutBar *shortcut_bar, + gint group_num, + gint item_num); }; |