forked from AuroraMiddleware/gtk
fontbutton: Call the css node "fontbutton"
Otherwise the default looks like a button inside a button.
This commit is contained in:
parent
b9fb186f46
commit
aa5f90d9f5
@ -47,7 +47,7 @@
|
||||
*
|
||||
* Button-like widgets like #GtkToggleButton, #GtkMenuButton, #GtkVolumeButton,
|
||||
* #GtkLockButton, #GtkColorButton, #GtkFontButton or #GtkFileChooserButton use
|
||||
* style classes such as .toggle, .popup, .scale, .lock, .color, .font, .file
|
||||
* style classes such as .toggle, .popup, .scale, .lock, .color, .file
|
||||
* to differentiate themselves from a plain GtkButton.
|
||||
*/
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
||||
*
|
||||
* # CSS nodes
|
||||
*
|
||||
* GtkFontButton has a single CSS node with name button and style class .font.
|
||||
* GtkFontButton has a single CSS node with name fontbutton.
|
||||
*/
|
||||
|
||||
|
||||
@ -611,7 +611,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
|
||||
g_cclosure_marshal_VOID__VOID,
|
||||
G_TYPE_NONE, 0);
|
||||
|
||||
gtk_widget_class_set_css_name (widget_class, "button");
|
||||
gtk_widget_class_set_css_name (widget_class, "fontbutton");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user