diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-06-11 03:05:53 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-06-11 03:05:53 +0800 |
commit | 27ae6e03f698835c1683c03b7cfc0e401d0f601f (patch) | |
tree | e0071b3ad7fa45afb0d97930a4deacde7c51ccaf /lib/egg/egg-toolbars-model.h | |
parent | ee67c4e456ce1bee49da717ee86ae85e76499e6d (diff) | |
download | gsoc2013-epiphany-27ae6e03f698835c1683c03b7cfc0e401d0f601f.tar.gz gsoc2013-epiphany-27ae6e03f698835c1683c03b7cfc0e401d0f601f.tar.zst gsoc2013-epiphany-27ae6e03f698835c1683c03b7cfc0e401d0f601f.zip |
Merging bookmarksbar-separation branch.
2004-06-10 Christian Persch <chpe@cvs.gnome.org>
Merging bookmarksbar-separation branch.
Diffstat (limited to 'lib/egg/egg-toolbars-model.h')
-rwxr-xr-x | lib/egg/egg-toolbars-model.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/lib/egg/egg-toolbars-model.h b/lib/egg/egg-toolbars-model.h index f9ca2105c..565b9ae01 100755 --- a/lib/egg/egg-toolbars-model.h +++ b/lib/egg/egg-toolbars-model.h @@ -41,11 +41,12 @@ typedef struct EggToolbarsModelPrivate EggToolbarsModelPrivate; typedef enum { - EGG_TB_MODEL_NOT_REMOVABLE = 1 << 0, - EGG_TB_MODEL_ICONS_ONLY = 1 << 1, - EGG_TB_MODEL_TEXT_ONLY = 1 << 2, - EGG_TB_MODEL_ICONS_TEXT = 1 << 3, - EGG_TB_MODEL_ICONS_TEXT_HORIZ = 1 << 4, + EGG_TB_MODEL_NOT_REMOVABLE = 1 << 0, + EGG_TB_MODEL_ICONS_ONLY = 1 << 1, + EGG_TB_MODEL_TEXT_ONLY = 1 << 2, + EGG_TB_MODEL_ICONS_TEXT = 1 << 3, + EGG_TB_MODEL_ICONS_TEXT_HORIZ = 1 << 4, + EGG_TB_MODEL_ACCEPT_ITEMS_ONLY = 1 << 5 } EggTbModelFlags; struct EggToolbarsModel @@ -73,6 +74,14 @@ struct EggToolbarsModelClass int position); void (* toolbar_removed) (EggToolbarsModel *group, int position); + char * (* get_item_type) (EggToolbarsModel *model, + GdkAtom dnd_type); + char * (* get_item_id) (EggToolbarsModel *model, + const char *type, + const char *data); + char * (* get_item_data) (EggToolbarsModel *model, + const char *type, + const char *id); /* Virtual Table */ gboolean (* add_item) (EggToolbarsModel *t, @@ -80,14 +89,6 @@ struct EggToolbarsModelClass int position, const char *id, const char *type); - char * (* get_item_type) (EggToolbarsModel *t, - GdkAtom dnd_type); - char * (* get_item_id) (EggToolbarsModel *t, - const char *type, - const char *data); - char * (* get_item_data) (EggToolbarsModel *t, - const char *type, - const char *id); }; GType egg_toolbars_model_get_type (void); |