Matthias Clasen
ca2787fbba
build: Pass gobject_types=true to graphene
...
This is required for graphene-gobject to be built.
2023-01-02 09:15:59 -05:00
Matthias Clasen
6d2c897dfc
build: Bump introspection dep to 1.72
...
This should be kept in sync with glib.
2023-01-02 09:15:56 -05:00
Matthias Clasen
01f81b2d77
build: Bump graphene req to 1.10
...
So we don't require an unstable version.
2023-01-02 09:15:56 -05:00
Matthias Clasen
e126110ae0
Merge branch 'wide-inspector' into 'main'
...
inspector: Avoid super-wide window
See merge request GNOME/gtk!5379
2022-12-31 20:07:45 +00:00
Matthias Clasen
f98406b080
Merge branch 'annotate-dialog-deprecation' into 'main'
...
docs: Annotate GtkDialog deprecation
See merge request GNOME/gtk!5376
2022-12-31 20:07:20 +00:00
Matthias Clasen
40a2910262
inspector: Avoid super-wide window
...
Ellipsize values that can get long, to avoid
forcing an excessively wide window.
2022-12-31 12:30:40 -05:00
Marco Melorio
ec84077486
docs: Annotate GtkDialog deprecations
2022-12-30 15:37:11 +01:00
Benjamin Otte
188f9269b7
Merge branch 'wip/corey/list-item-visible' into 'main'
...
listitemwidget: Setup factory only once the widget is visible
See merge request GNOME/gtk!5374
2022-12-29 22:21:43 +00:00
Corey Berla
7ad693f865
gtkcolumnviewcolumn: Only create cells when the column is visible
...
It's a big performance drag to create many cells (and their associated
widgets) for columns that may never be shown. Only create cells
is the column is visible, and subsequently create/remove cells
when in column_set_visible.
2022-12-29 11:11:40 -08:00
Yosef Or Boczko
913e3680f3
Update Hebrew translation
2022-12-27 21:46:52 +00:00
Matthias Clasen
f3ad6015c6
Merge branch 'wip/corey/notify-drop-value' into 'main'
...
gtkdroptarget: Notify value property on local drag
See merge request GNOME/gtk!5372
2022-12-27 16:45:16 +00:00
Corey Berla
4e694c1824
gtkdroptarget: Notify value property on local drag
...
The value property is only getting notified when it's unset
or when it's set from gdk_drop_real_value_async(). Make sure
to always notify :value when its changed
2022-12-27 08:11:53 -08:00
Matthias Clasen
0214cb5b1b
Post-release version bump
2022-12-26 07:22:39 -05:00
Matthias Clasen
12bd668f4d
4.9.2
2022-12-26 06:41:21 -05:00
Matthias Clasen
f7fb069e2f
Updates
2022-12-25 09:25:45 -05:00
Matthias Clasen
7213bf5b09
Merge branch 'wip/otte/for-main' into 'main'
...
GtkDialog: Various API changes
See merge request GNOME/gtk!5251
2022-12-24 15:14:17 +00:00
Matthias Clasen
5eb4a3af0d
filedialog: Handle initial-folder being NULL
...
This showed up as test failure in ci.
2022-12-24 09:01:16 -05:00
Benjamin Otte
c4c747d2ad
alertdialog: Rephrase docs for show() a bit
...
In particular, discuss what to do about cancellables.
Related: !5326
2022-12-24 07:56:57 -05:00
Benjamin Otte
671fad5f34
filedialog: Clarify interaction of :filters and :default-filter
2022-12-24 07:56:57 -05:00
Benjamin Otte
1b9c45b660
filedialog: Rename :current-filter to :default-filter
...
The last "current" removed from properties. None of these are current.
2022-12-24 07:56:57 -05:00
Benjamin Otte
e2f730c0bf
filedialog: Add gtk_file_dialog_set_initial_file()
...
A shortcut for setting initial-folder and initial-name at the same time.
We can remove all arguments from the actual async calls this way.
2022-12-24 07:56:57 -05:00
Benjamin Otte
8a2d35b9fb
filedialog: Add gtk_file_dialog_set_initial_name()
2022-12-24 07:56:57 -05:00
Benjamin Otte
26cec4a021
filedialog: Rename current-folder to initial-folder
...
It's not the current one - unlike in GtkFileChooser - because there are
no live updates. So we use a more descriptive name.
2022-12-24 07:56:57 -05:00
Benjamin Otte
8d8e83afa2
fontdialog: Handle Escape better
...
Closing the dialog by hitting Escape should
have the same effect as clicking the cancel
button. Make it so.
2022-12-24 07:56:57 -05:00
Benjamin Otte
381bb84f3d
alertdialog: Bring the GError back
...
Make sure we have a GError, so that dismissing and cancelling can be
separated.
2022-12-24 07:56:57 -05:00
Benjamin Otte
977fedfdf1
dialog: GTK_DIALOG_ERROR_ABORTED => GTK_DIALOG_ERROR_CANCELLED
...
This is done via the GCancellable, so let's call it cancelling.
2022-12-24 07:56:57 -05:00
Benjamin Otte
8957302bd4
dialog: GTK_DIALOG_ERROR_CANCELLED => GTK_DIALOG_ERROR_DISMISSED
...
The term "cancelling" is used with GCancellable, a user clicking a close
button is not that.
User input is usually described as "dismissing", so we use that term.
2022-12-24 07:56:57 -05:00
Benjamin Otte
8a7f739f9f
directorylist: Always add standard::name
...
glib can't figure out how to do that, so we need to do that ourselves.
2022-12-24 07:56:57 -05:00
Matthias Clasen
fce4810fb4
Merge branch 'ccook/doc-changes-1' into 'main'
...
Various spelling mistakes across a few domains that show up in documentation.
See merge request GNOME/gtk!5370
2022-12-24 12:52:19 +00:00
Matthias Clasen
d5ba76a82c
Merge branch 'wip/carlosg/autohide-checks-on-x11' into 'main'
...
gdk/surface: Handle clicks outside client surfaces
See merge request GNOME/gtk!5369
2022-12-24 12:50:09 +00:00
Cam Cook
1cd44ec7b7
Make stylecheck happy
2022-12-23 11:21:18 -05:00
Cam Cook
424d56830a
Merge remote-tracking branch 'upstream/main' into ccook/doc-changes-1
2022-12-23 11:02:18 -05:00
Cam Cook
7fc4d02851
Various spelling mistakes across a few domains that show up in documentation.
...
| domain | current | suggestion |
|--------|---------|------------|
| [GtkAspectFrame](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkaspectframe.c#L457 ) | "requistion of the child" | "requisition of the child" |
| [GtkPaned](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkpaned.c#L2500 ) | "(attributes org.gtk.Method.set_propery=wide-handle)" | "(attributes org.gtk.Method.set_property=wide-handle)"|
| [GtkPopover](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkpopover.c#L2484 ) | "with gtk_popover_set_offset()." | "with [method@Gtk.Popover.set_offset()]." |
| [GtkPopoverMenu](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkpopovermenu.c#L859 ) | "with gtk_popover_menu_add_child()" | "with [method@Gtk.PopoverMenu.add_child()]" |
| [GtkSelectionModel](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkselectionmodel.c#L316 ) | "the queired range" | "the queried range" |
| [GtkScrolledWindow](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkscrolledwindow.c#L76 ) | "automatically removed hen" | "automatically removed when"|
| [GtkSearchBar](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtksearchbar.c#L425 ) | "Connects the \`GtkEditable widget" | "Connects the `GtkEditable` widget" |
2022-12-23 11:01:07 -05:00
Carlos Garnacho
e7f798dcf5
gdk/surface: Handle clicks outside client surfaces
...
The owner_events=TRUE grab makes GDK on X11 see events happening
outside every client window as received on the grab window.
Additionally check that the pointer is inside the grab window
(i.e. it received GDK_CROSSING_NORMAL crossing events for the
core pointer) in order to handle clicks happening outside client
windows.
These new paths are expected to be a no-op on Wayland, and to
also work for touchscreen input on X11, due to emulated pointer
events.
2022-12-23 16:12:03 +01:00
Yuri Chornoivan
f6bd63c9ad
Update Ukrainian translation
2022-12-23 13:49:23 +00:00
Matthias Clasen
99320f99c3
Merge branch 'wip/ignazp/clipboard_eol' into 'main'
...
clipboard: improve EOL conversion of plain text
See merge request GNOME/gtk!5367
2022-12-22 13:31:07 +00:00
Ignazio Pillai
8ecb624934
clipboard: improve EOL conversion of plain text
...
Handle the case of clipboard text with CR line endings
2022-12-22 12:55:30 +01:00
Matthias Clasen
123eebb93d
Merge branch 'tweak-gtkfilechooser-button-tooltips' into 'main'
...
GtkFileChooser: Tweak Grid View & List View button tooltips
See merge request GNOME/gtk!5345
2022-12-21 12:39:53 +00:00
Emmanuele Bassi
b6596d5313
Merge branch 'remove_a11y_name_fallback' into 'main'
...
Don't present GTK class names to assistive technologies even as a fallback
Closes gnome-control-center#2244
See merge request GNOME/gtk!5365
2022-12-21 11:06:20 +00:00
Lukáš Tyrychtr
ffe333a21f
Don't present GTK class names to assistive technologies even as a fallback
...
A screen reader user is not interested in GTK internals, for example,
he does not care whether a button is an image button or not,
and a screen reader will report the fact that it is a button anyway.
Same applies for GtkEntry widgets, for example.
This actually is sufficient to fix gnome-control-center#2244.
And, according to the discussion in #5145 , it should be fine.
2022-12-21 11:35:46 +01:00
Matthias Clasen
257ca10eb1
Merge branch 'file-nullable' into 'main'
...
filelauncher: Make set_file argument nullable
See merge request GNOME/gtk!5357
2022-12-21 03:23:58 +00:00
Benjamin Otte
ae097d9674
Merge branch 'wip/antoniof/listbase-rubberband-better-fix' into 'main'
...
listbase: Cancel rubberband if not handling drag
See merge request GNOME/gtk!4831
2022-12-21 01:14:57 +00:00
Luca Bacci
1659c59410
Merge branch 'include-hicolor-index-theme-as-resource-rebased' into 'main'
...
Include hicolor index.theme as a resource (rebased)
Closes #5303
See merge request GNOME/gtk!5361
2022-12-20 16:08:11 +00:00
Luca Bacci
cf91e09d75
Include hicolor index.theme as a resource
...
index.theme file copied from upstream xdg/default-icon-theme
repository at tag 0.17:
https://gitlab.freedesktop.org/xdg/default-icon-theme/-/tree/0.17
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5303
2022-12-20 16:30:00 +01:00
Emmanuele Bassi
020636c49f
Merge branch 'revert-09691ead' into 'main'
...
Revert "Merge branch 'include-hicolor-index-theme-as-resource' into 'main'"
See merge request GNOME/gtk!5360
2022-12-20 15:22:28 +00:00
Luca Bacci
59df956f4f
Revert "Merge branch 'include-hicolor-index-theme-as-resource' into 'main'"
...
This reverts merge request !5341
2022-12-20 13:23:51 +00:00
Matthias Clasen
09691ead4c
Merge branch 'include-hicolor-index-theme-as-resource' into 'main'
...
Include hicolor index.theme as a resource
Closes #5303
See merge request GNOME/gtk!5341
2022-12-20 12:24:25 +00:00
Maximiliano Sandoval R
18a7f715c4
filelauncher: Make set_file argument nullable
2022-12-20 11:08:47 +01:00
Aleksandr Melman
d1347bbf33
Update Russian translation
2022-12-20 09:33:25 +00:00
Matthias Clasen
1b816c91d0
Merge branch 'fix-asan-more' into 'main'
...
ci: Disable f16c for asan
See merge request GNOME/gtk!5356
2022-12-20 06:04:46 +00:00