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
00275dfc9f
GdkCursor: Don't leak a cairo surface
...
The function gdk_cursor_new_from_pixbuf creates a cairo surface
to pass to its backend implementation, but doesn't destroy it
afterwards.
https://bugzilla.gnome.org/show_bug.cgi?id=729670
2014-05-07 19:29:56 -04:00
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
644f08a771
Remove debug spew
2014-05-07 06:51:51 -04:00
1c30470558
widget-factory: add linked entry and button example
2014-05-07 05:03:45 -04:00
ac5993a7e7
wayland: Fix c&p typo in touch capabilities handling.
2014-05-06 18:37:57 +02:00
cdfcd5fc85
Bloatpad: port to new accel api
2014-05-06 10:58:52 -04:00
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
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
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
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
b9f91bcd8c
GtkColorButton: Fix recursion loop in "use-alpha" set_property()
2014-05-05 15:31:50 -03:00
748b2bf5ae
a11y: Disable deprecation warnings in AtkMisc implementation
2014-05-05 16:10:16 +02:00
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
18a594c392
applicationwindow: Properly unmap the menubar widget
2014-05-05 15:48:02 +02:00
3aa357bcab
tests: Add test for latest patch
...
This tesst infloops without it.
2014-05-05 15:48:02 +02:00
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
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
d495ab1ca0
Small documentation update
...
Don't show an example that doesn't work anymore.
2014-05-05 09:41:06 -04:00
7e8703918b
Small documentation fixes
...
Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=729461
2014-05-05 07:25:27 -04:00
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
349ed52b7b
Updated Belarusian translation
2014-05-04 22:09:19 +00:00
abf10a74b7
listbox: check gsequence end iter in get_row_at_index
2014-05-04 19:45:28 +02:00
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
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
70a5e66d2f
a11y tests: Avoid deprecation warnings
...
We can't drop the index-based AtkTable methods unless we change
the output format, so just ignore the deprecations for now.
2014-05-02 20:59:00 -04:00
1bf6ad314d
a11y tests: Update expected output
...
The new AtkValue interface aways returns doubles, which causes
the range to be printed out with decimals.
2014-05-02 20:53:02 -04:00
4fc256de8a
a11y tests: Use the new AtkValue interface
...
The old interface is deprecated, and we just implemented the
new one, so lets test it.
2014-05-02 20:52:56 -04:00
47094a2a8a
GtkDialog: Reduce a g_warning to a g_message
...
Otherwise, this breaks our testsuite.
2014-05-02 20:47:56 -04:00
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
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
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
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
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
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
456dffcbfd
GtkWidget: Mark deprecated properties as such
...
The ::style, ::margin-left and ::margin-right properties are all
deprecated.
2014-05-02 19:25:27 -04:00
f66e239fe4
Drop unneeded deprecation suppression
...
Removing this did not produce any deprecation warnings.
2014-05-02 18:50:52 -04:00
4cdc32974a
queryimmodules: Localize suppressed deprecation
...
Drop the blanket GDK_DISABLE_DEPRECATION_WARNINGS and avoid
deprecated API as much as possible.
2014-05-02 18:48:36 -04:00
67b10e649e
GtkColorButton: Reduce internal use of deprecated API
...
Drop the blanket GDK_DISABLE_DEPRECATION_WARNINGS and avoid
deprecated API as much as possible.
2014-05-02 18:42:18 -04:00
69234cfecc
GtkColorButton: Update deprecation warnings
...
It is not great to have deprecation warnings point to another
deprecated function. Update them to point to the eventual
replacement.
2014-05-02 18:41:29 -04:00
c4ec89cf9d
GtkDialog: Warn about lack of transient parents
...
We want make it mandatory for dialogs to have transient parents,
eventually. This is a first step in that direction.
2014-05-02 18:23:58 -04:00
3db60baf2d
teststack: don't enumerate transitions manually
...
Thats what introspection is for.
2014-05-02 17:43:18 -04:00
3957ce4898
GtkStack: Avoid compiler warnings
...
gcc warns about unhandled enum values in these switch statements,
so add an empty default: case to placate the compiler.
2014-05-02 17:15:49 -04:00
5b5813fcdc
stack: Add counterparts of OVER_UP_DOWN transition
...
The GtkStackTransitionType enum now has OVER_DOWN_UP, OVER_LEFT_RIGHT,
and OVER_RIGHT_LEFT values to complement OVER_UP_DOWN.
https://bugzilla.gnome.org/show_bug.cgi?id=726676
2014-05-02 16:54:41 -04:00
a27b0bad86
stack: More readability when adding transitions
...
This small refactor makes the code more readable when adding more
transition types that have left, right, up, and down variations.
It adds inline boolean functions to tell information about transition
types (avoiding long if clauses) and changes long chains of "else if
(transition_type == ...)" into switch statements. Both are only likely
to get longer as more transition types are added.
https://bugzilla.gnome.org/show_bug.cgi?id=726676
2014-05-02 16:54:41 -04:00
c05525127b
overlay: don't have a custom draw implementation
...
We can't think with Benjamin of a reason this should be needed, so let's
just remove it.
2014-05-02 20:42:54 +02:00
a303547489
themingengine: only round outline corners after shrinking
...
Ensures the correctness of the applied radius.
2014-05-02 20:42:54 +02:00
b059098c71
GtkBuilder: added template parent type check.
2014-05-02 14:38:05 -03:00
35df3bc182
GtkFlowBox: fixed NULL dereferencing segfaults
2014-05-01 20:31:59 -03:00
a05b55872b
GtkMenu: fixed more NULL dereferencing segfault
2014-05-01 20:31:31 -03:00