Merge branch 'main' into lenemter/update-animated-bg

This commit is contained in:
Ryan Kornheisl 2024-10-05 04:18:07 +00:00 committed by GitHub
commit aeb7135a44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 72 additions and 70 deletions

View File

@ -18,9 +18,9 @@ jobs:
version: [stable, unstable, development-target]
include:
- version: stable
mutter_pkg: libmutter-10-dev
mutter_pkg: libmutter-14-dev
- version: unstable
mutter_pkg: libmutter-10-dev
mutter_pkg: libmutter-14-dev
- version: development-target
mutter_pkg: libmutter-14-dev
container:

View File

@ -29,6 +29,19 @@ public class Gala.WindowIcon : Clutter.Actor {
}
construct {
/**
* Sometimes a WindowIcon is constructed on Meta.Display::window_created.
* In this case it can happen that we don't have any info about the app yet so we can't get the
* correct icon. Therefore we check whether the info becomes available at some point
* and if it does we try to get a new icon.
*/
window.notify["wm-class"].connect (reload_icon);
window.notify["gtk-application-id"].connect (reload_icon);
reload_icon ();
}
private void reload_icon () {
width = icon_size * scale;
height = icon_size * scale;

View File

@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: beat-box\n"
"Report-Msgid-Bugs-To: https://github.com/elementary/gala/issues\n"
"POT-Creation-Date: 2024-09-17 18:30+0000\n"
"PO-Revision-Date: 2024-08-07 18:17+0000\n"
"Last-Translator: anonymous <noreply@weblate.org>\n"
"PO-Revision-Date: 2024-09-24 11:24+0000\n"
"Last-Translator: Daniel Hejduk <danielhejduk@disroot.org>\n"
"Language-Team: Czech <https://l10n.elementary.io/projects/desktop/gala/cs/>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
@ -116,10 +116,8 @@ msgid "Improvements:"
msgstr "Vylepšení:"
#: data/gala.metainfo.xml.in:34
#, fuzzy
#| msgid "Fix a potential crash when taking screenshots"
msgid "Fix a potential crash when moving windows between workspaces"
msgstr "Opraveny potenciální pády při pořizování snímků obrazovky"
msgstr "Opraveny potenciální pády při pohybování oken mezi pracovištěma"
#: data/gala.metainfo.xml.in:35
#, fuzzy

View File

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: beat-box\n"
"Report-Msgid-Bugs-To: https://github.com/elementary/gala/issues\n"
"POT-Creation-Date: 2024-09-17 18:30+0000\n"
"PO-Revision-Date: 2024-07-21 06:16+0000\n"
"PO-Revision-Date: 2024-09-29 02:16+0000\n"
"Last-Translator: David Hewitt <davidmhewitt@gmail.com>\n"
"Language-Team: English (United Kingdom) <https://l10n.elementary.io/projects/"
"desktop/gala/en_GB/>\n"
@ -115,16 +115,12 @@ msgid "Improvements:"
msgstr "Improvements:"
#: data/gala.metainfo.xml.in:34
#, fuzzy
#| msgid "Fix a potential crash when taking screenshots"
msgid "Fix a potential crash when moving windows between workspaces"
msgstr "Fix a potential crash when taking screenshots"
msgstr "Fix a potential crash when moving windows between workspaces"
#: data/gala.metainfo.xml.in:35
#, fuzzy
#| msgid "Fix notification position after changing DPI"
msgid "Fix notification animation when entering multitasking view"
msgstr "Fix notification position after changing DPI"
msgstr "Fix notification animation when entering multitasking view"
#: data/gala.metainfo.xml.in:36 data/gala.metainfo.xml.in:52
#: data/gala.metainfo.xml.in:95 data/gala.metainfo.xml.in:117
@ -189,7 +185,7 @@ msgstr "Unknown"
#: src/DesktopIntegration.vala:132
msgid "Window has already focus"
msgstr ""
msgstr "Window has already focus"
#: src/Dialogs.vala:144
#, c-format
@ -247,7 +243,7 @@ msgstr "Screenshot taken"
#: src/Widgets/WindowSwitcher/WindowSwitcher.vala:73
msgid "Window switcher"
msgstr ""
msgstr "Window switcher"
#: src/WindowManager.vala:2365
#, c-format

View File

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: noise\n"
"Report-Msgid-Bugs-To: https://github.com/elementary/gala/issues\n"
"POT-Creation-Date: 2024-09-17 18:30+0000\n"
"PO-Revision-Date: 2024-08-21 17:26+0000\n"
"PO-Revision-Date: 2024-10-03 23:16+0000\n"
"Last-Translator: TomiOhl <ohlslager.tom@gmail.com>\n"
"Language-Team: Hungarian <https://l10n.elementary.io/projects/desktop/gala/"
"hu/>\n"
@ -117,16 +117,13 @@ msgid "Improvements:"
msgstr "Fejlesztések:"
#: data/gala.metainfo.xml.in:34
#, fuzzy
#| msgid "Fix a potential crash when taking screenshots"
msgid "Fix a potential crash when moving windows between workspaces"
msgstr "Egy esetleges összeomlás javítva képernyőkép készítésekor"
msgstr ""
"Egy esetleges összeomlás javítva videók munkaterületek közti mozgatásakor"
#: data/gala.metainfo.xml.in:35
#, fuzzy
#| msgid "Fix notification position after changing DPI"
msgid "Fix notification animation when entering multitasking view"
msgstr "DPI-állítás utáni értesítéshelyzet javítva"
msgstr "Értesítési felület megnyitása utáni értesítéshelyzet javítva"
#: data/gala.metainfo.xml.in:36 data/gala.metainfo.xml.in:52
#: data/gala.metainfo.xml.in:95 data/gala.metainfo.xml.in:117

View File

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gala\n"
"Report-Msgid-Bugs-To: https://github.com/elementary/gala/issues\n"
"POT-Creation-Date: 2024-09-17 18:30+0000\n"
"PO-Revision-Date: 2024-08-21 17:26+0000\n"
"PO-Revision-Date: 2024-09-22 01:32+0000\n"
"Last-Translator: DutchVipperloid <svenroelof@e.email>\n"
"Language-Team: Dutch <https://l10n.elementary.io/projects/desktop/gala/nl/>\n"
"Language: nl\n"
@ -115,16 +115,16 @@ msgid "Improvements:"
msgstr "Verbeteringen:"
#: data/gala.metainfo.xml.in:34
#, fuzzy
#| msgid "Fix a potential crash when taking screenshots"
msgid "Fix a potential crash when moving windows between workspaces"
msgstr "Een mogelijke crash verholpen bij het maken van screenshots"
msgstr ""
"Een mogelijke crash verholpen wanneer vensters worden bewogen tussen "
"werkruimtes"
#: data/gala.metainfo.xml.in:35
#, fuzzy
#| msgid "Fix notification position after changing DPI"
msgid "Fix notification animation when entering multitasking view"
msgstr "De positie van notificaties is verbeterd na het veranderen van DPI"
msgstr ""
"De notificatie animatie verholpen wanneer multitaskingweergave wordt "
"opgeroepen"
#: data/gala.metainfo.xml.in:36 data/gala.metainfo.xml.in:52
#: data/gala.metainfo.xml.in:95 data/gala.metainfo.xml.in:117

View File

@ -8,10 +8,10 @@ msgstr ""
"Project-Id-Version: gala\n"
"Report-Msgid-Bugs-To: https://github.com/elementary/gala/issues\n"
"POT-Creation-Date: 2024-09-17 18:30+0000\n"
"PO-Revision-Date: 2024-08-21 17:26+0000\n"
"PO-Revision-Date: 2024-09-23 10:39+0000\n"
"Last-Translator: Marcin Serwin <marcin@serwin.dev>\n"
"Language-Team: Polish <https://l10n.elementary.io/projects/desktop/gala/pl/"
">\n"
"Language-Team: Polish <https://l10n.elementary.io/projects/desktop/gala/pl/>"
"\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@ -116,16 +116,16 @@ msgid "Improvements:"
msgstr "Ulepszenia:"
#: data/gala.metainfo.xml.in:34
#, fuzzy
#| msgid "Fix a potential crash when taking screenshots"
msgid "Fix a potential crash when moving windows between workspaces"
msgstr "Naprawiono potencjalny crash podczas robienia zrzutu ekranu"
msgstr ""
"Naprawiono potencjalny crash podczas przenoszenia okien między obszarami "
"roboczymi"
#: data/gala.metainfo.xml.in:35
#, fuzzy
#| msgid "Fix notification position after changing DPI"
msgid "Fix notification animation when entering multitasking view"
msgstr "Napraw pozycję powiadomień po zmianie DPI"
msgstr ""
"Naprawiono animację powiadomienia podczas wchodzenia do widoku "
"wielozadaniowego"
#: data/gala.metainfo.xml.in:36 data/gala.metainfo.xml.in:52
#: data/gala.metainfo.xml.in:95 data/gala.metainfo.xml.in:117

View File

@ -8,16 +8,16 @@ msgstr ""
"Project-Id-Version: beat-box\n"
"Report-Msgid-Bugs-To: https://github.com/elementary/gala/issues\n"
"POT-Creation-Date: 2024-09-17 18:30+0000\n"
"PO-Revision-Date: 2023-05-18 20:06+0000\n"
"Last-Translator: Özgür Baskin <queeup@zoho.com>\n"
"Language-Team: Turkish <https://l10n.elementary.io/projects/desktop/gala/tr/"
">\n"
"PO-Revision-Date: 2024-09-21 10:16+0000\n"
"Last-Translator: Sinan Decron <sinanveyasinan@gmail.com>\n"
"Language-Team: Turkish <https://l10n.elementary.io/projects/desktop/gala/tr/>"
"\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
"X-Generator: Weblate 5.6.2\n"
"X-Launchpad-Export-Date: 2017-02-21 05:47+0000\n"
#: daemon/DBus.vala:82 daemon-gtk3/BackgroundMenu.vala:11
@ -33,14 +33,12 @@ msgid "System Settings…"
msgstr "Sistem Ayarları…"
#: daemon/DBus.vala:207 daemon-gtk3/BackgroundMenu.vala:47
#, fuzzy
#| msgid "System Settings…"
msgid "Failed to open System Settings"
msgstr "Sistem Ayarları"
msgstr "Sistem Ayarlarıılamadı"
#: daemon/DBus.vala:208 daemon-gtk3/BackgroundMenu.vala:48
msgid "A handler for the “settings://” URI scheme must be installed."
msgstr ""
msgstr "“settings://” URI şeması için bir işleyici yüklenmelidir."
#: daemon-gtk3/WindowMenu.vala:36 daemon/WindowMenu.vala:38
msgid "Hide"
@ -117,16 +115,14 @@ msgid "Improvements:"
msgstr "İyileştirmeler:"
#: data/gala.metainfo.xml.in:34
#, fuzzy
#| msgid "Fix a potential crash when taking screenshots"
msgid "Fix a potential crash when moving windows between workspaces"
msgstr "Ekran görüntüsü alırken olası bir çökme düzeltildi"
msgstr ""
"Çalışma alanları arasında pencereleri taşırken oluşabilecek bir çökme hatası "
"düzeltildi"
#: data/gala.metainfo.xml.in:35
#, fuzzy
#| msgid "Fix notification position after changing DPI"
msgid "Fix notification animation when entering multitasking view"
msgstr "DPI değiştirdikten sonraki bildirim konumu düzeltildi"
msgstr "Çoklu görev görünümüne girildiğinde bildirim animasyonunu düzeltildi"
#: data/gala.metainfo.xml.in:36 data/gala.metainfo.xml.in:52
#: data/gala.metainfo.xml.in:95 data/gala.metainfo.xml.in:117
@ -135,36 +131,38 @@ msgid "Updated translations"
msgstr "Çeviriler güncellendi"
#: data/gala.metainfo.xml.in:50
#, fuzzy
#| msgid "Multitasking View"
msgid "Improve keyboard navigation in Multitasking View"
msgstr "Çoklu Görev Görünümü"
msgstr "Çoklu Görev Görünümünde klavye gezintisini iyileştirildi"
#: data/gala.metainfo.xml.in:51
msgid "Change panel color at the same time as wallpaper transition"
msgstr ""
msgstr "Duvar kağıdı geçişiyle aynı anda panel rengini değiştir"
#: data/gala.metainfo.xml.in:91
msgid ""
"Changing the wallpaper or going to sleep respects the \"Reduce Motion\" "
"option"
msgstr ""
"Duvar kağıdını değiştirmek veya uyku moduna geçmek \"Hareketi Azalt\" "
"seçeneğini dikkate alır"
#: data/gala.metainfo.xml.in:92
msgid "Use appropriate drag-and-drop pointers when moving windows"
msgstr ""
msgstr "Pencereleri taşırken uygun sürükle ve bırak işaretçilerini kullan"
#: data/gala.metainfo.xml.in:93
msgid "Fix the issue when gestures in the multitasking view might stop working"
msgstr ""
"Çoklu görev görünümünde hareketlerin çalışmayı durdurabileceği sorun "
"düzeltildi"
#: data/gala.metainfo.xml.in:94
msgid "Improve dynamic workspaces behaviour with multiple monitors"
msgstr ""
msgstr "Birden fazla monitörle dinamik çalışma alanı davranışını iyileştirildi"
#: data/gala.metainfo.xml.in:116
msgid "Improve handling of move-to-workspace shortcut"
msgstr ""
msgstr "Çalışma alanına taşıma kısayolunun kullanımını iyileştirildi"
#: data/gala-multitaskingview.desktop.in:4
#: data/gala-multitaskingview.desktop.in:6
@ -187,11 +185,11 @@ msgstr ""
#: lib/App.vala:51
msgctxt "program"
msgid "Unknown"
msgstr ""
msgstr "Bilinmeyen"
#: src/DesktopIntegration.vala:132
msgid "Window has already focus"
msgstr ""
msgstr "Pencere zaten odaklanmış durumda"
#: src/Dialogs.vala:144
#, c-format
@ -221,23 +219,23 @@ msgstr "Bekle"
#: src/Dialogs.vala:217
#, c-format
msgid "“%s” wants to inhibit system shortcuts"
msgstr ""
msgstr "“%s” sistem kısayollarını engellemek istiyor"
#: src/Dialogs.vala:219
msgid "An application wants to inhibit system shortcuts"
msgstr ""
msgstr "Bir uygulama sistem kısayollarını engellemek istiyor"
#: src/Dialogs.vala:222
msgid "All system shortcuts will be redirected to the application."
msgstr ""
msgstr "Tüm sistem kısayolları uygulamaya yönlendirilecektir."
#: src/Dialogs.vala:223
msgid "Allow"
msgstr ""
msgstr "İzin ver"
#: src/Dialogs.vala:224
msgid "Deny"
msgstr ""
msgstr "Reddet"
#: src/ScreenshotManager.vala:290
msgid "Screenshots"
@ -249,7 +247,7 @@ msgstr "Ekran görüntüsüsü alındı"
#: src/Widgets/WindowSwitcher/WindowSwitcher.vala:73
msgid "Window switcher"
msgstr ""
msgstr "Pencere değiştirici"
#: src/WindowManager.vala:2365
#, c-format

View File

@ -48,7 +48,7 @@ public class Gala.ManagedClient : Object {
}
private async void start_wayland () {
var subprocess_launcher = new GLib.SubprocessLauncher (STDERR_PIPE | STDOUT_PIPE);
var subprocess_launcher = new GLib.SubprocessLauncher (INHERIT_FDS);
try {
#if HAS_MUTTER44
wayland_client = new Meta.WaylandClient (display.get_context (), subprocess_launcher);