Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
a22711a7
Commit
a22711a7
authored
Feb 17, 2015
by
Alexandre Van de Sande
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
badge support
parent
c4b8c115
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
main.qml
cmd/mist/assets/qml/main.qml
+7
-4
browser.qml
cmd/mist/assets/qml/views/browser.qml
+2
-5
No files found.
cmd/mist/assets/qml/main.qml
View file @
a22711a7
...
...
@@ -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
...
...
cmd/mist/assets/qml/views/browser.qml
View file @
a22711a7
...
...
@@ -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
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment