diff options
author | Simon McVittie <smcv@debian.org> | 2023-03-06 23:34:50 +0000 |
---|---|---|
committer | Will Thompson <wjt@endlessos.org> | 2023-03-07 10:38:05 +0000 |
commit | 2ed2453476bc62501896083109c542cf407c7ae1 (patch) | |
tree | 447c014a71198d130e1fa1e78e5d4ce176f771a8 | |
parent | 9d06eaedef4dc348e72801c1a3e1d54796f4bcf1 (diff) | |
download | gnome-initial-setup-2ed2453476bc62501896083109c542cf407c7ae1.tar.gz |
driver: Set a non-trivial window title
When running in "existing user" mode (which isn't done upstream, but
Debian and Ubuntu re-enable it because they don't have GNOME Tour),
the window title is visible in Alt+[key above Tab] and the Overview.
It defaults to "gnome-initial-setup", but looks better if we reuse the
translated name from the .desktop file.
Signed-off-by: Simon McVittie <smcv@debian.org>
-rw-r--r-- | gnome-initial-setup/gis-driver.c | 1 | ||||
-rw-r--r-- | po/POTFILES.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gnome-initial-setup/gis-driver.c b/gnome-initial-setup/gis-driver.c index 2c122e0..f226576 100644 --- a/gnome-initial-setup/gis-driver.c +++ b/gnome-initial-setup/gis-driver.c @@ -799,6 +799,7 @@ gis_driver_startup (GApplication *app) "application", app, "icon-name", "preferences-system", "deletable", FALSE, + "title", _("Initial Setup"), NULL); g_signal_connect (driver->main_window, diff --git a/po/POTFILES.in b/po/POTFILES.in index 9bc7c20..b8391ec 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -4,6 +4,7 @@ data/gnome-initial-setup-first-login.desktop.in.in data/gnome-initial-setup.desktop.in.in gnome-initial-setup/cc-common-language.c gnome-initial-setup/gis-assistant.c +gnome-initial-setup/gis-driver.c gnome-initial-setup/gnome-initial-setup.c gnome-initial-setup/pages/account/gis-account-avatar-chooser.ui gnome-initial-setup/pages/account/gis-account-page-enterprise.c |