Comment 4 for bug 1023166

Revision history for this message
Quin Eirik (morpfh) wrote :

As gm-notify kill itself on startup the "killall gm-notify" is not needed.

Simply add
gm-notify &
inside the "if" and it takes care of the rest.

REF:
/usr/bn/gm-notify: line 60
class CheckMail():
    def __init__(self):
        '''initiates DBUS-Messaging interface, creates the MailChecker and registers with indicator-applet.
        In the end it starts the periodic check timer and a gtk main-loop'''

        # Kill running gm-notify processes (UGLY!)
        subprocess.call("kill `pgrep -f gm-notify | grep -v %s`" % os.getpid(), stdout=open("/dev/null", "w"), shell=True)
       ...