cdf5ecada9
Adwaita: inline toolbar buttons fixes
...
Properly styled single buttons in inline toolbars and fixed
a superflous border chiming in in backdrop.
2014-08-21 11:55:25 +02:00
d975cd5baa
Deprecate GTK_CHECK_BACKEND in favour of PKG_CHECK_MODULES
...
This is easy to do with pkg-config too.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638
Bug-Debian: https://bugs.debian.org/756476
Reviewed-by: Matthias Clasen
2014-08-21 09:54:38 +01:00
169f064c1f
Deprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULES
...
That's what GNOME applications use.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638
Bug-Debian: https://bugs.debian.org/756476
Reviewed-by: Matthias Clasen
2014-08-21 09:54:32 +01:00
d329544e70
Use AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE, _XOPEN_SOURCE etc.
...
Similar to Bug #684123 in GLib.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638
Bug-Debian: https://bugs.debian.org/756476
Reviewed-by: Matthias Clasen
2014-08-21 09:54:12 +01:00
2737c67cce
css: Round shadow extents properly
...
Otherwise drawing will be clipped.
Testcase included
2014-08-21 00:54:07 +02:00
67456304d4
roundedbox: Only grow border-radius if there is one
...
This is relevant for shadow spread and goes in line with the web.
Testcase included.
2014-08-21 00:54:07 +02:00
1126a34353
label: Respect box-shadow when computing clip
...
Testclase included.
Also reorder headers to be alphabetic.
2014-08-21 00:54:07 +02:00
b5a8b7ef3b
widget: Make _gtk_set_simple_clip() take an optional content clip
2014-08-21 00:54:07 +02:00
e643ddfd16
stylecontext: Remove GTK_CSS_CHANGE_FORCE_INVALIDATE
...
This was introduced as a hackish way in 3.6 to make font updates
propagate properly. But since then, font handling has been changed and
this flag is no longer necessary.
2014-08-21 00:54:07 +02:00
665ad8c6f9
stylecontext: Use right invalidation func
...
gtk_style_context_invalidate_internal() will respect only the current
saved state of the style context, which is wrong when updating the scale.
In that case, the whole style context needs updating.
2014-08-21 00:54:07 +02:00
f39d211021
GtkTextView: various code clean-ups
...
- only one blank line is enough to separate code sections.
- the 'signals' variable was in the middle of function prototypes.
- compare pointers to NULL in some conditions ("if(blah) should be used
only if blah is a boolean variable). It makes the code clearer.
- various other things.
2014-08-20 19:19:10 +02:00
7bc819e88d
tests textbuffer: don't use GdkColor (deprecated)
2014-08-20 17:19:30 +02:00
55bd34c62a
Mark the GdkColor struct as deprecated
2014-08-20 17:19:30 +02:00
0c1cbfed53
gtk: Fix transfer annotations gtk_binding_set_new and *_by_class
...
Those instances are exclusively handled internally and can not be freed.
2014-08-20 16:23:06 +02:00
045380601a
Adwaita: selection mode checks
...
- add missing hover asset
- have enough contrast for the outline
- :active state isn't supported in libgd/apps yet
2014-08-20 09:29:17 +02:00
35f6738509
Adwaita: keep selectmode checks square
...
- keep the existing 40x40px nominal size
2014-08-20 09:17:42 +02:00
4665b95687
gtk: Fix out-param annotation of gtk_theming_engine_get_style_property
2014-08-20 08:55:53 +02:00
e317117f03
gtk: Fix return annotation of gtk_selection_data_get_text
2014-08-20 08:54:12 +02:00
bdaf5c8f8b
Adwaita: allow window drag on menubars and toolbars
...
- reported as regression
2014-08-19 19:07:40 +02:00
f9724d1d34
Adwaita: selection mode checkboxes
2014-08-19 19:07:40 +02:00
db3a01b589
GtkApplication: fix annotation of get_menu_by_id
...
https://bugzilla.gnome.org/show_bug.cgi?id=735034
2014-08-19 18:28:19 +02:00
bbf4c7020a
Updated Assamese translation
2014-08-19 16:25:39 +00:00
763f5d51ed
Adwaita: don't increase toolbar padding.
...
https://bugzilla.gnome.org/show_bug.cgi?id=735012
2014-08-19 17:24:52 +02:00
abae22769f
Updated Assamese translation
2014-08-19 15:07:02 +00:00
0ef0b9872e
gtk: Fix broken docs of GtkTranslateFunc
2014-08-18 14:38:04 +02:00
aec4829d74
Adwaita: have an unchecked state for radio/checks in menus
...
more background in https://bugzilla.gnome.org/show_bug.cgi?id=734290
2014-08-18 14:20:15 +02:00
c9da8bf2b3
Revert "docs: Fix broken gtk-doc formatting"
...
This reverts commit a7562dd38f
.
I prefer to not confuse gtk-doc with doc comments for private
functions.
2014-08-18 08:18:02 -04:00
a7562dd38f
docs: Fix broken gtk-doc formatting
...
Fixes broken introspection of GtkTranslateFunc
2014-08-18 13:27:05 +02:00
9c4af41a59
Adwaita: update the last cases for :checked
...
- treeviews can now have the same default checkboxes and radios
- only menus are special (but needed :active -> :checked)
https://bugzilla.gnome.org/show_bug.cgi?id=733967
https://bugzilla.gnome.org/show_bug.cgi?id=734290
2014-08-18 10:52:52 +02:00
9907d22f53
Finnish translation update
2014-08-17 14:40:56 +03:00
6acfd46d98
Finnish translation update
2014-08-17 14:35:13 +03:00
b520d3b7fb
button: Remove unnecessary queue_redraw() calls
...
Setting a state automatically triggers redraws via the CSS machinery.
2014-08-17 06:47:17 +02:00
442353fa9d
checkbutton: Fix redraw issues
...
This is a hack to get around the optimizations done by the CSS engine.
The CSS engine will notice that no CSS properties changed on the
widget itself when going from one state to another and not queue
a redraw.
And the reason for no properties changing will be that only the
checkmark itself changes, but that is hidden behind a
gtk_style_context_save()/_restore() pair, so it won't be caught.
2014-08-17 06:25:29 +02:00
c4c9b20a05
3.13.7
2014-08-16 21:40:40 -04:00
76a4eeabfd
Fix distcheck
2014-08-16 21:40:40 -04:00
d83e684b1f
Silence compiler warnings
2014-08-16 21:40:40 -04:00
c2bf866733
Move GtkThemingEngine to the deprecated docs section
2014-08-16 21:40:40 -04:00
d206d694fd
GtkWidget: fix up docs minimally
2014-08-16 21:40:39 -04:00
87ad4ec2c2
GtkListBox: fix up docs
2014-08-16 21:40:39 -04:00
7bec0939a8
Clean up and unify docs and formatting
2014-08-16 21:40:39 -04:00
d36bba293d
checkbutton: Don't redundantly update states
...
States are set properly by GtkButton, there is no need to set them
manually.
2014-08-17 03:19:59 +02:00
c1a063e1a4
checkbutton: Draw background unconditionally
...
We want to draw backgrounds always, not just on prelight. Themes can
decide to only set a background during prelight themselves.
2014-08-17 00:58:04 +02:00
b1ac4f91d3
reftests: Update for :active => :checked change
2014-08-16 20:41:32 +02:00
1d9c183156
Updated Hebrew translation
2014-08-16 21:28:01 +03:00
9adf0bf323
stylecontext: Update docs to reflect theming engines being gone
2014-08-16 19:39:45 +02:00
b59e6f1948
themingengine: Deprecate
2014-08-16 19:39:44 +02:00
9ca04c0f9d
themingengine: Remove now unused private API
2014-08-16 19:39:44 +02:00
9e4fc66e9a
themingengine: Transition code towards StyleContext
...
We want to get rid of theming engines, so stop using them as much as
possible.
2014-08-16 19:39:44 +02:00
1a143cd272
borderimage: Use style context as argument
...
... not the theming engine.
2014-08-16 19:39:44 +02:00
04bf3d1e1f
roundedbox: Remove functions that take a GtkThemingEngine
...
Instead, make the functions use a GtkStyleContext argument.
2014-08-16 19:39:44 +02:00