aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/shortcut-bar/ChangeLog4
-rw-r--r--widgets/shortcut-bar/e-group-bar.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/widgets/shortcut-bar/ChangeLog b/widgets/shortcut-bar/ChangeLog
index 7f45553be3..2b32884bb3 100644
--- a/widgets/shortcut-bar/ChangeLog
+++ b/widgets/shortcut-bar/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-10 Ettore Perazzoli <ettore@helixcode.com>
+
+ * e-group-bar.c (e_group_bar_add): Set `group_bar'.
+
2000-06-19 Damon Chaplin <damon@helixcode.com>
* e-icon-bar-bg-item.c:
diff --git a/widgets/shortcut-bar/e-group-bar.c b/widgets/shortcut-bar/e-group-bar.c
index 582380c62e..bd96898765 100644
--- a/widgets/shortcut-bar/e-group-bar.c
+++ b/widgets/shortcut-bar/e-group-bar.c
@@ -628,6 +628,8 @@ e_group_bar_add (GtkContainer *container,
g_return_if_fail (E_IS_GROUP_BAR (container));
g_return_if_fail (widget != NULL);
+ group_bar = E_GROUP_BAR (container);
+
g_snprintf (buffer, sizeof (buffer), _("Group %i"),
group_bar->children->len + 1);
button = gtk_button_new_with_label (buffer);