[Pkg-mozext-commits] [wot] 16/226: Fixed the toolbar icon for the 5-upate state.
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit dc7f42d9b742c112d17a27a27f6c031ccda38a4a
Author: Sami Tolvanen <sami at mywot.com>
Date: Wed Feb 29 12:10:11 2012 +0200
Fixed the toolbar icon for the 5-upate state.
---
content/core.js | 4 ++--
content/prefs.js | 2 +-
content/settings.js | 1 -
content/ui.js | 1 +
skin/wot.css | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/content/core.js b/content/core.js
index d4affef..cf3c02c 100644
--- a/content/core.js
+++ b/content/core.js
@@ -157,8 +157,6 @@ var wot_core =
browser.tabContainer.addEventListener("TabSelect",
wot_core.tabselect, false);
}
-
- wot_ui.show_toolbar_button();
} catch (e) {
dump("wot_core.load: failed with " + e + "\n");
}
@@ -513,6 +511,8 @@ var wot_core =
wot_core.hostname = null;
if (!wot_api_register.ready || !wot_core.loaded) {
+ wot_status.set("notready",
+ wot_util.getstring("description_notready"));
return;
}
diff --git a/content/prefs.js b/content/prefs.js
index fb59e10..c2ada5e 100644
--- a/content/prefs.js
+++ b/content/prefs.js
@@ -255,7 +255,7 @@ var wot_prefs =
/* Do stuff */
if (this.updateui) {
- wot_ui.show_elements();
+ wot_ui.update();
if (was_enabled != this.enabled) {
wot_core.update();
diff --git a/content/settings.js b/content/settings.js
index bf39786..a914289 100644
--- a/content/settings.js
+++ b/content/settings.js
@@ -244,7 +244,6 @@ var wot_settings =
}
if (value == null) {
- dump("wot_settings.loadinputs: invalid pref " + id + "\n");
continue;
}
diff --git a/content/ui.js b/content/ui.js
index 4018410..8301420 100644
--- a/content/ui.js
+++ b/content/ui.js
@@ -237,6 +237,7 @@ var wot_ui =
{
try {
wot_commands.update();
+ this.show_elements();
this.update_title(description);
this.update_rating();
this.update_testimonies();
diff --git a/skin/wot.css b/skin/wot.css
index eecce6d..180b06c 100644
--- a/skin/wot.css
+++ b/skin/wot.css
@@ -144,7 +144,7 @@
list-style-image: url("chrome://wot/skin/fusion/accessible/16_16/trusted.png");
}
#main-window[wot-mode="accessible"][wot-status="5-testimony-update"] toolbar[iconsize="small"] #wot-button,
-#main-window[wot-status="5-update"] toolbar[iconsize="small"] #wot-button {
+#main-window[wot-mode="accessible"][wot-status="5-update"] toolbar[iconsize="small"] #wot-button {
list-style-image: url("chrome://wot/skin/fusion/accessible/16_16/message_trusted.png");
}
#main-window[wot-mode="accessible"][wot-status="inprogress"] toolbar[iconsize="small"] #wot-button,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list