diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2003-08-29 18:28:23 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2003-08-29 18:28:23 +0000 |
commit | 545b40a1b306cf2603d2a845eda320624e901683 (patch) | |
tree | ecdef4048435fcf335f5403c70f0da78bf0ee1a6 /gtk/gtktoolbutton.c | |
parent | 4ec7006f282d3570b9ecff8e9e5eaef484f0723f (diff) | |
download | gtk+-545b40a1b306cf2603d2a845eda320624e901683.tar.gz |
Only treat buttons as homogeneous when they are narrower than 13 time the
Fri Aug 29 20:32:07 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c: Only treat buttons as homogeneous when they
are narrower than 13 time the estimated character width of the
font. (#107781, David Bordoley)
* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): Check
here if the GtkToggleButton is active. This may be the case if it
is a radio button.
* gtk/gtktoolbar.c: Clarify documentation wrt. GtkSignalFunc
vs. void (*) (GtkWidget, gpointer). (#107495, Mariano
Suarez-Alvarez).
* gtk/gtkcheckmenuitem.[ch]: new "draw_as_radio"
property. (#111207, David Bordoley).
* gtk/gtktoggletoolbutton.c
(gtk_toggle_tool_button_create_menu_proxy): use new
"draw_as_radio" property on the menu item when the item is a radio
tool button
* gtk/gtktoolbutton.c (gtk_tool_button_create_menu_proxy): Fixes
to only pay attention to the "use_underline" property when the
button label comes from the "label" property.
Diffstat (limited to 'gtk/gtktoolbutton.c')
-rw-r--r-- | gtk/gtktoolbutton.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c index 349fbda30b..5382b7d11d 100644 --- a/gtk/gtktoolbutton.c +++ b/gtk/gtktoolbutton.c @@ -554,12 +554,10 @@ gtk_tool_button_create_menu_proxy (GtkToolItem *item) else if (button->priv->stock_id && gtk_stock_lookup (button->priv->stock_id, &stock_item)) { label = stock_item.label; - use_mnemonic = FALSE; } else { label = ""; - use_mnemonic = FALSE; } if (use_mnemonic) |