[gnome-maps/wip/mlundblad/headerbar-notifications: 2/2] application: Show notifications in the headerbar
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/headerbar-notifications: 2/2] application: Show notifications in the headerbar
- Date: Thu, 8 Feb 2018 21:36:59 +0000 (UTC)
commit d20afa712a7509e69cdc13633c999ef53535130c
Author: Marcus Lundblad <ml update uu se>
Date: Thu Feb 8 22:36:02 2018 +0100
application: Show notifications in the headerbar
src/application.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 7bd767d..733701c 100644
--- a/src/application.js
+++ b/src/application.js
@@ -257,9 +257,9 @@ var Application = GObject.registerClass({
return;
let overlay = new Gtk.Overlay({ visible: true, can_focus: false });
- notificationManager = new NotificationManager.NotificationManager(overlay);
this._mainWindow = new MainWindow.MainWindow({ application: this,
overlay: overlay });
+ notificationManager = new NotificationManager.NotificationManager(this._mainWindow.overlay);
this._mainWindow.connect('destroy', () => this._onWindowDestroy());
if (GLib.getenv('MAPS_DEBUG') === 'focus') {
this._mainWindow.connect('set-focus', (window, widget) => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]