From b6c24d0cc989f11136d22f44a6d492fa1015246b Mon Sep 17 00:00:00 2001
From: Alexander Schwinn <alexxcons@xfce.org>
Date: Sun, 17 Jan 2021 16:28:38 +0100
Subject: [PATCH] Add suffix '- Thunar' to the title bar (Issue #482)

---
 thunar/thunar-window.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index 509314125..df60052ae 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -3684,6 +3684,7 @@ thunar_window_current_directory_changed (ThunarFile   *current_directory,
                                          ThunarWindow *window)
 {
   gboolean      show_full_path;
+  gchar        *title;
   gchar        *parse_name = NULL;
   const gchar  *name;
 
@@ -3698,10 +3699,13 @@ thunar_window_current_directory_changed (ThunarFile   *current_directory,
   else
     name = thunar_file_get_display_name (current_directory);
 
-  /* set window title */
-  gtk_window_set_title (GTK_WINDOW (window), name);
   g_free (parse_name);
 
+  /* set window title */
+  title = g_strdup_printf ("%s - %s", name, "Thunar");
+  gtk_window_set_title (GTK_WINDOW (window), title);
+  g_free (title);
+
   /* set window icon */
   thunar_window_update_window_icon (window);
 }
-- 
GitLab