[gnome-shell/wip/fmuellner/notification-redux: 41/128] dateMenu: Some minor fixes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/notification-redux: 41/128] dateMenu: Some minor fixes
- Date: Tue, 17 Feb 2015 11:23:06 +0000 (UTC)
commit b9833cf364b7895ab064e5e5bfb32934ae047ee8
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Feb 11 23:21:17 2015 +0100
dateMenu: Some minor fixes
js/ui/dateMenu.js | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js
index 93f5318..4fe679c 100644
--- a/js/ui/dateMenu.js
+++ b/js/ui/dateMenu.js
@@ -100,7 +100,8 @@ const WorldClocksSection = new Lang.Class({
this._locations = [];
this.actor = new St.Button({ style_class: 'world-clocks-button',
- x_fill: true });
+ x_fill: true,
+ can_focus: true });
this.actor.connect('clicked', Lang.bind(this,
function() {
let app = this._getClockApp();
@@ -290,9 +291,6 @@ const DateMenuButton = new Lang.Class({
this._sessionUpdated();
},
- _updateEventsVisibility: function() {
- },
-
_getEventSource: function() {
return new Calendar.DBusEventSource();
},
@@ -305,9 +303,6 @@ const DateMenuButton = new Lang.Class({
this._messageList.setEventSource(eventSource);
this._eventSource = eventSource;
- this._eventSource.connect('notify::has-calendars', Lang.bind(this, function() {
- this._updateEventsVisibility();
- }));
},
_sessionUpdated: function() {
@@ -319,6 +314,5 @@ const DateMenuButton = new Lang.Class({
eventSource = new Calendar.EmptyEventSource();
}
this._setEventSource(eventSource);
- this._updateEventsVisibility();
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]