forked from AuroraMiddleware/gtk
don't attempt to add a NULL icon to the box.
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't attempt to add a NULL icon to the box.
This commit is contained in:
parent
52de946c3d
commit
27f361c238
@ -1,3 +1,8 @@
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
attempt to add a NULL icon to the box.
|
||||
|
||||
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
attempt to add a NULL icon to the box.
|
||||
|
||||
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
attempt to add a NULL icon to the box.
|
||||
|
||||
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
attempt to add a NULL icon to the box.
|
||||
|
||||
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
|
||||
attempt to add a NULL icon to the box.
|
||||
|
||||
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
|
||||
|
@ -353,6 +353,7 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item)
|
||||
|
||||
case GTK_TOOLBAR_BOTH:
|
||||
box = gtk_vbox_new (FALSE, 0);
|
||||
if (icon)
|
||||
gtk_box_pack_start (GTK_BOX (box), icon, TRUE, TRUE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE, 0);
|
||||
gtk_container_add (GTK_CONTAINER (button->priv->button), box);
|
||||
|
Loading…
Reference in New Issue
Block a user