Jonas Ådahl
7fef713224
wayland: Use on globals closure for loading cursor themes
...
Instead of putting a 'load cursor themes' call when receiving an wl_shm
global, make it a closure that is prepared during initialization.
https://bugzilla.gnome.org/show_bug.cgi?id=719819
2015-05-20 11:45:13 +08:00
Jonas Ådahl
4e9be39518
wayland: Add global object depedency tracking
...
Some features need certain globals to initialize. In order to deal with
these dependencies, add a way to postpone closures that depend on a
certain set of globals, that later will be invoked when required
globals are all received.
https://bugzilla.gnome.org/show_bug.cgi?id=719819
2015-05-20 11:45:13 +08:00
Jonas Ådahl
181e4399f6
wayland: Don't round trip recursively during initialization
...
Instead use asynchronous round trips that is synchronized in the end of
the initialization. This makes it easier to track state, as we won't
dispatch arbitrary Wayland messages while processing globals.
https://bugzilla.gnome.org/show_bug.cgi?id=719819
2015-05-20 10:59:47 +08:00
Dušan Kazik
688dcadafa
Updated Slovak translation
2015-05-19 07:18:55 +00:00
Jonas Ådahl
f6d021512a
GtkWindow: Don't assume no shadow width even when not supported
...
Even if a window doesn't support client side shadow
(gtk_window_supports_client_shadow returns FALSE), don't assume the
shadow width is zero, as CSD may have been enabled anyway (meaning
priv->client_decorated is TRUE). In that case we still need to report
the correct width.
https://bugzilla.gnome.org/show_bug.cgi?id=749451
2015-05-18 07:46:43 -04:00
Marek Černocký
fdcb076b64
Updated Czech translation
2015-05-17 10:33:31 +02:00
Matthias Clasen
3ae953092a
Don't force an icon window
...
We were inadvertently forcing the use of an icon window
in all cases. This patch makes it so that we once again
use a combined cursor when possible.
2015-05-16 23:55:09 -04:00
Matthias Clasen
8b902d58b9
Remove some useless comments
2015-05-16 18:04:40 -04:00
Matthias Clasen
0a5e216d42
DND: Move private api to a private header
2015-05-16 17:54:01 -04:00
Matthias Clasen
987da43e71
Remove multi-screen handling in DND code
...
We only have one screen nowadays. No need to carry around
code for handling screen changes.
2015-05-16 17:26:45 -04:00
Pietro Gagliardi
3c8b80dce2
Implemented most of the GDK named cursors on Mac OS X.
...
Only "wait" and "all-scroll" are not implemented properly. OS X does not
seem to have a proper interface to either cursor. Approximations are used
instead; see the code.
See bug 749178.
2015-05-16 17:11:44 -04:00
Matthias Clasen
924a8eb405
GtkQuery: Drop unused mimetype functions
...
These are not used, so drop them.
2015-05-16 00:48:36 -04:00
Matthias Clasen
41fee7e569
GtkQuery: Cleanups
...
Strip leading underscores from GtkQuery api, and
clean up the sources a bit.
2015-05-16 00:48:36 -04:00
Matthias Clasen
3f0f68e6ad
GtkFileChooser: Show remote search results too
...
There is no reason not to show them. Removing this
makes search on remote locations just work.
2015-05-16 00:48:36 -04:00
Matthias Clasen
43e1eea1bb
Rewrite search to be more similar to nautilus
...
The main advantage here is that this code works for remote
locations as well.
2015-05-16 00:48:36 -04:00
Cédric Valmary
3b6af25454
Updated Occitan translation
2015-05-15 16:13:45 +00:00
Piotr Drąg
989221251e
Updated Polish translation
2015-05-15 17:56:58 +02:00
Kjell Ahlstedt
12ccebe2a4
gtkwindow: Fix a memory leak
...
The private data GtkGesture* drag_gesture was added by commit
13e22e2030
, but it's never destroyed.
Unref it in gtk_window_finalize().
https://bugzilla.gnome.org/show_bug.cgi?id=749425
2015-05-15 15:39:04 +02:00
Matthias Clasen
90a8118838
Add a main category to desktop files
...
This makes desktop-file-validate happy.
2015-05-14 15:28:22 -04:00
Emmanuele Bassi
dc41c59006
Amend deprecation warnings for GtkStyle API
...
Not everything has a replacement in the API, as the drawing model
changed considerably; nevertheless, this should help out developers
porting from the deprecated GtkStyle API.
2015-05-14 17:00:14 +01:00
Kjartan Maraas
97697701f7
Updated Norwegian bokmål translation.
2015-05-14 16:55:29 +02:00
Marco Trevisan (Treviño)
8084ebda14
configure.ac: Pull gio-unix dependency for all unix builds
...
It's now needed by gtk-launch, so it's just the case to enable it for all the
builds except the win32 one, instead of adding it for every unix backend.
https://bugzilla.gnome.org/show_bug.cgi?id=744086
2015-05-14 14:54:52 +02:00
Yosef Or Boczko
92ecb117df
Updated Hebrew translation
2015-05-13 23:06:54 +03:00
Marek Kasik
b4f06ca49f
printing: Check connection to remote CUPS server on correct port
...
Add parameter for specification of port to gtk_cups_connection_cups_new().
Use default port returned by ippPort() if the given port is lower than 0.
https://bugzilla.gnome.org/show_bug.cgi?id=693738
2015-05-13 12:28:49 +02:00
Benjamin Otte
36678306a0
box: Fix RTL styling
2015-05-12 18:44:59 +02:00
Matthias Clasen
c32cf6ffb1
GtkPrintUnixDialog: Avoid deprecated properties
...
Not needed here at all.
2015-05-12 08:24:52 -04:00
Matthias Clasen
5c84bc0fba
GtkPageSetupUnixDialog: Avoid deprecated properties
...
Not needed at all.
2015-05-12 08:22:56 -04:00
Matthias Clasen
bce624e7a7
gtk3-demo: Add a page setup example
...
This mainly so I can fix deprecation warnings in the
page setup dialog.
2015-05-12 08:20:35 -04:00
Matthias Clasen
2bb1ed69f0
GtkPopover: Clean up default widget on dispose
...
We forgot to drop the ref we take. Thankfully our
tests caught this.
2015-05-12 07:57:04 -04:00
Matthias Clasen
3dda1c5b64
Docs: Typo fix
2015-05-12 07:44:44 -04:00
Matthias Clasen
fb51f447a2
Fix a11y tests
...
The output of the about dialog test is affected by the keynav
fixes.
2015-05-12 07:44:21 -04:00
Matthias Clasen
dedfcd7d58
Quiet the bitmask test
...
Don't spew so many 0s and 1s.
2015-05-12 07:40:47 -04:00
Ting-Wei Lan
a1e418ebd5
Fix return value error in gtk_font_chooser_get_font_map
...
https://bugzilla.gnome.org/show_bug.cgi?id=749248
2015-05-12 07:22:32 -04:00
Matthias Clasen
cfc07fdfcf
gtk-demo: Don't rely on gdk_cursor_get_image
...
This function is only implemented on X11. Instead,
just use a fixed set of cursor images from resources.
2015-05-11 23:06:50 -04:00
Matthias Clasen
be9915b16a
quartz: Support css cursor names
...
We want these to work across platforms, so do a best-effort
approximation. We could do much better here by copying what
webkit does.
https://bugzilla.gnome.org/show_bug.cgi?id=749178
2015-05-11 22:29:07 -04:00
Matthias Clasen
62b858cf0f
Avoid a critical under weston
...
The ordering of globals in connection setup under weston
is different from mutter, and we end up creating a the
dnd window before any outputs are present. Don't cause
a critical warning in that case.
2015-05-11 22:13:07 -04:00
Matthias Clasen
6663257bf0
GtkFontChooser: Refine 'no matches' pages
...
Use a better icon, and put the text below.
2015-05-11 20:03:08 -04:00
Matthias Clasen
0e267ce7ff
GtkFileChooser: Refine 'no matches' page
...
Use a better icon, and put the text below.
2015-05-11 19:44:30 -04:00
Lars Uebernickel
a8e5cacb91
Allow overriding WM_CLASS from the command line
...
Even when the program itself calls gdk_set_program_class(). There's
currently no way for this function to be called without breaking gdk's
--class command line option, because you cannot call it before
gtk_init().
https://bugzilla.gnome.org/show_bug.cgi?id=747634
2015-05-10 22:40:37 -04:00
Matthias Clasen
9d921ec148
gtk-demo: Port builder example away from GtkUIManager
...
This makes gtk3-demo deprecation-free.
2015-05-10 21:03:13 -04:00
Matthias Clasen
d89766ce41
gtk-demo: Remove an unncessary define
...
The changedisplay example no longer uses and deprecated
API, so don't disable deprecations.
2015-05-10 21:03:13 -04:00
Cédric Valmary
56ddf3f092
Updated Occitan translation
2015-05-10 19:44:36 +00:00
Matthias Clasen
6b8ef6e2e2
Forgotten file
2015-05-10 15:37:55 -04:00
Piotr Drąg
becf1c25ce
Updated POTFILES.in
2015-05-10 18:10:11 +02:00
Matthias Clasen
2bafc7d195
GtkAdjustment: Deprecate some redundant API
...
Both gtk_adjustment_changed and gtk_adjustment_value_changed
are unnecessary every since we've sealed the GtkAdjustment
struct.
https://bugzilla.gnome.org/show_bug.cgi?id=619493
2015-05-10 02:35:52 -04:00
Matthias Clasen
647889c2e3
GtkIconView: Stop using gtk_adjustment_changed
...
This should not be needed at all.
2015-05-10 02:35:07 -04:00
Matthias Clasen
d90847b20e
GtkSpinButton: Stop using gtk_adjustment_value_changed
...
This is just an unnecessary indirection.
2015-05-10 02:34:33 -04:00
Matthias Clasen
9a4f2669f7
Trivial formatting fixes
2015-05-10 02:10:21 -04:00
Matthias Clasen
648c3b39f3
input methods: Add a 'vertical text' hint
...
This has been requested in
https://bugzilla.gnome.org/show_bug.cgi?id=747150
2015-05-10 01:30:38 -04:00
Matthias Clasen
afa2bc8b8d
Revert "Work around a pkg-config bug"
...
This reverts commit 57751fa391
.
I've been told that this is not, in fact, a pkg-config bug,
but a pkg-config feature.
2015-05-10 01:06:31 -04:00