[gnome-maps] turnPointBubble: Do not include instruction
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] turnPointBubble: Do not include instruction
- Date: Sat, 1 Nov 2014 13:56:40 +0000 (UTC)
commit 65c850a306dc9f4273b125185cf98728ba6fc36b
Author: Jonas Danielsson <jonas danielsson threetimestwo org>
Date: Thu Oct 30 08:01:26 2014 -0400
turnPointBubble: Do not include instruction
It feels redundant to have the instruction in the bubble
as well as on the line you just clicked.
https://bugzilla.gnome.org/show_bug.cgi?id=737318
src/gnome-maps.data.gresource.xml | 1 -
src/turn-point-bubble.ui | 20 --------------------
src/turnPointBubble.js | 6 +-----
3 files changed, 1 insertions(+), 26 deletions(-)
---
diff --git a/src/gnome-maps.data.gresource.xml b/src/gnome-maps.data.gresource.xml
index 7e70944..450e6d1 100644
--- a/src/gnome-maps.data.gresource.xml
+++ b/src/gnome-maps.data.gresource.xml
@@ -13,7 +13,6 @@
<file preprocess="xml-stripblanks">route-via-row.ui</file>
<file preprocess="xml-stripblanks">map-bubble.ui</file>
<file preprocess="xml-stripblanks">search-result-bubble.ui</file>
- <file preprocess="xml-stripblanks">turn-point-bubble.ui</file>
<file preprocess="xml-stripblanks">user-location-bubble.ui</file>
<file alias="application.css">../data/gnome-maps.css</file>
<file alias="maptype-aerial.png">../data/media/maptype-aerial.png</file>
diff --git a/src/turnPointBubble.js b/src/turnPointBubble.js
index 837e7e0..d86a852 100644
--- a/src/turnPointBubble.js
+++ b/src/turnPointBubble.js
@@ -35,11 +35,7 @@ const TurnPointBubble = new Lang.Class({
this.parent(params);
- let ui = Utils.getUIObject('turn-point-bubble', [ 'grid-content',
- 'label-title']);
this.image.icon_name = turnPoint.iconName;
- ui.labelTitle.label = turnPoint.instruction;
-
- this.content.add(ui.gridContent);
+ this.content.hide();
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]