[gnome-maps] Disable transitions for popovers
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] Disable transitions for popovers
- Date: Thu, 26 Feb 2015 19:21:18 +0000 (UTC)
commit 9a894aab6c238d995e510bf797ca945da9a4f026
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Thu Feb 26 20:20:45 2015 +0100
Disable transitions for popovers
src/favoritesPopover.js | 1 +
src/layersPopover.js | 1 +
src/mapBubble.js | 1 +
src/searchPopup.js | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/favoritesPopover.js b/src/favoritesPopover.js
index 926830f..7a712b8 100644
--- a/src/favoritesPopover.js
+++ b/src/favoritesPopover.js
@@ -54,6 +54,7 @@ const FavoritesPopover = new Lang.Class({
this._mapView = params.mapView;
delete params.mapView;
+ params.transitions_enabled = false;
this.parent(params);
this._rows = 0;
diff --git a/src/layersPopover.js b/src/layersPopover.js
index 5055a6c..4d71d08 100644
--- a/src/layersPopover.js
+++ b/src/layersPopover.js
@@ -34,6 +34,7 @@ const LayersPopover = new Lang.Class({
this.parent({ width_request: 200,
no_show_all: true,
+ transitions_enabled: false,
visible: false });
ui.aerialLayerButton.join_group(ui.streetLayerButton);
diff --git a/src/mapBubble.js b/src/mapBubble.js
index a32693e..a66dff3 100644
--- a/src/mapBubble.js
+++ b/src/mapBubble.js
@@ -52,6 +52,7 @@ const MapBubble = new Lang.Class({
this._mapView = params.mapView;
params.relative_to = params.mapView;
+ params.transitions_enabled = false;
delete params.mapView;
let buttonFlags = params.buttons || Button.NONE;
diff --git a/src/searchPopup.js b/src/searchPopup.js
index bd3d03b..7002841 100644
--- a/src/searchPopup.js
+++ b/src/searchPopup.js
@@ -56,6 +56,7 @@ const SearchPopup = new Lang.Class({
this._maxChars = props.maxChars;
delete props.maxChars;
+ props.transitions_enabled = false;
this.parent(props);
this._entry = this.relative_to;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]