aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xlib/egg/egg-toolbars-model.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8253035ec..2860fe744 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-07-29 Christian Persch <chpe@cvs.gnome.org>
+
+ * lib/egg/egg-toolbars-model.c: (parse_toolbars):
+
+ Fix a call to egg_toolbars_model_set_flags().
+
2004-07-28 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyContentPolicy.cpp:
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index 56cbcdb9c..61a5cbc7d 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -428,7 +428,8 @@ parse_toolbars (EggToolbarsModel *t,
style = xmlGetProp (child, "style");
if (style && xmlStrEqual (style, "icons-only"))
{
- egg_toolbars_model_set_flags (t, EGG_TB_MODEL_ICONS_ONLY, 0);
+ /* FIXME: use toolbar position instead of 0 */
+ egg_toolbars_model_set_flags (t, 0, EGG_TB_MODEL_ICONS_ONLY);
}
xmlFree (style);
@@ -609,7 +610,7 @@ static void
egg_toolbars_model_finalize (GObject *object)
{
EggToolbarsModel *t = EGG_TOOLBARS_MODEL (object);
-
+
/* FIXME free nodes */
g_node_destroy (t->priv->toolbars);