[gnome-documents/gnome-3-20] mainWindow: don't set window title explicitly



commit dca9f45d988777602c5a7bba5fde0411e5e82783
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Sep 3 11:26:25 2016 -0700

    mainWindow: don't set window title explicitly
    
    We already set the application name depending on the mode. Don't
    explicitly set the window title here, so that the application name will
    be used by default.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770757

 src/mainWindow.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 34649b4..f5abb99 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -50,8 +50,7 @@ const MainWindow = new Lang.Class({
                       width_request: _WINDOW_MIN_WIDTH,
                       height_request: _WINDOW_MIN_HEIGHT,
                       window_position: Gtk.WindowPosition.CENTER,
-                      show_menubar: false,
-                      title: _("Documents") });
+                      show_menubar: false });
 
         // apply the last saved window size and position
         let size = Application.settings.get_value('window-size');


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