GNOME Bugzilla – Bug 303968
allow hiding the 'style' section of gtkfontselection
Last modified: 2011-09-05 04:26:38 UTC
I'd like to have a way to hide the 'style' section of gtkfontselection, so I could use it to only choose the family and size, and not confuse the user with a choice which I don't indent to honour.
Bug #54651 seems related...
Updating version field.
*** Bug 558413 has been marked as a duplicate of this bug. ***
Created attachment 121747 [details] [review] Add _font_selection_{g,s}et_select_{style,size} This patch allows toggling the visibility of the style and size widgets of a font selection, nothing more or less. The patch includes _no_show_all guards, I'm not sure if I actually like that myself. It was helpful in my test case, though. I'm not entierely sure if merely hiding the according widgets is good enough, opinions welcome. Last but not least, no properties, I need to add those if we agree on this feature.
Created attachment 142998 [details] [review] Add _font_selection_get/set_select_style/size + properties Updated patch, including properties.
GtkFontSelection is being replaced by GtkFontChooser, which doesn't have a separate style list anyway