[gnome-sound-recorder] mainWindow.js: Fix the headerbar code.
- From: Meg Ford (Margaret) <megford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] mainWindow.js: Fix the headerbar code.
- Date: Tue, 4 Mar 2014 01:55:19 +0000 (UTC)
commit 9a4388893ca5a3f1b53d1bb316a9c44e5fb0df52
Author: Meg Ford <meg387 gmail com>
Date: Mon Mar 3 19:43:09 2014 -0600
mainWindow.js: Fix the headerbar code.
src/mainWindow.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 8133ddf..bce3e84 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
// Translators: This is the title in the headerbar
if (sounds > 0) {
- sounds = Gettext.ngettext("%d Recorded Sound",
+ title = Gettext.ngettext("%d Recorded Sound",
"%d Recorded Sounds",
sounds).format(sounds);
}
- header.set_title(sounds);
+ 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]