[the-board] [things] Set Toolbar title on PhotoThing and VideoThing
- From: Lucas Almeida Rocha <lucasr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [the-board] [things] Set Toolbar title on PhotoThing and VideoThing
- Date: Sun, 7 Nov 2010 23:21:45 +0000 (UTC)
commit 5e9ceeb70e9ef7dec746dc87723cd961a9f96d28
Author: Lucas Rocha <lucasr gnome org>
Date: Sun Nov 7 22:56:31 2010 +0000
[things] Set Toolbar title on PhotoThing and VideoThing
src/js/ui/things/photo.js | 4 +++-
src/js/ui/things/video.js | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/js/ui/things/photo.js b/src/js/ui/things/photo.js
index b712a5f..df964bf 100644
--- a/src/js/ui/things/photo.js
+++ b/src/js/ui/things/photo.js
@@ -420,7 +420,9 @@ function create(args) {
}
function createToolbar(args) {
- let toolbar = new Toolbar.Toolbar({ visible: false });
+ let toolbar =
+ new Toolbar.Toolbar({ title: NAME,
+ visible: false });
let toolBox =
new ToolBox.ToolBox({ title: Gettext.gettext("Load from"),
diff --git a/src/js/ui/things/video.js b/src/js/ui/things/video.js
index 5517ac7..18526fe 100644
--- a/src/js/ui/things/video.js
+++ b/src/js/ui/things/video.js
@@ -657,7 +657,9 @@ function create(args) {
}
function createToolbar(args) {
- let toolbar = new Toolbar.Toolbar({ visible: false });
+ let toolbar =
+ new Toolbar.Toolbar({ title: NAME,
+ visible: false });
let toolBox =
new ToolBox.ToolBox({ title: Gettext.gettext("Load from"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]