summaryrefslogtreecommitdiff
path: root/src/caja-spatial-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-spatial-window.c')
-rw-r--r--src/caja-spatial-window.c4
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"));