Changeset 4276


Ignore:
Timestamp:
Apr 18, 2017, 6:02:50 PM (2 years ago)
Author:
jrpelegrina
Message:

Add control to launch indicator

Location:
lliurex-gdrive/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-gdrive/trunk/fuentes/debian/changelog

    r4102 r4276  
     1lliurex-gdrive (0.3.1) xenial; urgency=medium
     2
     3  * Add control to launch indicator only if there are profiles
     4
     5 -- Juan Ramon Pelegrina <juapesai@hotmail.com>  Tue, 18 Apr 2017 17:59:30 +0200
     6
    17lliurex-gdrive (0.3) xenial; urgency=medium
    28
  • lliurex-gdrive/trunk/fuentes/lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/LliurexGdrive.py

    r4031 r4276  
    9999        def load_info(self):
    100100
    101                 profiles_info=self.core.LliurexGoogleDriveManager.profiles_config.copy()
     101                self.load_profiles=self.core.LliurexGoogleDriveManager.profiles_config.copy()
    102102                               
    103                 self.profile_box.load_info(profiles_info)
     103                self.profile_box.load_info(self.load_profiles)
    104104
    105105               
     
    129129
    130130                #self.lockpath=R=os.path(LOCK_INDICATOR)
    131                 if not os.path.exists(LOCK_INDICATOR):
    132                         cmd="/usr/bin/lliurexGdriveIndicator" + "&"
    133                         os.system(cmd)
     131                if len(self.load_profiles):
     132                        if not os.path.exists(LOCK_INDICATOR):
     133                                cmd="/usr/bin/lliurexGdriveIndicator" + "&"
     134                                os.system(cmd)
    134135
    135136        #def launch_indicator
Note: See TracChangeset for help on using the changeset viewer.