Matthias Clasen
d8cb11ec4a
Deprecate GtkStatusbar
...
The design patterns using statusbar are no longer popular,
and it is pretty easy to make a statusbar yourself with boxes
and labels, if you need one. The only thing special about
GtkStatusbar was its window resize handle, but that has
been gone for a long time.
2023-02-02 08:39:24 +01:00
Matthias Clasen
8796950651
Deprecate more startup-notification API
2023-02-02 08:30:32 +01:00
Fran Dieguez
a52f9d6def
Update Galician translation
2023-02-01 19:12:29 +00:00
Benjamin Otte
ee272646c9
Merge branch 'fix-gltexture-confusion' into 'main'
...
gltexture: Use the right context
See merge request GNOME/gtk!5461
2023-02-01 18:47:28 +00:00
Matthias Clasen
6655177a0b
Cosmetics
2023-02-01 18:38:22 +01:00
Daniel Mustieles
cb78f0d10a
Update Spanish translation
2023-02-01 15:28:00 +00:00
Matthias Clasen
1cb621633c
gltexture: Use the right context
...
When checking characteristics of the context
for downloading, we were using self->context,
even though we are using a possibly different
context for downloading.
Pass the right context along and use it.
2023-02-01 11:32:07 +01:00
Kukuh Syafaat
ce25efeee7
Update Indonesian translation
2023-02-01 03:14:46 +00:00
Matthias Clasen
375b554924
Merge branch 'fix-gst-sync' into 'main'
...
gst: Fix synchronization
See merge request GNOME/gtk!5459
2023-01-31 12:28:27 +00:00
Matthias Clasen
69eed999bb
gst: Rename a field for clarity
...
gst_gdk_context is clearer than gst_app_context. Maybe
2023-01-30 15:01:31 -05:00
Matthias Clasen
cab5f2bd8d
Merge branch 'file-chooser-dnd-crash' into 'main'
...
filechooserwidget: Fix file chooser crash when dropping empty file list
See merge request GNOME/gtk!5456
2023-01-30 19:28:24 +00:00
Fina Wilke
35e3c22832
filechooserwidget: Fix file chooser crash when dropping empty file list
2023-01-30 19:28:24 +00:00
Matthias Clasen
55f7f7d0ee
gst: Fix synchronization
...
It does not make sense to sync and wait in the
same context, that is just a no-op. The intention
of this code clearly was to sync in the gst
context, and wait in the gdk one.
That also matches what the gtk sink implementation
in gstreamer does.
2023-01-30 12:04:49 -05:00
Matthias Clasen
442cd4a369
Merge branch 'password-entry-unrealize' into 'main'
...
passwordentry: Fix an asymmetry
Closes #5285
See merge request GNOME/gtk!5457
2023-01-30 12:29:33 +00:00
Matthias Clasen
53af41e2fa
passwordentry: Fix an asymmetry
...
When connecting a signal in realize,
we should disconnect in unrealize.
Fixes : #5285
2023-01-29 22:39:28 -05:00
Matthias Clasen
c43e1f3d0a
gsk: Quiet a compiler warning
2023-01-28 21:13:10 -05:00
Jürgen Benvenuti
32e855ad61
Update German translation
2023-01-28 19:59:19 +00:00
Benjamin Otte
034a8a5501
Merge branch 'tooltip-size-simplification' into 'main'
...
tooltip: Don't play games with max-width-chars
Closes #4470 and #5521
See merge request GNOME/gtk!5455
2023-01-28 18:26:00 +00:00
Matthias Clasen
1e9dbf2df0
tooltip: Prevent too-wide tooltip windows
...
Set the label to expand, so it actually fills
the width that we allocated for it, instead
of shrinking back to the minimum width for
its height.
Fixes : #5521
2023-01-28 13:07:26 -05:00
Matthias Clasen
dce21f06dd
tooltip: Don't play games with max-width-chars
...
Setting max-width-chars to the number of characters
in the string works ok only as long as the average
char width we get from Pango matches reality. Sadly
that seems not always the case, and this code was
causing short Chinese tooltips to always be broken
into two lines.
Fixes : #4470
2023-01-28 13:06:30 -05:00
Piotr Drąg
56c1c4152f
Update POTFILES.in
2023-01-28 14:05:01 +01:00
Matthias Clasen
a9d2fa296e
Merge branch 'position-as-double' into 'main'
...
Boyscouting: fix position type in `gtk_drag_source_drag_begin()`
See merge request GNOME/gtk!5437
2023-01-28 03:24:19 +00:00
Carlos Garnacho
5bccb106c2
Merge branch 'work/zzag/activation-token-dbus' into 'main'
...
wayland: Fix handling of activation-token in org.freedesktop.Application requests
See merge request GNOME/gtk!5151
2023-01-28 00:44:25 +00:00
Yuri Chornoivan
45086487f1
Update Ukrainian translation
2023-01-27 19:23:39 +00:00
Vlad Zahorodnii
65f03121a4
wayland: Fix handling of activation-token in org.freedesktop.Application requests
...
At the moment, GTK applications search for "desktop-startup-id" in the
platform data on Wayland , but desktop environments such as plasma set
"activation-token" property instead as indicated in the spec:
activation-token: This should be a string of the same value as would
be stored in the XDG_ACTIVATION_TOKEN environment variable, as specified
by the XDG Activation protocol for Wayland.
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus
2023-01-27 19:20:53 +00:00
Carlos Garnacho
09769193d7
Merge branch 'wip/carlosg/broadway-fix' into 'main'
...
gdk/broadway: Add deprecation guards around gdk_display_put_event()
See merge request GNOME/gtk!5450
2023-01-27 19:20:28 +00:00
Carlos Garnacho
7f8acf960b
gdk/broadway: Add deprecation guards around gdk_display_put_event()
...
This went missing.
2023-01-27 19:59:36 +01:00
Matthias Clasen
ee0e026237
Merge branch 'fix_5551' into 'main'
...
object_tree.c: One gtk_list_item_get_child call is redundant
Closes #5551
See merge request GNOME/gtk!5449
2023-01-27 16:22:17 +00:00
Matthias Clasen
6bfd581a72
Merge branch 'wip/sophie-h/scrolled-window-propagate-event' into 'main'
...
scrolledWindow: Propagate event for no scrolling
See merge request GNOME/gtk!5447
2023-01-27 14:54:33 +00:00
Lukáš Tyrychtr
7b6f254e64
object_tree.c: One gtk_list_item_get_child call is redundant
...
Fixes #5551
2023-01-27 15:43:33 +01:00
Hugo Carvalho
47955cfe62
Update Portuguese translation
2023-01-27 14:26:32 +00:00
Sophie Herold
e62ca17f88
scrolledWindow: Propagate event for no scrolling
2023-01-26 20:12:10 +01:00
Matthias Clasen
c24ba58acb
Merge branch 'broadway-modal-hint' into 'main'
...
[GTK4] gdk/broadway: Implements modal hint for Broadway surface
See merge request GNOME/gtk!4428
2023-01-26 02:44:54 +00:00
Matthias Clasen
30987168fb
Merge branch 'fix_5543' into 'main'
...
GtkCssProvider: fix element type in docs
Closes #5543
See merge request GNOME/gtk!5441
2023-01-25 13:08:07 +00:00
Lukáš Tyrychtr
93a875bf20
Actually, the annotation is not needed in this case
2023-01-25 11:46:53 +01:00
Yosef Or Boczko
aac3bf581a
Update Hebrew translation
2023-01-25 08:15:09 +00:00
Matthias Clasen
869f07521c
Merge branch 'macos-fix-popups' into 'main'
...
macos: Fix popup event handling
Closes #5528
See merge request GNOME/gtk!5436
2023-01-24 16:37:23 +00:00
Matthias Clasen
7e392a1186
Merge branch 'wip/abono/gtk-switch-state-off' into 'main'
...
gtkswitch: Allow to set state FALSE while keeping active TRUE
See merge request GNOME/gtk!5442
2023-01-24 16:08:57 +00:00
Alessandro Bono
53d87e42a5
gtkswitch: Decouple set_state with set_active.
...
Allow the user to set a state that doesn't reflect the active property.
2023-01-24 14:55:16 +01:00
Arjan Molenaar
6757a1b409
macos: Propagate events for child surfaces
...
Before, popup windows did not respond to mouse clicks.
This change fixes that.
Fixes #5528 .
2023-01-24 09:07:33 +01:00
Maxim Zakharov
115738dd2f
remove unused variable
2023-01-24 11:41:27 +11:00
Matthias Clasen
5caa66ffb7
Merge branch 'macos-native-dnd' into 'main'
...
macos: DnD Drag support
Closes #3423
See merge request GNOME/gtk!5416
2023-01-23 22:01:30 +00:00
Emmanuele Bassi
7df73c4fd2
Use wording from a suggestion
2023-01-23 11:50:28 +00:00
Lukáš Tyrychtr
1ea5a08c8f
GtkCssProvider: fix element type in docs
...
The method takes an array of char, which actually is UTF-8, so make the docs say so.
Fixes #5543
2023-01-23 12:12:00 +01:00
Matthias Clasen
9c669cbe90
Merge branch 'matthiasc/for-main' into 'main'
...
iconhelper: Handle GtkSymbolicPaintable
See merge request GNOME/gtk!5440
2023-01-22 18:36:11 +00:00
Matthias Clasen
1a5184bc85
iconhelper: Handle GtkSymbolicPaintable
...
If we are given a GtkSymbolicPaintable,
treat it as symbolic.
2023-01-22 13:18:18 -05:00
Jordi Mas
8f2ad8f154
Update Catalan translation
2023-01-21 16:58:51 +01:00
Arjan Molenaar
d6ef39b9a2
macos: remove dead code
2023-01-21 15:22:13 +01:00
Arjan Molenaar
52f6acd398
macos: Send dragging events directly to the display
...
Instead of adding events to the application event queue, dispatch
them directly to the right display. We know this when the event is
to be dispatched.
This is the same as used for the `sendEvent` method in `GdkMacosWindow`.
To achieve this I factored out the generic NSEvent to GdkEvent translation.
We can send an event directly, when we receive it in the GdkMacosWindow
directly from the OS.
2023-01-21 14:54:12 +01:00
Ekaterine Papava
2f894bb4ef
Update Georgian translation
2023-01-20 16:04:31 +00:00