Felipe Borges
027702e453
cups: Fix more "format not a string literal" error
...
https://bugzilla.gnome.org/show_bug.cgi?id=764585
2016-04-13 14:17:24 +02:00
YunQiang Su
31c5f0dc7f
update zh_CN translation
2016-04-13 20:16:00 +08:00
YunQiang Su
4dcd33f2d5
update zh_CN translation
2016-04-13 16:42:20 +08:00
Matt Watson
871b19f9dd
reftests: test rem size
2016-04-12 16:59:40 -07:00
Matt Watson
92a496fdec
reftests: test em size
2016-04-12 16:59:40 -07:00
Matt Watson
df08fc91bd
css: always get default font size in pixels
...
Fixes a couple bugs...
- Pixel font sizes in css would render as point sizes.
- For em font sizes, where the parent size was set and not default, we would
incorrectly convert a pixel value from points to pixels.
We'll always grab the default font size in pixels so we don't keep confusing
things.
Worth noting that gtk css font-size will still behave differently than the
web. Pango interprets font-size differently.
2016-04-12 16:58:55 -07:00
Sébastien Wilmet
f9ba55eaad
app: add missing g_returns
...
And have the g_returns in the same order as the function parameters.
https://bugzilla.gnome.org/show_bug.cgi?id=764846
2016-04-12 20:32:49 +02:00
Руслан Ижбулатов
c2aa7d0749
GDK W32: Deduplicate reparenting
...
gdk_window_reparent() already changes children list for old and new parent.
Doing so twice results in a circular reference in the list, which can hang
the application later, for example in gtk_window_show().
https://bugzilla.gnome.org/show_bug.cgi?id=764845
2016-04-12 12:56:11 +00:00
Rico Tzschichholz
c8d1108574
gtk: Annotate GtkFlowBoxCreateWidgetFunc as "transfer full"
2016-04-12 13:30:04 +02:00
Balló György
413d27508f
GtkTrayIcon: fix uninitialised variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=764863
2016-04-11 22:03:48 -04:00
Mohammed Sadik
3f8313c735
documentation: trivial typo fixes in GtkWidget
...
https://bugzilla.gnome.org/show_bug.cgi?id=764925
2016-04-11 22:03:48 -04:00
Ignacio Casal Quinteiro
a3bff7d41e
win32: rollback change and use _gdk_display
...
This makes usage of _gdk_display again when creating a window.
This is needed because there is a window created when the display
is being initialized, so it becomes a chicken and egg problem.
For now we roll back this to fix the wintab crash but we might
want to fix this again in the future by improving the wintab
initialization.
https://bugzilla.gnome.org/show_bug.cgi?id=764664
2016-04-11 22:25:41 +02:00
Ignacio Casal Quinteiro
c9add3161f
win32: add missing empty lines
2016-04-11 22:25:41 +02:00
Arash Mousavi
2f875129f1
Update Persian translations
2016-04-11 23:09:25 +04:30
Matthias Clasen
6e47dad33d
gdkdevice: Expose tool as property
...
This may occasionally be useful.
2016-04-11 12:08:21 -04:00
Matthias Clasen
28042ef336
listbox: Fix css node ordering
...
When inserting a child at the top, we were not inserting its
css node properly.
https://bugzilla.gnome.org/show_bug.cgi?id=764710
2016-04-11 07:52:39 -04:00
Mohammed Sadik
646492ceea
broadway: fix documentation
...
broadway backend has 0 as the default display port,
which maps to tcp port 8080.
https://bugzilla.gnome.org/show_bug.cgi?id=764835
2016-04-11 07:34:34 -04:00
Emmanuele Bassi
9610675faf
recent-manager: Always ensure that size is reset on creation
...
Whenever we create a new GBookmarkFile, we need to set the size to 0.
https://bugzilla.gnome.org/show_bug.cgi?id=620065
2016-04-10 18:41:23 +01:00
Emmanuele Bassi
cc08a965be
recent-manager: Fix the error domain and message on move_item()
...
Using NOT_FOUND when moving is wrong and unhelpful.
https://bugzilla.gnome.org/show_bug.cgi?id=620065
2016-04-10 18:39:33 +01:00
Emmanuele Bassi
bccef4e41a
recent-manager: Emit ::changed on file deletion
...
This will clear out the list of recently used files, and will allow GVFS
to handle this case.
https://bugzilla.gnome.org/show_bug.cgi?id=693077
2016-04-10 18:35:38 +01:00
Emmanuele Bassi
90d28d6bbf
Assign a recent manager if one is set
...
The GtkRecentAction implementation ignored a GtkRecentManager passed to
its :manager property.
https://bugzilla.gnome.org/show_bug.cgi?id=620065
2016-04-10 18:35:38 +01:00
Sébastien Wilmet
ee58a52a61
app: minor code improvements
...
- use GDK_EVENT_PROPAGATE
- pass better zero-values to gtk_init(), since the parameters are
pointers.
https://bugzilla.gnome.org/show_bug.cgi?id=764846
2016-04-10 16:54:07 +02:00
Sébastien Wilmet
1f87c1cc0b
app: improve code of extract_accels_from_menu()
...
sub_model is clearer than "m". And we don't use the key, so we can pass
NULL instead.
https://bugzilla.gnome.org/show_bug.cgi?id=764846
2016-04-10 16:54:07 +02:00
Sébastien Wilmet
687d3eb48f
app: use g_set_object()
...
https://bugzilla.gnome.org/show_bug.cgi?id=764846
2016-04-10 16:54:07 +02:00
Sébastien Wilmet
29971b0cc9
app: don't use deprecated function
...
gtk_application_add_accelerator() is deprecated, but was still used
inside IGNORE_DEPRECATIONS's.
https://bugzilla.gnome.org/show_bug.cgi?id=764846
2016-04-10 16:54:07 +02:00
Sébastien Wilmet
399e8db336
app: improve doc of gtk_application_get_window_by_id()
...
https://bugzilla.gnome.org/show_bug.cgi?id=764846
2016-04-10 16:54:07 +02:00
Sébastien Wilmet
40e40b7ffc
app: improve doc of gtk_application_set_accels_for_action()
...
When reading the API for the first time I didn't know what was the
"detailed" action name.
https://bugzilla.gnome.org/show_bug.cgi?id=764846
2016-04-10 16:54:07 +02:00
Sébastien Wilmet
48afd8a5f0
app: avoid code duplication for setting accels
...
The implementation of the deprecated functions is now based on the
non-deprecated gtk_application_set_accels_for_action().
https://bugzilla.gnome.org/show_bug.cgi?id=764846
2016-04-10 16:54:06 +02:00
Lukas K
8fc1ca1ef2
Fix gtk_scrollable_get_border annotation
...
https://bugzilla.gnome.org/show_bug.cgi?id=764540
2016-04-10 15:56:29 +02:00
Zahari Yurukov
99e92a60f2
Updated Bulgarian translation
2016-04-10 16:49:27 +03:00
Friedrich Beckmann
fe80230985
quartz: zoom/rotate change compile/runtime check from 10.7 to 10.8
...
The zoom/rotate change for quartz does not build on 10.7. This change
adds zoom/rotate support in quartz only for 10.8 and following. The
problems is described here:
https://bugzilla.gnome.org/show_bug.cgi?id=760276 and here
https://trac.macports.org/ticket/51052
NSEventPhaseMayBegin was only introduced in 10.8 although documentation
says it is introduced in 10.7. Tests on 10.7 indicate that the phase
property for the Magnify event is not supported at all on 10.7
2016-04-09 18:05:59 -04:00
Matthias Clasen
7dc588c4d3
Add a note about GDK_AXIS_X/Y
...
These axes mmay or may not be present, best to ignore them.
2016-04-09 17:38:03 -04:00
Matthias Clasen
0d64582688
wayland: Keyboard don't have x/y
...
These axes are not very useful in the first place, but on a
keyboard they just don't make any sense at all.
2016-04-09 17:31:39 -04:00
Matthias Clasen
1b0c6e4aa1
Mention geometry handling changes in release notes
2016-04-09 17:04:57 -04:00
Matthias Clasen
abff6e23c0
inspector: simplify some code
2016-04-09 15:48:34 -04:00
Matthias Clasen
9044f78751
Move GdkDeviceTool into its own files
2016-04-09 15:48:34 -04:00
Sébastien Wilmet
6db7de3f7b
app: fix indentation
...
And add missing curly braces.
2016-04-09 18:54:42 +02:00
Matthias Clasen
af1c873bca
inspector: Use GdkAxes instead of GdkAxisUse
2016-04-09 12:14:33 -04:00
Matthias Clasen
d83ad00f9e
inspector: Add an origin mark to the slowdown scale
...
Makes it easier to get back to the original speed.
2016-04-09 11:56:08 -04:00
Matthias Clasen
e6c408c08a
inspector: Give the font scale an entry
...
This matches what Matt did for the slowdown.
2016-04-09 11:56:08 -04:00
Sébastien Wilmet
b3dc473057
docs: trivial fixes in GtkApplication-related documentation
2016-04-09 09:45:33 +02:00
Matt Watson
a970ba5ef6
animatedstyle: don't share styleanimations
...
Because of our port of css animation and css transition to
progress tracker, we should not think of animated styles as
immutable objects that can map any timestamp to css values.
Rather, timestamps can correspond to different values depending
on the value of GTK_SLOWDOWN over the course of the animation.
To keep animated styles and style animations totally immutable,
we will not share styleanimations between animatedstyles, and
make a new copy of a styleanimation for each timestamp.
2016-04-08 16:09:30 -07:00
Matt Watson
7b68bdb831
animatedstyle: just ref current style if timestamp the same
2016-04-08 16:09:30 -07:00
Matt Watson
6a88ac3b4c
animatedstyle: fail to create new style if timestamp goes backwards
...
With slowdown factor, we will only we be able to handle timestamps
that monotonically increase.
2016-04-08 16:09:30 -07:00
Matt Watson
2800b00e1d
cssanimation: port to progress tracker
2016-04-08 16:09:30 -07:00
Matt Watson
50e057e025
csstransition: port to progress tracker
2016-04-08 16:09:30 -07:00
Matt Watson
511f138328
entry: port to progress tracker
2016-04-08 16:09:30 -07:00
Matt Watson
d57ebe2de7
progressbar: port to progress tracker
2016-04-08 16:09:30 -07:00
Matt Watson
5237b7a6b0
scrolledwindow: port indicator fade to progress tracker
2016-04-08 16:09:30 -07:00
Matt Watson
dc8b80cd32
popover: port to progress tracker
2016-04-08 16:09:30 -07:00