Commit 0328873b authored by Radek Doulik's avatar Radek Doulik Committed by Radek Doulik

changed packing in toolbar elements, so texts are always at the bottom

Fri Mar 20 20:49:33 1998  Radek Doulik  <rodo@aquarius>

        * gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
        in toolbar elements, so texts are always at the bottom
parent babfb28c
Fri Mar 20 20:49:33 1998 Radek Doulik <rodo@aquarius>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
in toolbar elements, so texts are always at the bottom
Wed Mar 18 01:07:11 1998 Radek Doulik <rodo@aquarius>
* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
clist->title_window exists before showing it,
gtk_clist_column_titles_hide also fixed
Thu Mar 19 16:40:47 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* Released GTK+ 0.99.8
......
Fri Mar 20 20:49:33 1998 Radek Doulik <rodo@aquarius>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
in toolbar elements, so texts are always at the bottom
Wed Mar 18 01:07:11 1998 Radek Doulik <rodo@aquarius>
* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
clist->title_window exists before showing it,
gtk_clist_column_titles_hide also fixed
Thu Mar 19 16:40:47 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* Released GTK+ 0.99.8
......
Fri Mar 20 20:49:33 1998 Radek Doulik <rodo@aquarius>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
in toolbar elements, so texts are always at the bottom
Wed Mar 18 01:07:11 1998 Radek Doulik <rodo@aquarius>
* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
clist->title_window exists before showing it,
gtk_clist_column_titles_hide also fixed
Thu Mar 19 16:40:47 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* Released GTK+ 0.99.8
......
Fri Mar 20 20:49:33 1998 Radek Doulik <rodo@aquarius>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
in toolbar elements, so texts are always at the bottom
Wed Mar 18 01:07:11 1998 Radek Doulik <rodo@aquarius>
* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
clist->title_window exists before showing it,
gtk_clist_column_titles_hide also fixed
Thu Mar 19 16:40:47 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* Released GTK+ 0.99.8
......
Fri Mar 20 20:49:33 1998 Radek Doulik <rodo@aquarius>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
in toolbar elements, so texts are always at the bottom
Wed Mar 18 01:07:11 1998 Radek Doulik <rodo@aquarius>
* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
clist->title_window exists before showing it,
gtk_clist_column_titles_hide also fixed
Thu Mar 19 16:40:47 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* Released GTK+ 0.99.8
......
Fri Mar 20 20:49:33 1998 Radek Doulik <rodo@aquarius>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
in toolbar elements, so texts are always at the bottom
Wed Mar 18 01:07:11 1998 Radek Doulik <rodo@aquarius>
* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
clist->title_window exists before showing it,
gtk_clist_column_titles_hide also fixed
Thu Mar 19 16:40:47 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* Released GTK+ 0.99.8
......
Fri Mar 20 20:49:33 1998 Radek Doulik <rodo@aquarius>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): changed packing
in toolbar elements, so texts are always at the bottom
Wed Mar 18 01:07:11 1998 Radek Doulik <rodo@aquarius>
* gtk/gtkclist.c (gtk_clist_column_titles_show): test if
clist->title_window exists before showing it,
gtk_clist_column_titles_hide also fixed
Thu Mar 19 16:40:47 PST 1998 Shawn T. Amundson <amundson@gimp.org>
* Released GTK+ 0.99.8
......
......@@ -787,22 +787,22 @@ gtk_toolbar_insert_element (GtkToolbar *toolbar,
gtk_container_add (GTK_CONTAINER (child->widget), vbox);
gtk_widget_show (vbox);
if (icon)
{
child->icon = GTK_WIDGET (icon);
gtk_box_pack_start (GTK_BOX (vbox), child->icon, FALSE, FALSE, 0);
if (toolbar->style != GTK_TOOLBAR_TEXT)
gtk_widget_show (child->icon);
}
if (text)
{
child->label = gtk_label_new (text);
gtk_box_pack_start (GTK_BOX (vbox), child->label, FALSE, FALSE, 0);
gtk_box_pack_end (GTK_BOX (vbox), child->label, FALSE, FALSE, 0);
if (toolbar->style != GTK_TOOLBAR_ICONS)
gtk_widget_show (child->label);
}
if (icon)
{
child->icon = GTK_WIDGET (icon);
gtk_box_pack_end (GTK_BOX (vbox), child->icon, FALSE, FALSE, 0);
if (toolbar->style != GTK_TOOLBAR_TEXT)
gtk_widget_show (child->icon);
}
gtk_widget_show (child->widget);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment