diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-27 19:49:19 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-27 19:49:19 +0800 |
commit | 3d8e5e157f5a740d1f8005383597b13eca6725d4 (patch) | |
tree | 4f177ebc3431969e0a50ce2d3aab0ec6db79254a /lib/egg/egg-toolbars-model.h | |
parent | 34c164d7175456a25362d00981d1cc38a339baf2 (diff) | |
download | gsoc2013-epiphany-3d8e5e157f5a740d1f8005383597b13eca6725d4.tar gsoc2013-epiphany-3d8e5e157f5a740d1f8005383597b13eca6725d4.tar.gz gsoc2013-epiphany-3d8e5e157f5a740d1f8005383597b13eca6725d4.tar.bz2 gsoc2013-epiphany-3d8e5e157f5a740d1f8005383597b13eca6725d4.tar.lz gsoc2013-epiphany-3d8e5e157f5a740d1f8005383597b13eca6725d4.tar.xz gsoc2013-epiphany-3d8e5e157f5a740d1f8005383597b13eca6725d4.tar.zst gsoc2013-epiphany-3d8e5e157f5a740d1f8005383597b13eca6725d4.zip |
update
2003-04-27 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/egg/egg-editable-toolbar.c:
* lib/egg/egg-editable-toolbar.h:
* lib/egg/egg-toolbar-editor.c:
* lib/egg/egg-toolbars-model.c:
* lib/egg/egg-toolbars-model.h:
* lib/egg/eggtoolbar.c:
update
* src/ephy-shell.c: (save_toolbars),
(ephy_shell_get_toolbars_model):
* src/ephy-toolbars-model.c: (impl_add_item),
(ephy_toolbars_model_class_init):
* src/ephy-toolbars-model.h:
* src/toolbar.c: (action_request_cb), (init_bookmarks_toolbar),
(toolbar_set_window):
Load the toolbars model in EphyShell so bookmarks editor
alone can use it.
Update the actions on a new editable toolbar signal,
actions are per toolbar, not per model.
Diffstat (limited to 'lib/egg/egg-toolbars-model.h')
-rwxr-xr-x | lib/egg/egg-toolbars-model.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/egg/egg-toolbars-model.h b/lib/egg/egg-toolbars-model.h index 16e3865a0..4d0e82937 100755 --- a/lib/egg/egg-toolbars-model.h +++ b/lib/egg/egg-toolbars-model.h @@ -37,6 +37,11 @@ typedef struct EggToolbarsModelClass EggToolbarsModelClass; typedef struct EggToolbarsModel EggToolbarsModel; typedef struct EggToolbarsModelPrivate EggToolbarsModelPrivate; +typedef enum +{ + EGG_TB_MODEL_NOT_REMOVABLE = 1 +} EggTbModelFlags; + struct EggToolbarsModel { GObject parent_object; @@ -76,6 +81,11 @@ void egg_toolbars_model_save (EggToolbarsModel *t, const char *xml_file); int egg_toolbars_model_add_toolbar (EggToolbarsModel *t, const char *name); +EggTbModelFlags egg_toolbars_model_get_flags (EggToolbarsModel *t, + int toolbar_position); +void egg_toolbars_model_set_flags (EggToolbarsModel *t, + EggTbModelFlags flags, + int toolbar_position); void egg_toolbars_model_add_separator (EggToolbarsModel *t, int toolbar_position, int position); |