summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* css: Add a -gtk-icon-style propertyBenjamin Otte2014-05-144-0/+85
| | | | | | | | | | | | | The values can be: "requested" - the style as requested "regular" - use a regular full-color icon "symbolic" - use a symbolic icon The property defaults to "requested", so no changes should be seen unless CSS overrides it. It is also inherited, so that using this CSS .toolbar { -gtk-icon-style: symbolic; } is enough to force the whole toolbar to use symbolic icons.
* spinner: Don't arbitrarily limit sizes anymoreBenjamin Otte2014-05-141-6/+0
| | | | | | | This essentially reverts b33877e1737a7799b29f5b3a3d291e55e95e8436 Now that we can theme the spinner as a real icon using -gtk-icontheme() this limit is no longer necessary.
* css: Add -gtk-icon-transform propertyBenjamin Otte2014-05-143-3/+28
| | | | | This property allows transforming icons and is mainly intended to be used for spinner animations.
* css: Add GtkCssTransformValueBenjamin Otte2014-05-143-0/+1087
| | | | | | | | | The value implements the 2D parts of CSS transforms. See http://www.w3.org/TR/css3-transforms/ For the specification. All it does is give us an expressive way to define Cairo matrices (and their transforms)
* themingengine: Draw icons for spinnersBenjamin Otte2014-05-141-0/+24
| | | | | If the -gtk-icon-source property is not set to "none" (the default), draw it as the spinner icon. Otherwise fall back to previous methods.
* css: Add -gtk-icon-source propertyBenjamin Otte2014-05-142-0/+9
| | | | | This is to be used for rendering icon content via CSS, such as spinners or checkboxes.
* css: Add support for -gtk-icontheme("icon-name")Benjamin Otte2014-05-144-0/+229
| | | | | | | This allows using icons from the icontheme as images in CSS. The reasoning is that this allows to give the image control about how it's scaled (by using the icon theme's scaling method. So we can get crisp images at different resolutions.
* GtkButton: Deprecated setters and getters as wellMatthias Clasen2014-05-133-2/+14
| | | | | gtk_button_set/get_alignment should be deprecated together with the properties they are setters/getters for.
* inspector: Add a setting to disable the keybindingMatthias Clasen2014-05-133-10/+54
| | | | | This will be needed for lockdown, e.g. on the login screen. https://bugzilla.gnome.org/show_bug.cgi?id=730007
* inspector: All to turn it on programmaticallyMatthias Clasen2014-05-133-2/+13
| | | | | Export gtk_window_set_interactive_debugging. https://bugzilla.gnome.org/show_bug.cgi?id=730008
* Add some documentation to the filechooser schemaMatthias Clasen2014-05-131-11/+22
|
* Add some documentation to the colorchooser schemaMatthias Clasen2014-05-131-0/+13
|
* Minor documentation fixMatthias Clasen2014-05-131-1/+1
| | | | | Two stray references, pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=730035
* Fix a leftover deprecation warningMatthias Clasen2014-05-131-2/+1
|
* treestore: Fix segfault when reordering non-existing childrenOlivier Brunel2014-05-131-0/+6
| | | | | | | Calling gtk_tree_store_reorder() on a node without children would cause a segfault; Fixes https://bugzilla.gnome.org/show_bug.cgi?id=698396 Signed-off-by: Olivier Brunel <jjk@jjacky.com>
* Minor doc fixupMatthias Clasen2014-05-131-2/+2
|
* Improve the GTK_STYLE_PROVIDER_PRIORITY_FALLBACK docsMatthias Clasen2014-05-131-0/+5
| | | | Explain possible gotcha with catch-all rules.
* Add an alternative keybinding for the inspectorMatthias Clasen2014-05-131-0/+2
| | | | | | Control-Shift-I is already used for similar things in many applications, so provide Control-Shift-D as an alternative. https://bugzilla.gnome.org/show_bug.cgi?id=730043
* Deprecate GtkMiscMatthias Clasen2014-05-1314-29/+75
| | | | This has been dangling ever since 3.0.
* GtkLabel: Drop references to GtkMiscMatthias Clasen2014-05-131-7/+8
| | | | | GtkMisc is heading for retirement. Point to the GtkWidget h/valign properties instead.
* GtkMenuItem: Stop using gtk_misc_set_alignmentMatthias Clasen2014-05-131-1/+2
| | | | | GtkMisc is heading for deprecation. Just use GtkWidget h/valign. https://bugzilla.gnome.org/show_bug.cgi?id=650762
* GtkButton: Deprecate xalign and yalign propertiesMatthias Clasen2014-05-131-14/+20
| | | | | These are directly passed through to GtkMisc/GtkAlignment, which are both on the way to deprecation.
* Minor documentation editMatthias Clasen2014-05-121-0/+4
|
* GtkPopover: inherit actions from the relative_to widgetOwen W. Taylor2014-05-122-0/+3
| | | | | | | | Make the relative_to widget the parent for a GtkPopover's GtkActionGroup. This, for example, makes the menu model of a GtkMenuButton find action groups attached to the button. https://bugzilla.gnome.org/show_bug.cgi?id=729915
* gtk_text_buffer_create_tag(): returns NULL on failureSébastien Wilmet2014-05-121-1/+5
| | | | | | | | Returns NULL in case of a duplicated tag name in the tag table. It is still a programmer error to duplicate a name, but if it happens the behavior is a little nicer (and hopefully doesn't crash). https://bugzilla.gnome.org/show_bug.cgi?id=614717
* Add boolean return value for gtk_text_tag_table_add()Sébastien Wilmet2014-05-122-6/+9
| | | | | | | | The user doesn't need to check the return value, because if FALSE is returned it is a programmer error. But it permits a nicer behavior for gtk_text_buffer_create_tag() in case of failure. https://bugzilla.gnome.org/show_bug.cgi?id=614717
* GtkIconFactory: Remove outdated information from the docsMatthias Clasen2014-05-113-4/+29
| | | | The stock browser was removed from gtk3-demo.
* Deprecate GtkNumerableIconMatthias Clasen2014-05-115-17/+17
| | | | | It was a failed experiment, it is basically unused, and it complicates code in GtkIconTheme that we want to rework.
* Remove a redundant checkMatthias Clasen2014-05-111-7/+4
| | | | | | gtk_widget_show/_hide already check the widget's visibility. https://bugzilla.gnome.org/show_bug.cgi?id=728135
* extract-strings: Support more GtkBuilder markupMatthias Clasen2014-05-101-0/+1
| | | | | | The inspector templates are using the <item> tag with an id attribute, which was causing extract-strings to fail. Fix this.
* Make the inspector available via GTK_DEBUGMatthias Clasen2014-05-104-12/+29
| | | | | Change things around so GTK_DEBUG=interactive also brings up the inspector window.
* GtkApplication: implement the active-window propertyMatthias Clasen2014-05-101-0/+4
| | | | | This was apparently just forgotten. First bug found by GtkInspector.
* Rename parasite to gtkinspectorMatthias Clasen2014-05-101-11/+13
| | | | | | This avoids namespace collisions with the original gtkparasite project, and adds the gtk prefix to all symbols and type names.
* Add a 'toggle-debugging' keybindingMatthias Clasen2014-05-102-1/+61
| | | | | This is bound to Ctrl-Shift-I (for inspector) by default. It loads the gtkparasite module and opens a parasite window.
* Add private api to load a single moduleMatthias Clasen2014-05-103-1/+8
| | | | | In the following commits, this function will be used to load the gtkparasite module.
* css: Add forgotten filesBenjamin Otte2014-05-112-0/+133
| | | | Forgot to add those files in 3a72e2fb2483d4dd26eb74319613ffb505d89128
* css: Implement "all" shorthandBenjamin Otte2014-05-111-0/+39
| | | | | | | | Here's the spec: http://dev.w3.org/csswg/css-cascade/#all-shorthand Also use it in the reset-to-defaults CSS where a bunch of properties had been missing.
* css: Implement "unset"Benjamin Otte2014-05-115-0/+30
| | | | | | | | | | | | | Quoting the spec: If the cascaded value of a property is the unset keyword, then if it is an inherited property, this is treated as inherit, and if it is not, this is treated as initial. Spec in question: http://dev.w3.org/csswg/css-cascade/ Also use unset in the reset-to-defaults.css we use to reset css in reftests.
* iconhelper: Simplify codeBenjamin Otte2014-05-111-29/+13
| | | | | | In the GTK_IMAGE_ICON_NAME case, instead of keeping around the icon_name, create a GThemedIcon and use that. This way, we can reuse the code paths for the GTK_IMAGE_GICON case.
* win32embed: Set the visible flag and avoid recursionEmmanuele Bassi2014-05-101-2/+2
| | | | | | | | We have to use the internal accessor to the visible flag, instead of calling gtk_widget_set_visible(), from within the show() and hide() implementations - otherwise we'll recurse. https://bugzilla.gnome.org/show_bug.cgi?id=721069
* GtkWindow: small cleanupMatthias Clasen2014-05-091-5/+1
| | | | | | The window type is a construct-only property, so we should pass it to g_object_new, not set it after the fact in the constructor.
* widget: deprecate focus-line-width style propertyCosimo Cecchi2014-05-091-2/+9
| | | | Nothing in GTK uses it anymore.
* flowbox: don't use focus-line-widthCosimo Cecchi2014-05-091-9/+5
|
* listbox: don't use focus-line-widthCosimo Cecchi2014-05-091-9/+5
|
* colorscale: don't use focus-line-widthCosimo Cecchi2014-05-091-6/+5
|
* modelbutton: don't use focus-line-widthCosimo Cecchi2014-05-091-14/+5
|
* range: don't use focus-line-widthCosimo Cecchi2014-05-091-64/+32
|
* expander: don't use focus-line-widthCosimo Cecchi2014-05-091-30/+9
|
* notebook: don't use focus-line-widthCosimo Cecchi2014-05-091-28/+14
|
* spinbutton: remove unused codeCosimo Cecchi2014-05-091-8/+0
|