Matthias Clasen
df72478375
stack: Use getter for gtk-enable-animations
2016-05-01 00:39:55 -04:00
Matthias Clasen
5ee745dfee
scrolled window: Use getter for gtk-enable-animations
2016-05-01 00:39:34 -04:00
Matthias Clasen
ff0107a4ac
Use getter for gtk-enable-animations
2016-05-01 00:39:18 -04:00
Matthias Clasen
9d038df7de
popover: Use getter for gtk-enable-animations
2016-05-01 00:39:03 -04:00
Matthias Clasen
e502702dd4
Use a variable consistently
2016-04-30 23:15:20 -04:00
Matthias Clasen
417eb0ad9c
Use a better hash for arcs
2016-04-30 22:39:58 -04:00
Matthias Clasen
e5de6dd8b1
css: Use a getter for the enable-animations setting
2016-04-30 22:39:58 -04:00
Matthias Clasen
28625c16c0
dnd: Use a getter for the drag threshold
2016-04-30 22:39:58 -04:00
Matthias Clasen
8e62cee075
Add a few settings getters
2016-04-30 22:39:58 -04:00
Matthias Clasen
4151b6715c
Trivial whitespace fix
2016-04-30 21:06:38 -04:00
Matthias Clasen
98f16fdf7a
Use the new getter
...
This avoids the use of generic api in the per-event code path.
2016-04-30 20:59:16 -04:00
Matthias Clasen
7f4b575fc3
gdk: Add a private getter for GdkDevice::input-mode
2016-04-30 20:52:23 -04:00
Matthias Clasen
172093db8c
Add a forgotten deprecation
...
gdk_display_get_screen is marked as deprecated in the docs.
2016-04-30 16:46:11 -04:00
Руслан Ижбулатов
3a095ad454
W32: support cairo library in non-standard locations
...
When checking for cairo_win32_surface_create_with_format in -lcairo,
temporarily put CAIRO_LIBS into LIBS so that AC_CHECK_LIB() can
find it in weird places like /usr/local/lib, where gcc would not look
on its own.
https://bugzilla.gnome.org/show_bug.cgi?id=765793
2016-04-29 15:56:54 +00:00
GNOME Translation Robot
15dbf35fd8
Updated Scottish Gaelic translation
2016-04-29 08:41:50 +00:00
Руслан Ижбулатов
2655d929fe
W32: reword the error about required cairo version
...
1.14.x series does not contain the functionality needed by GTK+.
Advise to use 1.15.x (1.15.2 is available) or 1.16.x (yet to be released).
https://bugzilla.gnome.org/show_bug.cgi?id=765790
2016-04-29 07:06:02 +00:00
Matthias Clasen
7afc6b1fd5
settings: Cache xsettings
...
Instead of calling out to gdk every time an XSetting is requested,
cache the value (we already have the property_values array
anyway).
https://bugzilla.gnome.org/show_bug.cgi?id=765579
2016-04-28 23:29:43 -04:00
Matthias Clasen
2148708917
box gadget: Redo expand flag handling
...
We only keep one align flag per child, so it seems odd to
keep separate h/v expand flags. Just keep one expand flag
and interpret it according to orientation. Allow setting
the expand flag for child widgets too, though, so we can
make widget expand without interfering with the recursive
widget expand flag.
Update all callers.
Use the new possibility of expanding child widgets to make
the label of check and radio buttons expand. This fixes
unexpected behavior of these widgets in RTL in some places.
https://bugzilla.gnome.org/show_bug.cgi?id=765742
2016-04-28 21:59:34 -04:00
Matthias Clasen
8a308dd072
expander: Reverse alignments in RTL
...
Flip alignments of the title gadget children.
2016-04-28 21:59:34 -04:00
Matthias Clasen
8bf148b006
check button: Reverse alignments in RTL
...
Flip alignments for the box gadget children.
2016-04-28 21:59:34 -04:00
Matthias Clasen
2919e344ca
box gadget: allow reversing alignments
...
In RTL, we want to interpret GTK_ALIGN_START and _END
in the opposite way. Since we don't give gadgets a text
direction, just allow setting an align_reverse flag
to the box gadget.
2016-04-28 21:59:34 -04:00
Lapo Calamandrei
71c1e86e62
Adwaita: refactor levelbar styling.
2016-04-28 15:45:12 +02:00
Rico Tzschichholz
0f1e42cd80
broadway: Fix include rules in gdkbroadwaymonitor.h
...
Fixes 044109c8c7
2016-04-28 10:20:15 +02:00
Daniel Mustieles
394fe0e675
Updated Spanish translation
2016-04-28 08:06:10 +00:00
Matthias Clasen
952d0fd23f
window: Stop using gdk_screen_get_n_monitors
2016-04-27 23:18:16 -04:00
Matthias Clasen
03d70f1636
settings: Stop comparing screen numbers
...
There is only one screen.
2016-04-27 23:18:16 -04:00
Matthias Clasen
f5d6688d3e
window: Stop using screen width/height
2016-04-27 23:18:16 -04:00
Matthias Clasen
6ae2c24bde
treeview: Stop using screen width/height
...
Popups should always be placed relative to a monitor.
2016-04-27 23:18:16 -04:00
Matthias Clasen
29396a1e5e
label: Stop using screen width/height
...
Popups should always be placed relative to a monitor.
2016-04-27 23:18:16 -04:00
Matthias Clasen
e9a58190af
combobox: Stop using screen width/height
...
Popups should always be placed relative to a monitor.
2016-04-27 23:18:16 -04:00
Matthias Clasen
b5fb9ae3b7
gtk: Port to new monitor api
...
Use the GdkDisplay monitor api instead of the GdkScreen one.
2016-04-27 23:18:16 -04:00
Matthias Clasen
1b7d7c857f
menu: Add new monitor api
...
This will work better with the new monitor api in gdk.
2016-04-27 23:18:16 -04:00
Matthias Clasen
3952bd60a5
inspector: Port to new monitor api
...
Adapt to new monitor apis, and show more information.
2016-04-27 23:18:16 -04:00
Руслан Ижбулатов
026cb53875
win32: Port to new monitor api
2016-04-27 23:18:16 -04:00
Matthias Clasen
5c1d0915af
x11: Bring back fullscreen-on-all-monitors support
...
It is unfortunate the EWMH requires Xinerama here - lets do this
without the caching that was previously there, I don't think it is
needed.
2016-04-27 23:18:16 -04:00
Matthias Clasen
d92fda2103
x11: Port to new monitor api
2016-04-27 23:18:16 -04:00
Matthias Clasen
79a0286ab1
x11: Drop Xinerama
...
It may come back after the monitor conversion.
2016-04-27 23:18:16 -04:00
Matthias Clasen
044109c8c7
broadway: Port to new monitor api
2016-04-27 23:18:16 -04:00
Matthias Clasen
9026289381
wayland: Port to new monitor api
2016-04-27 23:18:16 -04:00
Matthias Clasen
a2f02f1ca8
integrate docs
2016-04-27 23:18:16 -04:00
Matthias Clasen
0611cb4823
screen: Implement old monitor apis generically
...
Implement all the monitor-related GdkScreen apis based on GdkMonitor.
2016-04-27 23:18:16 -04:00
Matthias Clasen
b6c4ba0e2a
Add a fallback for unconverted backends
...
If the monitor vfuncs are not implemented in a display class,
fall back to providing a single monitor object representing
the entire screen. This is not meant to be 'good enough', it
is just to provide some implementation until all backends
implement the monitor vfuncs. When that is the case, the
fallback should be removed.
2016-04-27 23:18:16 -04:00
Matthias Clasen
9d719b9989
display: Add new monitor apis
...
This follows our general direction of moving functionality
from GdkScreen to GdkDisplay.
2016-04-27 23:18:16 -04:00
Matthias Clasen
837244809e
Add GdkMonitor
...
Add a simple object representing a monitor.
2016-04-27 23:18:16 -04:00
Christian Hergert
8fc11ef2a5
Revert "iconhelper: check if surface was invalidated"
...
This reverts commit 88d0258397
.
2016-04-27 19:02:25 -07:00
Руслан Ижбулатов
96c18db0da
GtkTreeView: change child repositioning to preserve locality
...
If there was a piece of text in the cell, then when the edit
entry is shown for that cell, it should have a piece of text
in it roughly at the same location.
Therefore, when child widget is enlarged (child preferred
size exceeds cell size), extra width should be added by
extending either left or right edge depending on text direction.
If after that the child sticks outside of the treeivew visible region,
try to push it back inside (breaking its alignment with the
cell), again, giving preference (i.e. adjusting it last)
to either left or right edge depending on text direction.
https://bugzilla.gnome.org/show_bug.cgi?id=765471
2016-04-28 01:35:46 +00:00
Christian Hergert
88d0258397
iconhelper: check if surface was invalidated
...
Fetching the style may cause the surface to be invalidated.
2016-04-27 17:45:01 -07:00
Balázs Meskó
055ce9f095
Updated Hungarian translation
2016-04-27 19:32:14 +00:00
Daniel Mustieles
25c38df30e
Updated Spanish translation
2016-04-27 21:07:11 +02:00
Lapo Calamandrei
0d55542359
Adwaita: add a background to cellrendertext
2016-04-27 20:05:44 +02:00