Commits on Source (64)
-
Georges Basile Stavracas Neto authoredd7f4823b
-
Use g_object_ref_sink() for widgets since that is the right pattern for GInitiallyUnowned objects, remove the corresponding g_object_unref/g_clear_object in the free func, and make more use of g_clear_object/g_clear_pointer. For the screenshot portal this is a correctness fix since in that case the g_clear_pointer() in screenshot_dialog_handle_close() was preventing us from dropping the reference held on the dialog that we would otherwise drop in screenshot_dialog_handle_free(). Otherwise these changes should not introduce any functional difference.
0f765fba -
Phaedrus Leeds authoredc0f53d79
-
Phaedrus Leeds authored616a5744
-
Philipp Kiemle authored20de8b33
-
Phaedrus Leeds authored
This is to avoid a compiler warning on calls to g_clear_pointer (&handle->dialog, gtk_window_destroy);
dc89f603 -
Nathan Follens authored
(cherry picked from commit 6d3c402a)
2ed1dd38 -
Piotr Drąg authoredaa5ea6e4
-
Sveinn í Felli authored
(cherry picked from commit 1ef7d46c)
9c77be95 -
Georges Basile Stavracas Neto authored
In the SaveFile call, apps can pass all 3 options (current name, file, and folder), but that's not really how the API is expected to be used. When current file is passed, ignore current name and folder. Fixes https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/29
fffa8902 -
Bruce Cowan authored
(cherry picked from commit 37b5359a)
f6f23587 -
Pawan Chitrakar authored
(cherry picked from commit 406a3d76)
d79903de -
Anders Jonsson authoredbb6fa32b
-
Yuri Chornoivan authored4b268807
-
Danial Behzadi authored25715aa1
-
Fran Dieguez authoredc559566d
-
Hugo Carvalho authored45e28d8d
-
Daniel Mustieles authoredeb0f829c
-
Aleksandr Melman authoredb61bb6ef
-
Quentin PAGÈS authored9fb20acc
-
Emin Tufan Çetin authored015ebb87
-
Luming Zh authoreda060603a
-
Yosef Or Boczko authored6be16ca7
-
Jordi Mas authoredfd65b564
-
Florian Müllner authored
The theme is considered deprecated in favor of symbolic icons from the regular theme.
5d958daa -
Jan Grulich authored
When the session is closed, for example trying to share a screen in Chrome and closing the web page while having the portal dialog still open, it will not take down the dialog and instead it just gets hidden below Chrome's window.
5450d65d -
Jan Grulich authoreda60f4a26
-
Aurimas Černius authored7f102f55
-
Zurab Kargareteli authored300732c0
-
Debarshi Ray authored
It was unable to build gnome-desktop because libseccomp is a hard dependency. https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/42
6ce531d6 -
Debarshi Ray authored
There's no need to duplicate the temporary URI string because g_file_get_uri already returns a new copy for the caller to own. https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/42
d6e0737f -
Debarshi Ray authored
Fallout from f323c6b1 https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/42
aad306cf -
Debarshi Ray authored
Fallout from ab21bc9d and 7f635703 https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/46
f0aa33cc -
Debarshi Ray authored
These should have been part of commit dc89f603. https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/46
7f0cfda5 -
Georges Basile Stavracas Neto authored
We don't need any of them.
54d1c664 -
Georges Basile Stavracas Neto authored
This commit adds a pair of windows to the preview, as per mockups. https://gitlab.gnome.org/Teams/Design/os-mockups/-/blob/master/portals/portals.png
409080aa -
Alexander Mikhaylenko authoreddd11507c
-
Georges Basile Stavracas Neto authored3d2e4483
-
Georges Basile Stavracas Neto authored9d2fbe54
-
Kukuh Syafaat authoredfb81421a
-
Fabio Tomat authored4a979aab
-
Yosef Or Boczko authored5409dafb
-
Nart Tlisha authorede9976fb2
-
Asier Sarasua Garmendia authoreda6d5b362
-
Georges Basile Stavracas Neto authored
No functional changes.
2aec9a05 -
Georges Basile Stavracas Neto authored
GPtrArray is generally nicer to use, so let's use it.
e6c901a4 -
Georges Basile Stavracas Neto authored
This is not enough to fix [1], but it's a necessary step towards that. This implicitly calls sync_state(), which we'll depend on later. [1] https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/49
4a75c8d4 -
Georges Basile Stavracas Neto authored
We need to wait for the full list of windows before attempting to restore a previous window stream, otherwise we'll always fail. Spin the mainloop until the list of windows is ready. Fixes https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/49
3cbc3ccf -
Georges Basile Stavracas Neto authored
Internally, whenever multiple callers call into sync_state(), ShellIntrospection would perform as many separate operations as the number of calls. This is not optimal. Cancel ongoing calls to GetWindows() before calling it again.
f8ea902c -
Georges Basile Stavracas Neto authored
The function parameter name does not match the .c counterpart. Fix that.
01d3275e -
Марко Костић authored932c55fd
-
Georges Basile Stavracas Neto authored
The same code is repeated 3 times, so factor them out into a single function. Future commits will increment this function to maybe avoid the screenshot dialog altogether in some circumstances.
110af0d6 -
Georges Basile Stavracas Neto authored
This will be used by the screenshot dialog to decide whether or not to skip the dialog.
73948015 -
Georges Basile Stavracas Neto authored
But only when the screenshot portal is version 3 or greater. Before version 3, no portal-sided permissions were asked for non-interactive screenshots, so we still have to show some indication that the screen content was grabbed; but starting from version 3, xdg-desktop-portal queries the user using the access portal, so we don't have to do it again.
29f1ae4a -
Georges Basile Stavracas Neto authored4d37c707
-
Georges Basile Stavracas Neto authored
The same code is repeated 3 times, so factor them out into a single function. Future commits will increment this function to maybe avoid the screenshot dialog altogether in some circumstances.
d52b6e4c -
Georges Basile Stavracas Neto authored
xdg-desktop-portal 1.15.0 has an update to the Screenshot portal D-Bus API for frontends, with a version bump. This new version also contains a behavioural change where, if the frontend implements version 2, it'll request the 'screenshot' permission. This allows us to skip the permission dialog in this case. Implement version 2 of org.freedesktop.portal.impl.Screenshot, and skip the screenshot dialog when we know that a permission has been granted, and when the screenshot is non-interactive.
b9f4fcfd -
Georges Basile Stavracas Neto authoredb7261833
-
Jeremy Bicha authoredd66c5471
po/ka.po
0 → 100644