[gnome-sound-recorder/wip/christopherdavis/set-window-title: 15/15] mainWindow: set a default title for zero sounds recorded
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder/wip/christopherdavis/set-window-title: 15/15] mainWindow: set a default title for zero sounds recorded
- Date: Fri, 1 Feb 2019 11:16:28 +0000 (UTC)
commit bbe362f6bd85e981a561825c7d80b38fd55cc176
Author: Christopher Davis <brainblasted disroot org>
Date: Wed Jan 16 18:52:30 2019 -0500
mainWindow: set a default title for zero sounds recorded
Previously we set the window's title to "" when there were no
sounds recorded. On some desktops, this caused an issue where
sound recorder was labeled "Untitled Window".
Now Sound Recorder sets the title to "No Recorded Sounds".
Fixes https://gitlab.gnome.org/GNOME/gnome-sound-recorder/issues/34
src/mainWindow.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 52dcd69..aa1bd75 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -367,7 +367,7 @@ var MainView = new Lang.Class({
"%d Recorded Sounds",
sounds).format(sounds);
} else {
- title = "";
+ title = _("No Recorded Sounds");
}
header.set_title(title);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]