Commit Graph

50228 Commits

Author SHA1 Message Date
Matthias Clasen
ceb69490a9 Merge branch 'app-private-recent-list' into 'gtk-3-24'
FileChooserWidget: Don't show recent items with private hint set

See merge request GNOME/gtk!172
2018-08-28 20:14:16 +00:00
Kai Willadsen
5111f7af99 FileChooserWidget: Don't show recent items with private hint set 2018-08-28 20:14:16 +00:00
Matthias Clasen
aa69b3af5a Merge branch 'gtk-3-24.win.updated' into 'gtk-3-24'
Fix pre-C99 builds of the gtk-3-24 branch

See merge request GNOME/gtk!310
2018-08-28 20:10:04 +00:00
Matthias Clasen
2307f8ec67 Merge branch 'fix-warning-combobox-destroy' into 'gtk-3-24'
Fix warning on GtkComboBox destroy

See merge request GNOME/gtk!311
2018-08-28 19:27:24 +00:00
Piotr Drąg
ea2bef06ec Update Polish translation 2018-08-28 18:48:15 +02:00
Luca Bacci
aa5d926c84 Check for NULL priv->popup_window in gtk_combo_box_popdown()
Fixes issue #125
2018-08-28 18:39:05 +02:00
Matthias Clasen
61921eba57 Fix a typo
Its Hieroglyphs!

Closes: #1292
2018-08-28 12:26:49 -04:00
Changwoo Ryu
7ca98179fc Update Korean translation 2018-08-28 15:53:18 +00:00
Chun-wei Fan
608b44a9fa demos/gtk-demo/paint.c: Fix build on pre-C99
Use a const GdkRGBA to replace the compound literal use.
2018-08-28 17:43:11 +08:00
Chun-wei Fan
6cf7297653 gtk/gtkeventcontrollerscroll.c: Include fallback-c89.c
... instead of just math.h, as it uses the C99 function trunc().  This
is so that the code builds on pre-C99 compilers.
2018-08-28 17:43:11 +08:00
Chun-wei Fan
723e50990f gtk/fallback-c89.c: Add C89 fallback for trunc()
Check for trunc() during configure and provide a fallback implementation
for it if it is not found.
2018-08-28 17:43:04 +08:00
Rafael Fontenelle
ab3527672e Update Brazilian Portuguese translation 2018-08-28 03:39:09 +00:00
Rafael Fontenelle
5dd2df75c9 Update Brazilian Portuguese translation 2018-08-28 02:56:52 +00:00
Changwoo Ryu
7f930b5ded Update Korean translation 2018-08-27 14:12:09 +00:00
Milo Casagrande
a9df4a8f1b Update Italian translation 2018-08-27 08:02:19 +00:00
Matthias Clasen
0dc84df59b Merge branch 'clear_preedit' into 'gtk-3-24'
Clear preedit when a text input loses focus

See merge request GNOME/gtk!302
2018-08-26 23:48:26 +00:00
Matthias Clasen
ac654740f3 Deprecate GtkRange::upper/lower-stepper-sensitivity
These properties have been removed in GTK+ 4.
Deprecate them here.
2018-08-26 18:58:59 -04:00
Kukuh Syafaat
f459bd6c19 Update Indonesian translation 2018-08-26 13:43:56 +00:00
Kukuh Syafaat
4e690a3091 Update Indonesian translation 2018-08-26 13:43:26 +00:00
Baurzhan Muftakhidinov
4dfd44a84f Update Kazakh translation 2018-08-25 17:27:26 +00:00
Baurzhan Muftakhidinov
a9ab1b1b39 Update Kazakh translation 2018-08-25 17:26:55 +00:00
Baurzhan Muftakhidinov
5dd8befca4 Update Kazakh translation 2018-08-25 17:26:07 +00:00
Christian Kirbach
49242af74c Update German translation 2018-08-25 10:48:51 +00:00
Dorota Czaplejewicz
49b17e6c1e imwayland: clear preedit on focus out 2018-08-23 22:03:01 +02:00
Benjamin Otte
da8994f941 Don't deprecate gtk_widget_show_all()
After discussions on IRC, the conclusion was reached that deprecations
only make sense if an action can be taken to not use the deprecated code
that makes the code more current and simplifies a later port to a newer
GTK version.

In this particular case, the suitable action would be adding
gtk_widget_show() calls whenever a widget is created, so that a call to
show_all() is not necessary.
However, in GTK4 these calls would not be necessary and end up just
bloating the codebase unnecessarily.

So it was decided the better solution would be to not deprecate the API
and instead leave this work to be done during potential GTK4 ports of
applications.

This reverts commit 4d71d2303d.

Fixes !1282
2018-08-22 19:48:20 +02:00
Cheng-Chia Tseng
2b9f5e9e32 Update Chinese (Taiwan) translation 2018-08-21 16:23:16 +00:00
Cheng-Chia Tseng
6fa28bdaac Update Chinese (Taiwan) translation 2018-08-21 16:15:54 +00:00
Rico Tzschichholz
2306c82df7 gesturestylus: Add missing array g-i annotation for *_get_axes params 2018-08-20 17:01:59 +02:00
Bruce Cowan
009b7dcf1e Update British English translation 2018-08-19 16:50:48 +00:00
Matthias Clasen
45b434c28c Merge branch 'win32-scroll-deltas' into 'gtk-3-24'
GDK W32: Support smooth scrolling

See merge request GNOME/gtk!292
2018-08-18 20:44:24 +00:00
Tim Sabsch
a6a2745a2a Update German translation 2018-08-18 15:41:45 +00:00
Jordi Mas
645ad9fb62 Update Catalan translation 2018-08-18 08:29:58 +02:00
Jordi Mas
3a8056f2d1 Update Catalan translation 2018-08-18 08:23:10 +02:00
Iain Lane
dce33fa830 colorpickershell: Unpack the tuple returned from PickColor()
When calling PickColor on org.gnome.Shell, we get back an "a{sv}", which
GDBus provides to us as "(a{sv})".

At the minute we're not unpacking this tuple, and so picking fails with
messages like:

  GLib-CRITICAL **: 13:38:19.439: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed

  Gtk-WARNING **: 13:38:19.439: Picking color failed: No color received

Let's unpack it.
2018-08-17 09:10:59 -04:00
Ricardo Silva Veloso
25d512c186 Update Brazilian Portuguese translation 2018-08-17 08:32:13 +00:00
Matthias Clasen
c9f875bd77 Merge branch 'fix-shifted-scrolling-gtk3' into 'gtk-3-24'
gtkscrolledwindow: Consider shift key presses when decelerating [gtk3]

See merge request GNOME/gtk!287
2018-08-15 22:02:45 +00:00
Matthias Clasen
677627346d Merge branch 'wip/tooltip-move-to-rect' into 'gtk-3-24'
Make tooltips use gdk_window_move_to_rect()

See merge request GNOME/gtk!293
2018-08-15 22:01:20 +00:00
Jonas Ådahl
436c8802a2 Merge branch 'wip/carlosg/issue-844' into 'gtk-3-24'
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls

See merge request GNOME/gtk!294
2018-08-14 17:52:59 +00:00
Carlos Garnacho
935bb5db32 gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
These may not result on wl_surface.frame callbacks, yet we do trigger
a frame clock tick that would get stuck on the lack of such callback.

https://bugzilla.gnome.org/show_bug.cgi?id=784314
https://gitlab.gnome.org/GNOME/gtk/issues/844

Closes: #844
2018-08-14 18:52:07 +02:00
Claude Paroz
c4f2420e9a Updated French translation 2018-08-14 13:41:09 +02:00
Emin Tufan Çetin
96ea85a991 Update Turkish translation 2018-08-12 11:07:37 +00:00
Emin Tufan Çetin
b5333aec99 Update Turkish translation 2018-08-12 10:27:10 +00:00
Emin Tufan Çetin
f2f11a7f4d Update Turkish translation 2018-08-12 10:21:06 +00:00
Yi-Jyun Pan
9c4f684e1c Update Chinese (Taiwan) translation 2018-08-12 10:08:50 +00:00
Piotr Drąg
fbdf100712 Update Polish translation 2018-08-11 23:57:28 +02:00
Aurimas Černius
de9b22a137 Updated Lithuanian translation 2018-08-11 18:09:03 +03:00
Jonas Ådahl
14d22cb323 tooltip: Implement positioning using gdk_window_move_to_rect()
In order to make tooltip positioning portable, make use of the
move_to_rect API. Some semantical changes are made, as identical
semantics cannot be implemented using the move-to-rect API.

Primarily the implemented semantics are:

Position the tooltip in the center pixels slightly below (defaults to 4
units below) the tooltipped widget. This is always the case for keyboard
driven tooltips; the case where it tries to avoid the pointer cursor is
not implemented.

For pointer position triggered tooltips, implement the following
additional semantics:

Use the current cursor size to determine the padding used to enlarge the
anchor rectangle. This is to try to avoid the cursor overlapping the
tooltip.

If the anchor rectangle is too tall (meaning if we'd be constrained
and flip on the Y axis, it'd flip too far away from the originally
intended position), rely only on the pointer position to position the
tooltip. The approximate pointer cursor rectangle is used as a anchor
rectangle. Ideally we should use the actual pointer cursor rectangle
(image used as well as hotspot coordinate), but we don't have API to
get that information.

If the anchor rectangle isn't to tall, just make sure the tooltip isn't
too far away from the pointer position on the X axis.

Closes: #134
Closes: #432
Closes: #574
Closes: #579
Closes: #878
2018-08-10 18:32:54 +02:00
Jonas Ådahl
595f3902c8 gdk/wayland: Always map windows 'moved-to-rect' as popups
Only popups can make use of the move-to-rect semantics so it makes no
sense to try anything other surface type.
2018-08-10 18:32:54 +02:00
Jonas Ådahl
1ed53199c5 gdk/wayland: Don't remap non-subsurface as subsurface
Let's just use the fact that a window was mapped as a subsurface to
remap it above another transient parent instead of relying on the more
complicated 'should-map-as-subsurface' helper function.
2018-08-10 18:32:54 +02:00
Claude Paroz
2e9439b017 Update French translation 2018-08-09 10:37:29 +00:00