You are not logged in.

#1 2013-01-14 09:12:11

ninquitassar
Member
From: Italy
Registered: 2012-05-30
Posts: 29

[Solved] Awesome 3.5: gmail vicious widget does not work

I updated my awesome from 3.4 to 3.5. I noticed that vicious.widgets.gmail does not work anymore. When I move my cursor on mailicon, I can only see N/A. Obviously in my home there is  ~/.netrc file:

machine mail.google.com login MYMAIL password MYPASSWORD

This is how I configured the widget: Solved someone this or has someone any idea about how to solve?

 -- Gmail
     mailicon = wibox.widget.imagebox(beautiful.widget_gmail)
     mailwidget = wibox.widget.textbox()
     gmail_t = awful.tooltip({ objects = { mailwidget },})
     vicious.register(mailwidget, vicious.widgets.gmail,
                function (widget, args)
                    gmail_t:set_text(args["{subject}"])
                    gmail_t:add_to_object(mailicon)
                    return args["{count}"]
                 end, 120) 
                 --the '120' here means check every 2 minutes.

     mailicon:buttons(awful.util.table.join(
         awful.button({ }, 1, function () awful.util.spawn("urxvt -e mutt", false) end)
     ))

Bye! ^^

Last edited by ninquitassar (2013-02-17 20:22:28)


CPU: AMD Sempron SI-42 - 2.1 Ghz  Video: Nvidia GeForce 8200MG  RAM: 4Gb DR
OS: Arch x86_64 + awesome + GTK+
My DeviantART

Offline

#2 2013-01-18 12:57:45

nostalgix
Member
From: Germany
Registered: 2012-04-05
Posts: 31
Website

Re: [Solved] Awesome 3.5: gmail vicious widget does not work

I don't know for sure, but maybe it's

mailicon = wibox.widget.imagebox(beautiful.widget_gmail)

instead of

mailicon = wibox.widget.imagebox()
mailicon.set_image(beautiful.widget_gmail)

dotfiles and more @github

Offline

#3 2013-02-12 19:00:06

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,372

Re: [Solved] Awesome 3.5: gmail vicious widget does not work

nostalgix wrote:

I don't know for sure, but maybe it's

mailicon = wibox.widget.imagebox(beautiful.widget_gmail)

instead of

mailicon = wibox.widget.imagebox()
mailicon.set_image(beautiful.widget_gmail)

That's what he has.

Last edited by nomorewindows (2013-02-12 21:16:51)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2013-02-17 20:22:41

ninquitassar
Member
From: Italy
Registered: 2012-05-30
Posts: 29

Re: [Solved] Awesome 3.5: gmail vicious widget does not work

Great guys! ^^


CPU: AMD Sempron SI-42 - 2.1 Ghz  Video: Nvidia GeForce 8200MG  RAM: 4Gb DR
OS: Arch x86_64 + awesome + GTK+
My DeviantART

Offline

Board footer

Powered by FluxBB