5ccc0e40f5
css: Fix case where we didn't convert pt => px
...
Fixes gtk_widget_override_font() not behaving properly since commit
df08fc91bd
.
https://bugzilla.gnome.org/show_bug.cgi?id=768902
2016-07-28 11:42:54 -04:00
f422208040
css: Rename functions
...
I don't want to use a generic function for font sizes as font sizes are
special. Plus, the function is only used in one place.
2016-07-28 11:42:54 -04:00
ca6c928c5b
Properly declare the font CSS property
...
https://bugzilla.gnome.org/show_bug.cgi?id=769004
2016-07-28 17:13:15 +02:00
b9f61e3a8e
Don't use one-stop gradients
...
They are deprecated, which causes a warning that makes
the test fail.
https://bugzilla.gnome.org/show_bug.cgi?id=769004
2016-07-28 17:12:25 +02:00
0fd69ce99a
Fix tiny typo.
2016-07-28 11:12:54 +02:00
15b2dbf9a8
Adwaita: use a transition to animate checks and radios
...
see https://bugzilla.gnome.org/show_bug.cgi?id=762260
2016-07-27 23:00:35 +02:00
ddee89f4a3
shortcut-label: add 'disabled-text' property
...
When there's no useful shortcut accelerator set,
GtkShortcutLabel doesn't show any useful information.
To work around that, add a new property to set the
text to be displayed when there's no accelerator
available.
https://bugzilla.gnome.org/show_bug.cgi?id=769205
2016-07-27 16:30:43 -03:00
7543cd8ce4
shortcut-label: make it public
...
GtkShortcutLabel is a widget that displays a single
shortcut accelerator or gesture in the user interface,
and is currently used by the shortcuts window.
This widget, however, has public value as other applications
also may want to expose their own shortcuts. For instance,
it'll be useful for the Keyboard panel on Control Center and
the new shortcut editor in Pitivi, among others.
This patch exposes GtkShortcutLabel as a public widget,
and adds the necessary documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=769205
2016-07-27 16:30:31 -03:00
8e6a68c5fc
GtkScrolledWindow: reset scroll history if it contained no real history
...
Scroll history must refer to a timespan for the values to be valid, otherwise
we return FALSE, in this case the stored event(s) should be discarded anyway.
2016-07-27 20:29:38 +02:00
9eb356d9f2
GtkScrolledWindow: Always uninstall scroll cursor when starting deceleration
...
It could be the case that the last scroll event is received long after any
previous scroll event, in this case the last scroll event discards all "old"
scroll events, and scroll_history_finish() returns FALSE because there's no
time/offset deltas in the scroll history.
This is desired so we don't trigger the deceleration effect if there was no
effective velocity, we still must reset the installed scroll cursor, so take
it out of this if() condition.
2016-07-27 20:28:23 +02:00
c0f66ed1ea
Updated Portuguese translation
2016-07-27 07:35:14 +00:00
0f32919503
Stop using one-stop gradients in reftests
...
This is causing warnings now that make the tests fail.
2016-07-26 07:25:01 -04:00
45957100b0
Revert a mistaken change
...
I thought I needed ot rearrange the ordering of the animation-direction
values for the parser, overlooking the fact that we already parse them
backwards to address this very problem.
2016-07-26 00:21:48 -04:00
af5ef152b1
docs: GtkWidget::style-updated vs GtkStyleContext::changed
...
Explain the difference between those two signals.
Add "Since: 3.0" for GtkStyleContext::changed, since that signal has
been added in commit 9f84e101bf
, present
since 2.91.6.
https://bugzilla.gnome.org/show_bug.cgi?id=769047
2016-07-25 09:26:41 -04:00
3432587f89
docs: add missing info for gtk_widget_get_style_context()
...
It is important to know whether the returned object can or cannot
change, for a certain widget. For example to connect to the
GtkStyleContext::changed signal.
https://bugzilla.gnome.org/show_bug.cgi?id=769047
2016-07-25 09:26:41 -04:00
f089d7503b
GtkApplication: some cleanups
...
Always return an error if we fail to get a dbus proxy; the callers
are only looking whether error is set, not whether the return value
is NULL.
Use the same function for the inhibit proxy as well, and clean up
the sm_proxy in finalize.
2016-07-25 09:11:21 -04:00
f65c116d2a
Don't apply GDK_HINT_RESIZE_INC to GDK_WINDOW_STATE_TILED windows
...
This matches the behaviour of Mutter, Metacity and traditional X11
window managers on the window manager side, and is what we want
for at least gnome-terminal. I can't think of any reason why we'd
want incremental resize in any other tiled window.
Signed-off-by: Simon McVittie <smcv@debian.org >
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=760944
https://bugzilla.gnome.org/show_bug.cgi?id=755947
2016-07-25 09:00:01 -04:00
d9dd7eb757
reftests: override GSETTINGS_SCHEMA_DIR when running tests
...
The reftest depends on a schema we install ourselves. Instruct GIO to
look in the build directory to avoid a cyclic dep.
https://bugzilla.gnome.org/show_bug.cgi?id=768930
2016-07-25 08:34:52 -04:00
f44baf51d9
Avoid a division by zero
...
It appears that xvfb returns nonsense in its xrandr resources.
Avoid a crash when that happens.
https://bugzilla.gnome.org/show_bug.cgi?id=768999
2016-07-25 08:32:24 -04:00
8db8891c66
Use g_clear_object in a few more places
2016-07-25 08:32:08 -04:00
bab906f838
Adwaita: use margins for entry image spacing
...
there used to be a padding, since it was the only option in the
past, that makes little sense now, hence use margins.
2016-07-24 19:11:27 +02:00
bc070a70a5
HC: export unfocused_insensitive_color...
...
...to reflect Adwaita changes.
2016-07-24 18:59:58 +02:00
f84b8c1c26
Adwaita: export yet another named color for insensitive bg/fg...
...
...which was needed, but not there, use responsibly.
2016-07-24 18:04:51 +02:00
dd09e252c9
Fix a few documentation parameter names
2016-07-23 14:07:47 +02:00
82fd72a477
Opt in to structured logging
...
Define G_LOG_USE_STRUCTURED, so that all our g_debug, g_warning,
etc calls directly use structured logging and provide source information.
2016-07-22 23:13:20 -04:00
4a9f17c690
wayland: Fix build
...
Missing include pointing to tablet-unstable-v1-client-protocol.h,
pays me for not testing on a clean checkout.
2016-07-22 20:58:55 +02:00
9fe0c1e126
wayland: Use wl_fixed_t on wp_tablet_tool angle arguments
...
This is an incompatible change in tablet protocol v2.
2016-07-22 19:35:28 +02:00
536017646e
wayland: Update current tablet support to using v2
...
Only update to using v2 headers/structs. The incompatible changes
to tool events are dealt with in the next commit. Pads aren't handled
in this commit either.
2016-07-22 19:35:09 +02:00
1b0ade8bdd
Adwaita: dim calendar uninteresting
days some more
...
see https://bugzilla.gnome.org/show_bug.cgi?id=769003
2016-07-22 14:10:56 +02:00
80b28a17f7
Adwaita: clean calendar styling
...
remove some non working props and generally simplify and clean up
the code, in the process address:
https://bugzilla.gnome.org/show_bug.cgi?id=769003
2016-07-20 22:48:25 +02:00
d266b39407
Updated Spanish translation
2016-07-20 10:38:39 +00:00
4185e9eaa3
Updated POTFILES.skip
2016-07-19 17:14:30 +02:00
748ebd3d72
mir: implement gdk_window_move_to_rect ()
...
https://bugzilla.gnome.org/show_bug.cgi?id=756579
2016-07-19 09:38:54 -04:00
8701e34f74
port to new gtk_menu_popup_at_* () functions
...
https://bugzilla.gnome.org/show_bug.cgi?id=756579
2016-07-19 09:38:54 -04:00
05b9bc5cff
add demo for testing gtk_menu_popup_at_* ()
...
https://bugzilla.gnome.org/show_bug.cgi?id=756579
2016-07-19 09:38:54 -04:00
b03361366a
gtkmenu: add gtk_menu_popup_at_* ()
...
Adds the following functions:
gtk_menu_popup_at_rect ()
gtk_menu_popup_at_widget ()
gtk_menu_popup_at_pointer ()
https://bugzilla.gnome.org/show_bug.cgi?id=756579
2016-07-19 09:38:54 -04:00
b3a530cb72
gdkwindow: add gdk_window_move_to_rect ()
...
https://bugzilla.gnome.org/show_bug.cgi?id=756579
2016-07-19 09:38:54 -04:00
48108c401e
gdkwindow: store transient_for window
...
https://bugzilla.gnome.org/show_bug.cgi?id=756579
2016-07-19 09:38:54 -04:00
0a5bee2751
gdkwindow: store shadow sizes
...
https://bugzilla.gnome.org/show_bug.cgi?id=756579
2016-07-19 09:38:54 -04:00
2235f211e3
Updated Spanish translation
2016-07-18 16:48:16 +02:00
718b3a9ad4
Updated Spanish translation
2016-07-18 16:48:06 +02:00
2465493237
Try to delete any existing W32 status icons when DPI changes
...
Fixes some or all of the issues reported in
https://github.com/hexchat/hexchat/issues/1423
2016-07-18 10:32:04 +00:00
02c89f7e8f
3.21.4
2016-07-17 23:27:35 -04:00
16dbc0fd10
Updates
2016-07-17 14:07:47 -04:00
e9078e3abb
Updated Chinese (Taiwan) translation
2016-07-16 02:46:17 +00:00
6906252b38
Updated Chinese (Taiwan) translation
2016-07-16 02:45:07 +00:00
01129a0ba0
Add Language headers to po files
...
Future versions of gettext will fail if this header is missing.
2016-07-14 17:06:21 +02:00
846087fcff
Add LINGUAS file to po-properties
2016-07-13 21:15:15 +01:00
473ae67a13
Updated Portuguese translation
2016-07-13 16:49:10 +00:00
45a9aed721
Updated Portuguese translation
2016-07-13 16:47:18 +00:00