Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
2008-07-06 Matthias Clasen <mclasen@redhat.com> Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes * gtk/gtksettings.c: Improve the documentation of the gtk-icon-sizes setting. Proposed by Tommi Komulainen. svn path=/trunk/; revision=20790
This commit is contained in:
committed by
Matthias Clasen
parent
e36dd2f4e3
commit
a2802754f1
@ -342,6 +342,20 @@ gtk_settings_class_init (GtkSettingsClass *class)
|
||||
NULL);
|
||||
g_assert (result == PROP_FONT_NAME);
|
||||
|
||||
/**
|
||||
* GtkSettings:gtk-icon-sizes:
|
||||
*
|
||||
* A list of icon sizes. The list is separated by colons, and
|
||||
* item has the form:
|
||||
*
|
||||
* <replaceable>size-name</replaceable> = <replaceable>width</replaceable> , <replaceable>height</replaceable>
|
||||
*
|
||||
* E.g. "gtk-menu=16,16:gtk-button=20,20:gtk-dialog=48,48".
|
||||
* GTK+ itself use the following named icon sizes: gtk-menu,
|
||||
* gtk-button, gtk-small-toolbar, gtk-large-toolbar, gtk-dnd,
|
||||
* gtk-dialog. Applications can register their own named icon
|
||||
* sizes with gtk_icon_size_register().
|
||||
*/
|
||||
result = settings_install_property_parser (class,
|
||||
g_param_spec_string ("gtk-icon-sizes",
|
||||
P_("Icon Sizes"),
|
||||
|
||||
Reference in New Issue
Block a user