[Pkg-mozext-commits] [firetray] 357/399: cleaning

David Prévot taffit at alioth.debian.org
Tue Oct 29 18:24:14 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch dfsg-clean
in repository firetray.

commit 4360e3f499bcb551207c76ad91e4b15827b0da1b
Author: foudfou <foudil.newbie+git at gmail.com>
Date:   Sat Mar 30 14:27:05 2013 +0100

    cleaning
---
 src/modules/linux/FiretrayChatStatusIcon.jsm |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/modules/linux/FiretrayChatStatusIcon.jsm b/src/modules/linux/FiretrayChatStatusIcon.jsm
index 8c3e920..b5733fb 100644
--- a/src/modules/linux/FiretrayChatStatusIcon.jsm
+++ b/src/modules/linux/FiretrayChatStatusIcon.jsm
@@ -84,12 +84,16 @@ firetray.ChatStatusIcon = {
     this.setIconImageFromGIcon(this.themedIcons[name]);
   },
 
-  startIconBlinking: function() { // gtk_status_icon_set_blinking deprecated
+  setIconVoid: function() {
+    gtk.gtk_status_icon_set_from_pixbuf(this.trayIcon, null);
+  },
+
+  startIconBlinking: function() { // gtk_status_icon_set_blinking() deprecated
     this.on = true;
     firetray.ChatStatusIcon.timers['blink'] = firetray.Utils.timer(
       500, Ci.nsITimer.TYPE_REPEATING_SLACK, function() {
         if (firetray.ChatStatusIcon.on)
-          gtk.gtk_status_icon_set_from_pixbuf(firetray.ChatStatusIcon.trayIcon, null);
+          firetray.ChatStatusIcon.setIconVoid();
         else
           firetray.ChatStatusIcon.setIconImage(firetray.ChatStatusIcon.themedIconNameCurrent);
         firetray.ChatStatusIcon.on = !firetray.ChatStatusIcon.on;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firetray.git



More information about the Pkg-mozext-commits mailing list