[gnome-sound-recorder] mainWindow.js: title setting for empty startup



commit 8579ef66f56a3cac8b6328f8904b85954299ac61
Author: Meg Ford <meg387 gmail com>
Date:   Tue Mar 4 07:10:42 2014 -0600

    mainWindow.js: title setting for empty startup

 src/mainWindow.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index bce3e84..1d84e8f 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -318,14 +318,14 @@ const MainView = new Lang.Class({
         this.groupGrid.add(this._scrolledWin);
         this._scrolledWin.show();
         let sounds = list.getItemCount();
-        let title
+        let title;
         // Translators: This is the title in the headerbar
         if (sounds > 0) {
             title = Gettext.ngettext("%d Recorded Sound",
                                      "%d Recorded Sounds", 
                                       sounds).format(sounds);
+            header.set_title(title);
         }
-        header.set_title(title);
         this.listBox = null;
         this._startIdx = 0;
         this._endIdx = offsetController.getEndIdx();


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