summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* toggleSwitch: Make handle draggablewip/exalm/checks-switchesDaniel Ruiz de Alegría2023-03-231-9/+103
|
* toggleSwitch: Animate transitionsDaniel Ruiz de Alegría2023-03-231-5/+17
|
* theme: Style switches with pure CSSDaniel Ruiz de Alegría2023-03-2313-31/+148
|
* checkBox: Reimplement styles in CSSAlexander Mikhaylenko2023-03-2311-452/+49
| | | | | Stop using SVG assets other than the actual check icon. This will help making it recolorable.
* Update British English translationBruce Cowan2023-03-221-428/+513
|
* status/network: Generalize code to hide subtitleGeorges Basile Stavracas Neto2023-03-211-7/+7
| | | | | | | | | | | | | | | | | | Commit 9d75d777c72e introduced code to hide the subtitle of the quick setting toggle when it matches the title of the toggle. That's because NetworkManager tries to make the network names more palatable on its own, and reports that the name of single wired networks is "Wired" even if it may have another name. What that commit failed to account for, however, is that there are other circumstances where we end up with a subtitle is exactly the same of the title. For example, when turning off Wi-Fi or mobile broadband connections. The behaviour of commit 9d75d777c72e is safe enough to be applied on other device-backed connections, so do it. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2682>
* screenshot: Get cursor texture from windowIvan Molodetskikh2023-03-211-1/+5
| | | | | | | | | When a window is in the background and should not have the cursor on top of it, its _cursor will be null. By getting the texture through it, we add this extra check, which was missing before, leading to a cursor drawn at 0, 0 on windows where it should not have been drawn. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2702>
* st/icon-theme: Disconnect from settings signals on disposalMarco Trevisan (Treviño)2023-03-211-2/+2
| | | | | | | | | Icon themes can be created by extensions and thus are likely destroyed on extension unload, so we must disconnect from StSettings signals to avoid accessing to invalid memory. See: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2012021 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2711>
* workspacesView: Update visibility after updating workspacesFlorian Müllner2023-03-211-1/+1
| | | | | | | | | | | | When the number of workspaces changes, it is possible that one of the visible (non-active) workspaces is removed, and another invisible workspace moves in its place. Make sure that workspaces are shown as necessary in this case. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6519 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2699>
* Update Persian translationDanial Behzadi2023-03-211-25/+29
|
* screenshot: Use meta_window_has_pointer () for pointer checkIvan Molodetskikh2023-03-211-1/+1
| | | | | | | | https://gitlab.gnome.org/GNOME/mutter/-/commit/909616b20876478bc56932cd18c8e85e982645f6 seems to have wrapped window actors in a container, so the actor.has_pointer check started failing. Instead, switch to meta_window_has_pointer () which doesn't rely on window actor implementation details. We check for existence of has_pointer first just in case someone attempts to run gnome-shell 44.1 with mutter 44.0 which does not have the function exported publicly yet. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2710>
* Update Slovenian translationMartin2023-03-201-24/+28
|
* Update Swedish translationAnders Jonsson2023-03-201-26/+27
|
* main: Add missing newlinesFlorian Müllner2023-03-201-6/+6
| | | | | | | Unlike the various log macros, g_printerr() does not append '\n' by itself. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2709>
* Update Indonesian translationAndika Triwidada2023-03-201-230/+31
|
* style: Reduce padding between quick menu toggle text and separatorSebastian Keller2023-03-191-0/+2
| | | | | | | | | | The padding between the text and the arrow button separator effectively was 2 * base_padding, while the spacing between the icon and the text was just 1.5 * base_padding. This was a bit uneven and also could result in the text getting ellipsized when it wasn't necessary. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6432 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2685>
* Update Hungarian translationBalázs Úr2023-03-191-24/+28
|
* modalDialog: Fix fading out dialogFlorian Müllner2023-03-191-1/+1
| | | | | | | | | | The dialog's state property has been read-only since commit 2f6323afc, but the callback at the end of the fade transition still tries to set the value directly. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6506 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2696>
* endSessionDialog: Catch async errorsFlorian Müllner2023-03-191-5/+5
| | | | | | | | | | Otherwise the actual error is masked by an "unhandled promise rejection" error, making it harder to track down the underlying cause. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6506 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2696>
* tests: Set GNOME_SHELL_SESSION_MODE to userMarco Trevisan (Treviño)2023-03-191-0/+1
| | | | | | | This may not be unset in some environments, so let's override it with the default value. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2661>
* tests: Add default test setup with common env settingsMarco Trevisan (Treviño)2023-03-193-6/+11
| | | | | | | | | | Add common test environment variables to a default test setup so that they don't need to be repeated everywhere. Also ensures that we're always using the gsettings memory backend to never interfere with local environment. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2661>
* extension-tool: Set reminder for removing old compat codeFlorian Müllner2023-03-192-0/+5
| | | | | | | | | | | | | | GSettings schemas are now compiled at install time, so it is no longer necessary to include the compiled schema in the archive. However the `gnome-extensions pack` command hasn't been adjusted, so that it can still be used to produce valid archives for all supported versions. To not let that code linger forever, error out when building a version where GNOME 44 is the oldest supported release. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2639>
* Update Galician translationFran Dieguez2023-03-191-5/+9
|
* main: Fix syncing animations-enabledFlorian Müllner2023-03-191-0/+1
| | | | | | | | | | | | | Whether or not animations should be enabled depends on various factors, some of which may change at runtime. We therefore track changes, and sync the setting by calling inhibit/uninhibit as necessary. Except that we never actually record the new state, so when animations are disabled, we end up inhibiting them every time the setting is synced, whoops. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2698>
* extensionSystem: Fix extension reloadingFlorian Müllner2023-03-191-1/+1
| | | | | | | | | | | Unloading an extension has become an async operation, but we aren't awaiting the result. That means that we recreate the extension object *before* we remove the "old" extension object from the map, with the effect that the reloaded extension is removed completely. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6507 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2694>
* appDisplay: Avoid using an undefined _swipeTrackerDaniel van Vugt2023-03-191-1/+2
| | | | | | | It might have been deleted already during shutdown by `_onDestroy()`. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6512 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2693>
* screenshot: Fix code typoCarlos Garnacho2023-03-191-1/+1
| | | | | | | | | | | Even though commit b89d90eb8 talked about the GLib.BookmarkFile type, this didn't stop the code from sneaking a silly typo and refer to this GLib.BookmarksFile (i.e. extra 's'). Fix the code to refer to the right type name and constructor. Fixes: b89d90eb8 ("screenshot: Use GLib.BookmarkFile to save recent screenshots") Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2692>
* status/location: Handle geoclue not being activatableWill Thompson2023-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In GNOME OS, due to a misconfiguration, geoclue was configured without systemd support. In that configuration, geoclue does not install its systemd .service file (geoclue.service) but it (incorrectly) includes the following line in its D-Bus service file: SystemdService=geoclue.service As a result, when dbus-daemon tried to activate it at gnome-shell's request, it would fail with: Unit geoclue.service not found Then, GeoclueAgent._onGeoclueVanished() would be called, as the name_vanished_handler passed to Gio.bus_watch_name(). This is consistent with Gio.bus_watch_name()'s documentation: > You are guaranteed that one of the handlers will be invoked after > calling this function. But that function assumed that this._managerProxy is defined, leading to: JS ERROR: TypeError: this._managerProxy is undefined _onGeoclueVanished@resource:///org/gnome/shell/ui/status/location.js:163:9 Fix this by checking for nullishness of this._managerProxy. (Strictly speaking, it's undefined rather than being null, but other code in this file already uses the vaguer '!= null' test, which considers undefined to be null.) Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2689>
* status/bluetooth: Fix bluetooth placeholder text alignmentSebastian Keller2023-03-192-1/+2
| | | | | | | | | | The padding specified for .bt-menu-placeholder was overridden by the more specific.popup-menu-item:ltr/rtl padding. Also the ornament, was still taking up space, as well as the spacing between the ornament and the text. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6434 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2687>
* na-xembed: Do not use same coordinates of mutter offscreen windowsMarco Trevisan (Treviño)2023-03-191-1/+1
| | | | | | | | | | | | | | | We created the socket window using the same coordinates that mutter uses for its own off-screen windows created via meta_x11_display_create_offscreen_window() and that are filtered out in MetaWindowX11's is_our_xwindow(). This caused these windows to be never tracked by mutter and then we never received a "::window-created" signal that should lead a ShellTrayIcon to associate itself as the clone of the created MetaWindow. So, still keep it offscreen, but at different location. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2684>
* status/backgroundApps: Add section titleFlorian Müllner2023-03-191-0/+9
| | | | | | | | | | | | | | | At least for the time being, the background portal's app monitor only supports flatpak apps, which are the only apps where we can reliably match processes to .desktop files and assume that they belong to graphical apps. To indicate that there may well be apps that don't appear in the list despite running in the background, add a clarifying section title. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6400 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2681>
* st/icon-theme: Remove unnecessary CLAMP()Florian Müllner2023-03-191-3/+3
| | | | | | | | | The ClutterColor struct members are 8-bit unsigned integers, so they are always in the 0 to 255 range. Spotted by coverity. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2679>
* st: Stop implementing custom refcountingFlorian Müllner2023-03-195-42/+17
| | | | | | | Glib has generic RcBox/ArcBox types nowadays that can be used to add ref-counting to a plain struct types, use those instead. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2679>
* Bump version to 44.044.0Florian Müllner2023-03-196-6/+17
| | | | Update NEWS.
* Update Persian translationMohammadSaleh Kamyab2023-03-161-53/+59
|
* Update Russian translationAleksandr Melman2023-03-141-25/+24
|
* Update Czech translationMarek Černocký2023-03-141-4/+4
|
* Updated Spanish translationDaniel2023-03-131-21/+20
|
* Update Basque translationAsier Sarasua Garmendia2023-03-121-35/+41
|
* Update Danish translationAlan Mortensen2023-03-111-59/+65
|
* Update Czech translationMarek Černocký2023-03-111-357/+454
|
* Update Chinese (China) translationBoyuan Yang2023-03-111-424/+511
|
* Update Swedish translationAnders Jonsson2023-03-101-338/+421
|
* Update Turkish translationSabri Ünal2023-03-101-18/+17
|
* Update Friulian translationFabio Tomat2023-03-091-159/+169
|
* Update Indonesian translationKukuh Syafaat2023-03-091-70/+76
|
* Update French translationAlexandre Franke2023-03-081-27/+33
|
* Update Belarusian translationVasil Pupkin2023-03-071-59/+65
|
* Update Chinese (Taiwan) translationChao-Hsiung Liao2023-03-061-410/+494
|
* Update Galician translationFran Dieguez2023-03-061-68/+74
|