]> Pileus Git - ~andy/gtk/commitdiff
Set the relief of the arrow button to the value returned by
authorSøren Sandmann <sandmann@redhat.com>
Fri, 5 Aug 2005 20:55:48 +0000 (20:55 +0000)
committerSøren Sandmann Pedersen <ssp@src.gnome.org>
Fri, 5 Aug 2005 20:55:48 +0000 (20:55 +0000)
Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>

* gtk/gtkmenutoolbutton.c
(gtk_menu_tool_button_construct_contents): Set the relief of the
arrow button to the value returned by
gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkmenutoolbutton.c

index 6a7077ce41fb2c1f17959c63065c242d8db1ee4d..d27bd99f06d655ad31efb373e20ec6b539fcff66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>
+
+       * gtk/gtkmenutoolbutton.c
+       (gtk_menu_tool_button_construct_contents): Set the relief of the
+       arrow button to the value returned by
+       gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
+
 2005-08-04  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>
 
        * configure.in: Re-added "te" to ALL_LINGUAS after
index 6a7077ce41fb2c1f17959c63065c242d8db1ee4d..d27bd99f06d655ad31efb373e20ec6b539fcff66 100644 (file)
@@ -1,3 +1,10 @@
+Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>
+
+       * gtk/gtkmenutoolbutton.c
+       (gtk_menu_tool_button_construct_contents): Set the relief of the
+       arrow button to the value returned by
+       gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
+
 2005-08-04  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>
 
        * configure.in: Re-added "te" to ALL_LINGUAS after
index 6a7077ce41fb2c1f17959c63065c242d8db1ee4d..d27bd99f06d655ad31efb373e20ec6b539fcff66 100644 (file)
@@ -1,3 +1,10 @@
+Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>
+
+       * gtk/gtkmenutoolbutton.c
+       (gtk_menu_tool_button_construct_contents): Set the relief of the
+       arrow button to the value returned by
+       gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
+
 2005-08-04  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>
 
        * configure.in: Re-added "te" to ALL_LINGUAS after
index dbc099d5bff1d79403465685773732872814e43f..713aa3f8844a5b563c70fb4162a82fa2d0d65cfa 100644 (file)
@@ -162,6 +162,9 @@ gtk_menu_tool_button_construct_contents (GtkMenuToolButton *button)
   gtk_container_add (GTK_CONTAINER (button), priv->box);
   gtk_widget_show_all (priv->box);
 
+  gtk_button_set_relief (GTK_BUTTON (priv->arrow_button),
+                        gtk_tool_item_get_relief_style (GTK_TOOL_ITEM (button)));
+  
   gtk_widget_queue_resize (GTK_WIDGET (button));
 }
 
@@ -420,7 +423,6 @@ gtk_menu_tool_button_init (GtkMenuToolButton *button)
 
   arrow_button = gtk_toggle_button_new ();
   arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
-  gtk_button_set_relief (GTK_BUTTON (arrow_button), GTK_RELIEF_NONE);
   gtk_container_add (GTK_CONTAINER (arrow_button), arrow);
   gtk_box_pack_end (GTK_BOX (box), arrow_button,
                     FALSE, FALSE, 0);