Jasper St. Pierre
d252282e75
inspector: git ignore template headers
2014-05-15 11:06:08 -04:00
Matthias Clasen
2e07865f67
Drop debug spew
2014-05-15 08:47:44 -04:00
Matthias Clasen
93204d3ba8
Don't lie about baselines so much
...
Let g_object_get (w, "valign",...) report the truth, so that the
inspector can show it without special cases.
2014-05-15 08:43:43 -04:00
Yosef Or Boczko
e24e621fff
inspector: Added general.ui to Makefile
2014-05-15 12:52:47 +03:00
Matthias Clasen
42dc501133
inspector: Drop unused functions
...
The entire UI is constructed with templates, so the wrapper
constructors are never called, except for gtk_inspector_window_new,
which gets called from the GTK+ code.
2014-05-15 00:14:37 -04:00
Matthias Clasen
75d49675f3
inspector: Add a general information tab
...
It is useful to see the GTK+ version, and the various paths
that affect GTK+ operation at runtime.
2014-05-15 00:06:43 -04:00
Matthias Clasen
b36c8250a9
inspector: Merge Visual and Themes tabs
2014-05-14 22:53:32 -04:00
Matthias Clasen
2d2f9861a6
inspector: Show GAction information
...
Show the actions that are added to GtkApplication and
GtkApplicationWindows, as well as action groups that are
inserted elsewhere with gtk_widget_insert_action_group.
https://bugzilla.gnome.org/show_bug.cgi?id=730095
2014-05-14 21:40:01 -04:00
Matthias Clasen
3f224a7165
Add private GtkWidget api for action groups
...
Similar to the just-added action muxer api for enumerating
action prefixes and for getting the action group for a
prefix.
https://bugzilla.gnome.org/show_bug.cgi?id=730095
2014-05-14 21:28:53 -04:00
Matthias Clasen
4396bbdb3c
GtkActionMuxer: Add getters
...
Add a way to enumerate all prefixes, and to get the
action group for a prefix.
https://bugzilla.gnome.org/show_bug.cgi?id=730095
2014-05-14 21:27:56 -04:00
Matthias Clasen
384393e9de
Revert "Add private api to load a single module"
...
This reverts commit 7f9a0dbe16
.
2014-05-14 21:25:28 -04:00
Matthias Clasen
59c9d24bbf
inspector: stop being a module
...
Moving the inspector into libgtk lets use reuse internals without
having to add public API for everything or inventing awkward private
call conventions.
https://bugzilla.gnome.org/show_bug.cgi?id=730095
2014-05-14 21:23:44 -04:00
Matthias Clasen
53b37b8f71
Fix GtkCalendar drawing
...
A gtk_widget_get_allocation call was unintentionally
dropped in 5cb43c70f7
.
2014-05-14 20:38:55 -04:00
Cosimo Cecchi
6ecc431c23
placessidebar: use proper canonicalization when checking if home
...
Instead of just checking the string. This catches things like double
slashes, relative paths and so on.
https://bugzilla.gnome.org/show_bug.cgi?id=730142
2014-05-14 16:05:44 -07:00
Ryan Lortie
6525130740
GtkMenuShell: (model binding) show() new items
...
We weren't calling show() on newly-added items -- make sure we do that.
This makes the Time menu in bloatpad work properly again.
2014-05-14 15:49:30 -04:00
Matthias Clasen
8b0b024385
More deprecation docs for GtkArrow
2014-05-13 23:52:47 -04:00
Matthias Clasen
a600718846
Deprecate GtkArrow
...
https://bugzilla.gnome.org/show_bug.cgi?id=729564
2014-05-13 23:50:13 -04:00
Matthias Clasen
219f96b8a3
Drop GtkArrow use in GtkTreeView
...
This was just an unneeded include anyway.
2014-05-13 23:50:13 -04:00
Matthias Clasen
c242437535
Drop GtkArrow use in GtkPathBar
...
This was just an unneeded include anyway.
2014-05-13 23:50:13 -04:00
Matthias Clasen
7269168e89
Drop GtkArrow use in GtkMenuToolButton
...
This was just an unneeded include anyway.
2014-05-13 23:50:13 -04:00
Matthias Clasen
57feff4e14
Drop GtkArrow use in GtkTreeViewColumn
...
This is in preparation for GtkArrow getting deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=729564
2014-05-13 23:50:12 -04:00
Matthias Clasen
26e1b7c7d7
Drop GtkArrow use in GtkToolbar
...
This is in preparation for GtkArrow getting deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=729564
2014-05-13 23:50:12 -04:00
Matthias Clasen
69314ce9e5
Drop GtkArrow use in GtkMenuButton
...
This is in preparation for GtkArrow getting deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=729564
2014-05-13 23:50:12 -04:00
Matthias Clasen
9a127d364f
Drop GtkArrow use in GtkComboBox
...
This is in preparation for GtkArrow getting deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=729564
2014-05-13 23:50:12 -04:00
Matthias Clasen
0f5814aa33
icontheme: Add a test for lookup order
...
Add tests that verify the expected lookup order between -symbolic,
-rtl/-ltr and generic fallback.
2014-05-14 04:28:36 +02:00
Matthias Clasen
b0b205040c
GtkIconTheme: Support looking up directional variants
...
Add two new icon lookup flags, GTK_ICON_LOOKUP_DIR_LTR and _RTL,
which tell GtkIconTheme to look for icon variants which have a
-ltr or -rtl suffix. GtkIconHelper adds these lookup flags when
looking up icons.
Note that due to the way this overlaps with symbolic icon lookup,
directional variants of symbolic icons must be called -symbolic-rtl, not
-rtl-symbolic.
https://bugzilla.gnome.org/show_bug.cgi?id=729980
2014-05-14 04:28:36 +02:00
Benjamin Otte
89d6598d5b
icontheme: Split out symbolicness tests into own function
2014-05-14 04:28:36 +02:00
Benjamin Otte
783e5f7b3e
themingengine: Don't transform icon shadows
...
.. by -gtk-icon-transform. We want a rotating spinner's shadow to still
be directed towards bottom right.
2014-05-14 04:28:35 +02:00
Benjamin Otte
cb0b4b5410
css: Change CssTransformValue API
...
Provide API to query the matrix instead of API that applies the matrix
directly. This makes the API more flexible.
See the commits implementing shadows.
2014-05-14 04:28:35 +02:00
Benjamin Otte
ce0835e539
themingengine: Draw "icon-shadow" on icons
2014-05-14 04:28:35 +02:00
Benjamin Otte
b9f11cb636
themingengine: Draw icons for arrows
2014-05-14 04:28:35 +02:00
Benjamin Otte
b0ea9e4dea
themingengine: Use icons for expanders
2014-05-14 04:28:35 +02:00
Benjamin Otte
bb7a5691a9
themingengine: Implement icon drawing for checks and options
2014-05-14 04:28:34 +02:00
Benjamin Otte
5d1b5c13fb
icontheme: Don't force missing icon
...
When forcing regular or symbolic icons, fall back to the default
specified icons. This ensures that when no symbolic icon is present, an
icon will still appear - the regular one.
2014-05-14 04:28:34 +02:00
Benjamin Otte
f8cccbad0e
iconhelper: Respect -gtk-icon-style
...
This allows styling of entry icons, treeview pixbufs and images. They
can now be forced to be symbolic or regular.
2014-05-14 04:28:34 +02:00
Benjamin Otte
9619b8cff4
API: icontheme: Add 2 new GtkIconLookupFlags
...
GTK_ICON_LOOKUP_FORCE_REGULAR and GTK_ICON_LOOKUP_FORCE_SYMBOLIC can be
used to force a regular or symbolic icon to be loaded, even if the icon
names specify a different version.
This is intended to support the CSS property -gtk-icon-style.
2014-05-14 04:28:34 +02:00
Benjamin Otte
109fcb987b
css: Add a -gtk-icon-style property
...
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.
2014-05-14 04:28:34 +02:00
Benjamin Otte
55f473f4e6
spinner: Don't arbitrarily limit sizes anymore
...
This essentially reverts b33877e173
Now that we can theme the spinner as a real icon using -gtk-icontheme()
this limit is no longer necessary.
2014-05-14 04:28:34 +02:00
Benjamin Otte
f56ba8378b
css: Add -gtk-icon-transform property
...
This property allows transforming icons and is mainly intended to be
used for spinner animations.
2014-05-14 04:28:33 +02:00
Benjamin Otte
965cd4a9c0
css: Add GtkCssTransformValue
...
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)
2014-05-14 04:28:33 +02:00
Benjamin Otte
a56637b330
themingengine: Draw icons for spinners
...
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.
2014-05-14 04:28:33 +02:00
Benjamin Otte
226e1cd2b2
css: Add -gtk-icon-source property
...
This is to be used for rendering icon content via CSS, such as spinners
or checkboxes.
2014-05-14 04:28:33 +02:00
Benjamin Otte
633ec8184d
css: Add support for -gtk-icontheme("icon-name")
...
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.
2014-05-14 04:28:33 +02:00
Matthias Clasen
f6af96723c
GtkButton: Deprecated setters and getters as well
...
gtk_button_set/get_alignment should be deprecated together
with the properties they are setters/getters for.
2014-05-13 22:19:30 -04:00
Matthias Clasen
069a2603ef
inspector: Add a setting to disable the keybinding
...
This will be needed for lockdown, e.g. on the login screen.
https://bugzilla.gnome.org/show_bug.cgi?id=730007
2014-05-13 15:20:36 -04:00
Matthias Clasen
b8531087bd
inspector: All to turn it on programmatically
...
Export gtk_window_set_interactive_debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=730008
2014-05-13 15:20:36 -04:00
Matthias Clasen
514efb51b0
Add some documentation to the filechooser schema
2014-05-13 15:20:36 -04:00
Matthias Clasen
128748c5cd
Add some documentation to the colorchooser schema
2014-05-13 15:20:36 -04:00
Matthias Clasen
123715d878
Minor documentation fix
...
Two stray references, pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=730035
2014-05-13 11:56:29 -04:00
Matthias Clasen
b8309cdf2f
Fix a leftover deprecation warning
2014-05-13 11:56:29 -04:00
Olivier Brunel
0d2d1904b1
treestore: Fix segfault when reordering non-existing children
...
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>
2014-05-13 11:56:28 -04:00
Matthias Clasen
75c22332d0
Minor doc fixup
2014-05-13 11:56:23 -04:00
Matthias Clasen
0d8c1c9c09
Improve the GTK_STYLE_PROVIDER_PRIORITY_FALLBACK docs
...
Explain possible gotcha with catch-all rules.
2014-05-13 11:20:06 -04:00
Matthias Clasen
63288829b0
Add an alternative keybinding for the inspector
...
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
2014-05-13 11:04:43 -04:00
Matthias Clasen
ec0a60a248
Deprecate GtkMisc
...
This has been dangling ever since 3.0.
2014-05-13 08:45:00 -04:00
Matthias Clasen
49188aeeda
GtkLabel: Drop references to GtkMisc
...
GtkMisc is heading for retirement. Point to the GtkWidget h/valign
properties instead.
2014-05-13 07:14:38 -04:00
Matthias Clasen
8a8ce85ea0
GtkMenuItem: Stop using gtk_misc_set_alignment
...
GtkMisc is heading for deprecation. Just use GtkWidget h/valign.
https://bugzilla.gnome.org/show_bug.cgi?id=650762
2014-05-13 07:06:06 -04:00
Matthias Clasen
42f8b4b48b
GtkButton: Deprecate xalign and yalign properties
...
These are directly passed through to GtkMisc/GtkAlignment, which
are both on the way to deprecation.
2014-05-13 06:26:19 -04:00
Matthias Clasen
807f0aa747
Minor documentation edit
2014-05-12 22:58:47 -04:00
Owen W. Taylor
8f9e50de80
GtkPopover: inherit actions from the relative_to widget
...
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
2014-05-12 16:39:44 -04:00
Sébastien Wilmet
1e3af04dd9
gtk_text_buffer_create_tag(): returns NULL on failure
...
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
2014-05-12 19:10:30 +02:00
Sébastien Wilmet
68ad33cb89
Add boolean return value for gtk_text_tag_table_add()
...
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
2014-05-12 19:10:30 +02:00
Matthias Clasen
7b17060654
GtkIconFactory: Remove outdated information from the docs
...
The stock browser was removed from gtk3-demo.
2014-05-11 22:02:45 -04:00
Matthias Clasen
49733154a6
Deprecate GtkNumerableIcon
...
It was a failed experiment, it is basically unused, and it complicates
code in GtkIconTheme that we want to rework.
2014-05-11 22:02:32 -04:00
Matthias Clasen
5cd5db1f57
Remove a redundant check
...
gtk_widget_show/_hide already check the widget's visibility.
https://bugzilla.gnome.org/show_bug.cgi?id=728135
2014-05-11 11:56:22 -04:00
Matthias Clasen
53a67d20a2
extract-strings: Support more GtkBuilder markup
...
The inspector templates are using the <item> tag with an
id attribute, which was causing extract-strings to fail.
Fix this.
2014-05-10 22:04:38 -04:00
Matthias Clasen
7a56404e7b
Make the inspector available via GTK_DEBUG
...
Change things around so GTK_DEBUG=interactive also brings
up the inspector window.
2014-05-10 22:04:36 -04:00
Matthias Clasen
1a6dd9fcd2
GtkApplication: implement the active-window property
...
This was apparently just forgotten.
First bug found by GtkInspector.
2014-05-10 22:04:26 -04:00
Matthias Clasen
ccff3e952d
Rename parasite to gtkinspector
...
This avoids namespace collisions with the original
gtkparasite project, and adds the gtk prefix to
all symbols and type names.
2014-05-10 22:04:20 -04:00
Matthias Clasen
19bf88acfa
Add a 'toggle-debugging' keybinding
...
This is bound to Ctrl-Shift-I (for inspector) by default.
It loads the gtkparasite module and opens a parasite window.
2014-05-10 22:04:19 -04:00
Matthias Clasen
7f9a0dbe16
Add private api to load a single module
...
In the following commits, this function will be used to load the
gtkparasite module.
2014-05-10 22:04:19 -04:00
Benjamin Otte
2dc100fa76
css: Add forgotten files
...
Forgot to add those files in 3a72e2fb24
2014-05-11 04:00:55 +02:00
Benjamin Otte
0e462f0d2d
css: Implement "all" shorthand
...
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.
2014-05-11 03:23:55 +02:00
Benjamin Otte
3a72e2fb24
css: Implement "unset"
...
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.
2014-05-11 03:23:55 +02:00
Benjamin Otte
fa8ca5fd13
iconhelper: Simplify code
...
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.
2014-05-11 03:23:54 +02:00
Emmanuele Bassi
61ed31a473
win32embed: Set the visible flag and avoid recursion
...
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
2014-05-10 19:42:35 +01:00
Matthias Clasen
f5e64936da
GtkWindow: small cleanup
...
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.
2014-05-09 17:13:53 -04:00
Cosimo Cecchi
b0ace67712
widget: deprecate focus-line-width style property
...
Nothing in GTK uses it anymore.
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
57f4d3d78a
flowbox: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
9eb1e1b15e
listbox: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
13649a3fbc
colorscale: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
caa73b2128
modelbutton: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
e2f2571dee
range: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
69f2fecb1c
expander: don't use focus-line-width
2014-05-09 11:02:46 -07:00
Cosimo Cecchi
853dcc615d
notebook: don't use focus-line-width
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
1627c903d8
spinbutton: remove unused code
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
9f7bab0aca
entry: remove unused code
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
92d23be47d
switch: don't use focus-line-width
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
8fff30090b
radiobutton: don't use focus-line-width
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
a32260660b
checkbutton: don't use focus-line-width
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
a2a1c6da95
cellarea: don't use focus-line-width
...
Use CSS padding instead.
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
2cbf3c66ef
treeview: use the CELL style class while doing cell size request
...
Since we use the same style class later when we draw them. Otherwise
we'll get inconsistent results for CSS borders/paddings between the two
cycles.
2014-05-09 11:02:45 -07:00
Cosimo Cecchi
0ff3f16da1
calendar: don't use focus-line-width
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
694b209094
button: don't use focus-line-width
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
bbadfbcd2a
button: remove unused code
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
e8c906966e
widget: deprecate focus-line-pattern style property
...
Nothing in GTK uses it.
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
a2decd1f2f
widget: deprecate focus-padding style property
...
There's no use left inside GTK.
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
5cb43c70f7
calendar: simplify code
...
Always use the newly introduced get_component_paddings() instead of
doing the work manually every time.
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
1e66a7ccdb
calendar: use CSS paddings instead of focus pad for day/week areas
...
focus-padding is going away.
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
83b4e67307
range: remove unused code
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
c62d6fea70
colorscale: don't use focus padding
2014-05-09 11:02:44 -07:00
Cosimo Cecchi
365ab7f73b
range: don't use focus padding
2014-05-09 11:02:43 -07:00
Cosimo Cecchi
d0b8ef3a6f
scale: remove unused code
2014-05-09 11:02:43 -07:00
Cosimo Cecchi
24a422631d
expander: don't use focus padding
2014-05-09 11:02:43 -07:00
Cosimo Cecchi
d2f77984dc
expander: add support for CSS padding and borders
...
We need to do this since we're about to remove focus-pad.
2014-05-09 11:02:43 -07:00
Cosimo Cecchi
9a811e2c94
notebook: don't use focus padding
2014-05-09 11:02:43 -07:00
Cosimo Cecchi
80981f5c95
modelbutton: don't use focus padding
2014-05-09 11:02:43 -07:00
Cosimo Cecchi
053b21cc1f
flowbox: don't use focus padding
2014-05-09 11:02:43 -07:00
Cosimo Cecchi
241b4c0c75
listbox: don't use focus padding
2014-05-09 11:02:43 -07:00
Cosimo Cecchi
ceab6ee15d
switch: don't use focus padding
2014-05-09 11:02:42 -07:00
Cosimo Cecchi
52e40a1725
treeview: don't use focus padding
2014-05-09 11:02:42 -07:00
Cosimo Cecchi
c20e8b0b49
checkbutton: support CSS paddings and borders
...
We need this since we just removed focus-padding.
2014-05-09 11:02:42 -07:00
Cosimo Cecchi
99f0776f19
checkbutton: don't use focus padding
2014-05-09 11:02:42 -07:00
Cosimo Cecchi
8b068e996f
button: don't read focus padding property
...
We're going to deprecate it.
2014-05-09 11:02:42 -07:00
Cosimo Cecchi
b03c22e0c9
widget: deprecate interior-focus style property
...
Nothing uses it anymore inside GTK.
2014-05-09 11:02:42 -07:00
Cosimo Cecchi
521475da4d
win32: don't set interior-focus in the theme
2014-05-09 11:02:42 -07:00
Cosimo Cecchi
a3cbcc6451
textview: always use interior focus
2014-05-09 11:02:42 -07:00
Cosimo Cecchi
5a16ec366d
spinbutton: remove unused code
2014-05-09 11:02:41 -07:00
Cosimo Cecchi
0c6cc487d6
radiobutton: always use interior focus
2014-05-09 11:02:41 -07:00
Cosimo Cecchi
b77a8bcb95
expander: always use interior focus
2014-05-09 11:02:41 -07:00
Cosimo Cecchi
21e32f1989
checkbutton: always use interior focus
2014-05-09 11:02:41 -07:00
Cosimo Cecchi
779707fabb
entry: always use interior focus
2014-05-09 11:02:41 -07:00
Cosimo Cecchi
4c06925ec2
button: always use interior focus
...
We're going to deprecate the property, and this is what everyone has
been using.
2014-05-09 11:02:41 -07:00
Matthias Clasen
f4d02bd9c1
GtkCellArea: allow finding attributes at runtime
...
This will allow e.g. GtkInspector to display attribute mappings.
http://bugzilla.gnome.org/show_bug.cgi?id=729817
2014-05-08 14:09:04 -04:00
Matthias Clasen
c813765430
GtkListBox: improve the docs
...
The documentation was not really clear about ::row-selected
not working for multi-selection.
2014-05-08 07:33:01 -04:00
William Jon McCann
74405cc964
Update the design for progress bars
...
We now use a narrower trough and paint the optional text
beside the trough instead of inside it. This makes for a much
cleaner appearance and more readable text.
2014-05-07 09:56:35 -04:00
Matthias Clasen
644f08a771
Remove debug spew
2014-05-07 06:51:51 -04:00
Benjamin Otte
352e28a138
viewport: Don't subtract borders and padding from -1
...
-1 is a special value for "undefined" and needs to stay that way
https://bugzilla.gnome.org/show_bug.cgi?id=729607
2014-05-06 04:02:40 +02:00
Marcus Karlsson
c39b6be22b
docs: Fix name of GtkFileChooser's Create Folder button
...
The documentation for GtkFileChooser references the button which allows
the user to create new folders as the New Folder button, although the
label actually says Create Folder.
Update the documentation to say Create Folder instead of New Folder.
https://bugzilla.gnome.org/show_bug.cgi?id=729475
2014-05-05 20:54:47 -04:00
Marcus Karlsson
7850fb62ea
docs: fix typos in gtk_file_chooser_set_local_only
...
Change "file are files" to "file or files." Also remove an excessive
"file" in "file system."
https://bugzilla.gnome.org/show_bug.cgi?id=729473
2014-05-05 20:47:04 -04:00
Matthias Clasen
22ab2ca2a5
a11y: Avoid a warning
...
The listbox row accessible code was giving warnings when
parent is NULL, at destruction time.
2014-05-05 19:46:04 -04:00
Juan Pablo Ugarte
b9f91bcd8c
GtkColorButton: Fix recursion loop in "use-alpha" set_property()
2014-05-05 15:31:50 -03:00
Benjamin Otte
748b2bf5ae
a11y: Disable deprecation warnings in AtkMisc implementation
2014-05-05 16:10:16 +02:00
Benjamin Otte
a89c598617
combobox: Add workaround so evolution doesn't crash
...
Removing the NULL checks in 7f60cab47d
caused evolution to crash. It chains up with NULL and that used to work.
This patch should be reverted for GTK 4.0.
https://bugzilla.gnome.org/show_bug.cgi?id=729496
2014-05-05 15:53:03 +02:00
Benjamin Otte
18a594c392
applicationwindow: Properly unmap the menubar widget
2014-05-05 15:48:02 +02:00
Benjamin Otte
65c4c1555d
css: Fix printing code for CSS strings and idents
...
It used to infloop on special characters.
2014-05-05 15:48:02 +02:00
Benjamin Otte
b356d81410
css: Split out a common function
...
It's used in two places already, and Iwant to use it in a third one.
2014-05-05 15:48:02 +02:00
Matthias Clasen
d495ab1ca0
Small documentation update
...
Don't show an example that doesn't work anymore.
2014-05-05 09:41:06 -04:00
Matthias Clasen
7e8703918b
Small documentation fixes
...
Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=729461
2014-05-05 07:25:27 -04:00
Matthias Clasen
3e80ce39e1
GtkApplication: Clarify docs a bit
...
Explicitly mention how gtk_application_set_accels_for_action can
be used to remove all accelerators for an action.
https://bugzilla.gnome.org/show_bug.cgi?id=729451
2014-05-05 07:25:27 -04:00
Paolo Borelli
abf10a74b7
listbox: check gsequence end iter in get_row_at_index
2014-05-04 19:45:28 +02:00
Matthias Clasen
d1d2763d00
GtkHeaderBar: Allow overdrawing
...
The draw function of GtkHeaderBar was returning TRUE, causing
after-signal handlers to not run. This breaks e.g. drawing of
dnd hightlights. Fix that.
2014-05-03 13:16:46 -04:00
Matthias Clasen
a41e2b901d
Fix a thinko in the last color button change
...
Using the interface method in the set_property implementation
leads to an infinite recursion, if the interface method is in
turn using g_object_set.
2014-05-02 21:09:05 -04:00
Matthias Clasen
47094a2a8a
GtkDialog: Reduce a g_warning to a g_message
...
Otherwise, this breaks our testsuite.
2014-05-02 20:47:56 -04:00
Matthias Clasen
9d7f7ddadf
GtkSpinButton: Implement new AtkValue interface
...
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
2014-05-02 20:47:16 -04:00
Matthias Clasen
fc7e7495a6
GtkScaleButton: Implement new AtkValue interface
...
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
2014-05-02 20:47:00 -04:00
Matthias Clasen
516cd70780
GtkRange: Implement new AtkValue interface
...
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
2014-05-02 20:46:45 -04:00
Matthias Clasen
1d50657740
GtkProgressBar: Implement new AtkValue interface
...
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
2014-05-02 20:46:30 -04:00
Matthias Clasen
98affc6829
GtkPaned: Implement new AtkValue interface
...
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
2014-05-02 20:46:17 -04:00
Matthias Clasen
987cce9e65
GtkLevelBar: Implement new AtkValue interface
...
The AtkValue interface has been replaced in ATK 2.12.
Implement the new one in addition to the old one.
2014-05-02 20:46:03 -04:00