[gnome-maps] MainWindow: Make clicking the map grab focus
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] MainWindow: Make clicking the map grab focus
- Date: Tue, 8 Apr 2014 09:04:16 +0000 (UTC)
commit 1dd47919b9913488b0d59b2946d0ffd900d2247c
Author: Dario Di Nucci <linkin88mail gmail com>
Date: Tue Apr 8 09:26:05 2014 +0200
MainWindow: Make clicking the map grab focus
Fix map grab focus after clicking on it broken by a previous commit.
(531c44191e20610c53cbdf526cad4d7d2ba4690f)
https://bugzilla.gnome.org/show_bug.cgi?id=727800
src/application.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index ae00dda..7ae8dbc 100644
--- a/src/application.js
+++ b/src/application.js
@@ -107,7 +107,7 @@ const Application = new Lang.Class({
if (this._mainWindow)
return;
- let overlay = new Gtk.Overlay({ visible: true });
+ let overlay = new Gtk.Overlay({ visible: true, can_focus: true });
notificationManager = new Notification.Manager(overlay);
this._mainWindow = new MainWindow.MainWindow(this, overlay);
this._mainWindow.window.connect('destroy', this._onWindowDestroy.bind(this));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]