[gnome-documents] mainToolbar: don't forget to show night-mode button
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] mainToolbar: don't forget to show night-mode button
- Date: Sun, 13 Nov 2016 04:30:01 +0000 (UTC)
commit 89f63bd1b78a9e46a8cce1fea366ee4d3b9462c8
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Nov 12 18:37:01 2016 -0800
mainToolbar: don't forget to show night-mode button
src/mainToolbar.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/mainToolbar.js b/src/mainToolbar.js
index 3a356e9..8aeb8dd 100644
--- a/src/mainToolbar.js
+++ b/src/mainToolbar.js
@@ -98,7 +98,8 @@ const MainToolbar = new Lang.Class({
addNightmodeButton: function() {
let nightmodeButton = new Gtk.ToggleButton({ image: new Gtk.Image ({ icon_name:
'display-brightness-symbolic' }),
tooltip_text: _("Night Mode"),
- action_name: 'app.night-mode' });
+ action_name: 'app.night-mode',
+ visible: true });
this.toolbar.pack_end(nightmodeButton);
return nightmodeButton;
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]