~awn-extras/awn-extras/vector-effects-extras

« back to all changes in this revision

Viewing changes to src/pynot/pynot.py

  • Committer: Michal Hruby
  • Date: 2008-09-29 19:42:23 UTC
  • mfrom: (877.1.13 awn-extras)
  • Revision ID: mhr3@zoznam.sk-20080929194223-c2q6qbr7attyuo8o
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
            print "K."
135
135
        else:
136
136
            # If someone already has the system tray... BAIL!
137
 
            extras.notify_message("PyNot Error","Another System Tray is already running\nPyNot has been removed!","%s%s"%(path,"PyNot.png"),10000,0)
138
 
            dock_config = awn.Config()
139
 
            lst = [x for x in dock_config.get_list(awn.CONFIG_DEFAULT_GROUP, 'applets_list', awn.CONFIG_LIST_STRING)  if 'pynot.desktop' not in x]
 
137
            extras.notify_message("PyNot Error","Another System Tray is already running\nremove PyNot to remove the white line!","%s%s"%(path,"PyNot.png"),10000,0)
 
138
#            dock_config = awn.Config()
 
139
#            lst = [x for x in dock_config.get_list(awn.CONFIG_DEFAULT_GROUP, 'applets_list', awn.CONFIG_LIST_STRING)  if 'pynot.desktop' not in x]
140
140
 
141
 
            dock_config.set_list(awn.CONFIG_DEFAULT_GROUP, 'applets_list',awn.CONFIG_LIST_STRING, lst)
 
141
#            dock_config.set_list(awn.CONFIG_DEFAULT_GROUP, 'applets_list',awn.CONFIG_LIST_STRING, lst)
142
142
 
143
143
            sys.exit()
144
144