Menu

#17 open the gmail account instead of showing the popup on click

open
nobody
None
5
2006-03-09
2006-03-09
Jeff
No

When you click on the tray icon (button event 1 if I
remember correctly), gmail notifier shows the popup
again. This is pretty useless imho, because you often
have more than one email in your inbox. You don't want
to show the "last received email" (and it's sometimes
marked as read and shown anyway!), you want to go
directly to the inbox.

Here is a small and hacky patch that changes the
behavior and opens a browser window to
http://gmail.google.com. Please tell me what you think
on the issue.

I did not make it an option in the GUI, however.

Discussion

  • Jeff

    Jeff - 2006-03-09

    small patch to notifier.py using gnome-open

     
  • twodayslate

    twodayslate - 2008-11-15

    I like this better:

    def tray_icon_clicked(self,signal,event):
    if event.button==3:
    self.popup_menu.show_menu(event)
    if event.button==2:
    self.label.set_markup(self.default_label)
    self.show_popup()
    else:
    os.system(self.options['browserpath']+" http://mail.google.com&")

    This way it is still possible to view the popup (w/scroll wheel)

     

Log in to post a comment.

MongoDB Logo MongoDB