aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Van de Sande <alex.vandesande@ethdev.com>2015-02-17 18:22:52 +0800
committerAlexandre Van de Sande <alex.vandesande@ethdev.com>2015-02-17 18:22:52 +0800
commita22711a7b569fd9d29fe03591ef2c39d793877b1 (patch)
treef41642a82a61ec68c29a32e13cb2cfdac131099a
parentc4b8c115294ea34d3e820c9e39bdda80af8026ff (diff)
downloaddexon-a22711a7b569fd9d29fe03591ef2c39d793877b1.tar
dexon-a22711a7b569fd9d29fe03591ef2c39d793877b1.tar.gz
dexon-a22711a7b569fd9d29fe03591ef2c39d793877b1.tar.bz2
dexon-a22711a7b569fd9d29fe03591ef2c39d793877b1.tar.lz
dexon-a22711a7b569fd9d29fe03591ef2c39d793877b1.tar.xz
dexon-a22711a7b569fd9d29fe03591ef2c39d793877b1.tar.zst
dexon-a22711a7b569fd9d29fe03591ef2c39d793877b1.zip
badge support
-rw-r--r--cmd/mist/assets/qml/main.qml11
-rw-r--r--cmd/mist/assets/qml/views/browser.qml7
2 files changed, 9 insertions, 9 deletions
diff --git a/cmd/mist/assets/qml/main.qml b/cmd/mist/assets/qml/main.qml
index 09a25b431..07e6d36da 100644
--- a/cmd/mist/assets/qml/main.qml
+++ b/cmd/mist/assets/qml/main.qml
@@ -580,6 +580,9 @@ ApplicationWindow {
font.family: sourceSansPro.name
font.weight: Font.DemiBold
elide: Text.ElideRight
+ x:250
+ color: "#665F5F"
+ font.pixelSize: 14
anchors {
left: icon.right
right: parent.right
@@ -588,12 +591,12 @@ ApplicationWindow {
rightMargin: 8
verticalCenterOffset: (secondaryTitle == "") ? 0 : -10;
}
- x:250
- color: "#665F5F"
- font.pixelSize: 14
- }
+
+
+ }
+
Text {
id: secondary
font.family: sourceSansPro.name
diff --git a/cmd/mist/assets/qml/views/browser.qml b/cmd/mist/assets/qml/views/browser.qml
index 16290578a..54f5d755e 100644
--- a/cmd/mist/assets/qml/views/browser.qml
+++ b/cmd/mist/assets/qml/views/browser.qml
@@ -387,10 +387,9 @@ Rectangle {
menuItem.badgeIcon = "\ue09a"
menuItem.badgeContent = "icon"
+ } else {
+ menuItem.badgeContent = ""
}
-
-
- console.log(menuItem.badgeContent);
} else {
menuItem.badgeContent = ""
}
@@ -407,9 +406,7 @@ Rectangle {
webView.runJavaScript("try{document.querySelector(\"link[rel='icon']\").getAttribute(\"href\")}catch(e){}", function(sideIcon){
if(sideIcon){
menuItem.icon = webview.url + sideIcon;
- console.log("icon: " + webview.url + sideIcon );
};
- console.log("no icon!" );
});
webView.runJavaScript("try{document.querySelector(\"meta[name='ethereum-dapp-url-bar-style']\").getAttribute(\"content\")}catch(e){}", function(topBarStyle){