[gthumb] added "gthumb" to the window title



commit 0ccb9123282f05fd033e360c11fffa1d88877e6c
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Jul 7 00:05:28 2011 +0200

    added "gthumb" to the window title
    
    [bug #627159]

 gthumb/gth-browser.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index a9fff33..773cf72 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -501,8 +501,6 @@ gth_browser_update_title (GthBrowser *browser)
 			g_string_append (title, _("[modified]"));
 		}
 	}
-	else
-		g_string_append (title, _("gthumb"));
 
 	file_store = gth_browser_get_file_store (browser);
 	browser->priv->n_visibles = gth_file_store_n_visibles (file_store);
@@ -518,6 +516,10 @@ gth_browser_update_title (GthBrowser *browser)
 		}
 	}
 
+	if (title->len > 0)
+		g_string_append (title, " - ");
+	g_string_append (title, _("gthumb"));
+
 	gtk_window_set_title (GTK_WINDOW (browser), title->str);
 
 	g_string_free (title, TRUE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]