Ignore:
Timestamp:
Mar 16, 2017, 12:11:37 PM (2 years ago)
Author:
jrpelegrina
Message:

Add disable indicator option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-gdrive/trunk/fuentes/lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator

    r3977 r3981  
    44gi.require_version('Gtk', '3.0')
    55from gi.repository import Gtk, Pango, GdkPixbuf, Gdk, Gio, GObject, GLib
    6 gi.require_version('AppIMOUNT_ON_IMAGEndicator3', '0.1')
     6gi.require_version('AppIndicator3', '0.1')
    77from gi.repository import AppIndicator3 as appindicator
    88
     
    3232class LlliurexGdriveIndicator:
    3333
    34         WATCH_DIR=os.path.expanduser("~/.config/lliurex-google-drive-profiles/config")
     34        WATCH_DIR=os.path.expanduser("~/.config/lliurex-google-drive-profiles/config_profiles")
    3535       
    3636        def __init__(self,icon_name):
     
    5959        def createLockToken(self):
    6060
    61                 self.lockpath=R=os.path.expanduser(LOCK_PATH)
     61                self.lockpath=os.path.expanduser(LOCK_PATH)
    6262                if not os.path.exists(self.lockpath):
    6363                        f=open(self.lockpath,'w')
Note: See TracChangeset for help on using the changeset viewer.