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
5e8d3d533f
themingbackground: Remove initializer that takes a GtkThemingEngine
...
With the unification to use style contexts everywhere, make that
initializer the only one to use.
Also rename it appropriately.
2014-08-16 19:39:44 +02:00
7e5b58c727
stylecontext: Move private a11y function to private header
2014-08-16 19:39:44 +02:00
04c90d44cc
More updates
2014-08-16 13:38:47 -04:00
aefe86d632
Update expected output for the font picker a11y test
...
This change is a consequence of the recent font chooser changes.
2014-08-16 13:02:47 -04:00
d3dc05174e
Update expected output in a11y tests for buttons
...
This is an expected change from the recent button state cleanups.
2014-08-16 13:01:50 -04:00
7762f94be6
Fix make install
...
The path to gtk-update-icon-cache was set incorrectly in one case.
2014-08-16 12:14:16 -04:00
eecbe5416e
togglebutton: Remove unneeded code
...
The state is completely handled by gtkbutton.c so no need to do anything
in the togglebutton.
2014-08-16 16:34:16 +02:00
1febbdb499
togglebutton: Don't duplicate button code
...
It's the same code, so no need to write the same vfunc twice.
2014-08-16 16:34:15 +02:00
0f7c90ac62
radiobutton: :hover on hover
...
No special cases, those go in the theme.
2014-08-16 16:34:15 +02:00
db1ab7ddf8
button: Handle :inconsistent in GtkToggleButton
2014-08-16 16:34:15 +02:00
cd349dcd48
button: Handle :checked in gtktogglebutton.c
...
Don't try to handle it elsewhere.
2014-08-16 16:34:15 +02:00
65cc3630c8
widget: Add checks for setting state flags
...
This is more for GTK developers to catch when they forgot to change
GTK_STATE_FLAGS_BITS after adding a new state flag than to prevent
widget developers from using the wrong flags.
2014-08-16 16:34:15 +02:00
e5d0d5f9e6
themingengine: Remove hack to draw backgrounds instead of checks
...
This was a hack we added in early 3.x to allow themes to customize their
checkmarks.
Now that we want to properly support real backgrounds everywhere,
supporting this feature would cause double draws of backgrounds.
2014-08-16 16:34:15 +02:00
97a6e692ce
stylecontext: Update docs for gtk_render_activity()
2014-08-16 16:34:15 +02:00
6c06bd55da
gtk: Don't use gtk_render_activity()
...
... in places where we draw a background. This was changed for GTK 3.0.0
to allow animations, but these days it doesn't make sense anymore to use
gtk_render_activity() for backgrounds.
2014-08-16 16:34:14 +02:00
b675a13233
button: Remove depressed_on_activate
...
All buttons should always be marked as :active when they are pressed.
That includes checkboxes (which are never activated in real code anyway,
so this change pretty much doesn't matter).
2014-08-16 16:34:14 +02:00
1abe923740
css: Do inconsistent checked states right
...
In HTML5, both pseudoclasses apply. So we do the same thing in our
widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=733967
2014-08-16 16:34:14 +02:00
bb069b781b
button: Remove depressed variable
...
It is not used anymore.
2014-08-16 16:34:14 +02:00
e9f1d6d85c
button: Don't honor child-displacement anymore
...
It doesn't make sense to support child displacement in a world where
pseudoclasses behave different from the actual displacement states.
Nobody would ever understand why a widget is displaced.
It is easily possible to simulate child displacement by using padding
CSS properties.
2014-08-16 16:34:14 +02:00
4e077d4638
gtk: Use new :checked state
...
on:
- GtkToggleButton
- GtkCheckButton
- GtkRadioButton
- GtkModelButton
- GtkCellRendererToggle
- GtkCheckMenuItem
also update themes:
- Adwaita
- Raleigh
but not the win32 theme.
The new :checked state replaces :active for the actual checkedness of
the widgets and :active is now used exclusively while the button is being
pressed.
https://bugzilla.gnome.org/show_bug.cgi?id=733967
2014-08-16 16:34:14 +02:00