diff options
author | Jonathan Michalon <[email protected]> | 2020-01-14 14:18:12 +0100 |
---|---|---|
committer | monsta <[email protected]> | 2020-02-15 16:13:49 +0300 |
commit | aa261d54187fe5568a020b7b2ec8d7e430fd0b26 (patch) | |
tree | e793c7f62ff3aa88ae4fa3571a134c18ed0e0e6c /src/caja-spatial-window.c | |
parent | 4832c00beefb4fc7d4ca3a23538941001d28f871 (diff) | |
download | caja-aa261d54187fe5568a020b7b2ec8d7e430fd0b26.tar.bz2 caja-aa261d54187fe5568a020b7b2ec8d7e430fd0b26.tar.xz |
Set a real title on the desktop window (as provided to ATK)
Even if we think that the desktop window title is never seen, it is used
by the window selector in "all windows" mode and speech synthesis.
Diffstat (limited to 'src/caja-spatial-window.c')
-rw-r--r-- | src/caja-spatial-window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/caja-spatial-window.c b/src/caja-spatial-window.c index af776214..3c847c4e 100644 --- a/src/caja-spatial-window.c +++ b/src/caja-spatial-window.c @@ -390,6 +390,10 @@ sync_window_title (CajaWindow *window) slot = caja_window_get_active_slot (window); + /* Don't change desktop's title, it would override the one already defined */ + if (CAJA_IS_DESKTOP_WINDOW (window)) + return; + if (slot->title == NULL || slot->title[0] == '\0') { gtk_window_set_title (GTK_WINDOW (window), _("Caja")); |