[gnome-shell/wip/fmuellner/notification-redux: 21/128] dateMenu: Remove link to Date & Time Settings
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux: 21/128] dateMenu: Remove link to Date & Time Settings
- Date: Tue, 17 Feb 2015 11:21:25 +0000 (UTC)
commit 800114739472e477d0f96586508a138285a4b842
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Feb 7 01:41:11 2015 +0100
dateMenu: Remove link to Date & Time Settings
js/ui/dateMenu.js | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index 2cd2c3f..93f5318 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -280,16 +280,6 @@ const DateMenuButton = new Lang.Class({
this._clocksItem = new WorldClocksSection();
vbox.add(this._clocksItem.actor);
- let separator = new PopupMenu.PopupSeparatorMenuItem();
- vbox.add(separator.actor, { y_align: St.Align.END, expand: true, y_fill: false });
-
- item = this.menu.addSettingsAction(_("Date & Time Settings"), 'gnome-datetime-panel.desktop');
- if (item) {
- item.actor.show_on_set_parent = false;
- item.actor.reparent(vbox);
- this._dateAndTimeSeparator = separator;
- }
-
// Done with hbox for calendar and event list
@@ -330,9 +320,5 @@ const DateMenuButton = new Lang.Class({
}
this._setEventSource(eventSource);
this._updateEventsVisibility();
-
- // This needs to be handled manually, as the code to
- // autohide separators doesn't work across the vbox
- this._dateAndTimeSeparator.actor.visible = Main.sessionMode.allowSettings;
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]