Changeset 4009
- Timestamp:
- Mar 21, 2017, 1:23:59 PM (4 years ago)
- Location:
- lliurex-gdrive/trunk/fuentes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-gdrive/trunk/fuentes/lliurex-gdrive-gui.install/usr/share/lliurex-gdrive/ProfileBox.py
r4006 r4009 150 150 mountpoint=self.profiles_info[item]["mountpoint"] 151 151 self.new_profile_button(profile,email,mountpoint) 152 print self.profiles_info[item]["automount"] 153 152 154 153 155 154 print self.profiles_info … … 240 239 self.msg_label.set_text("") 241 240 profile=hbox.get_children()[1].get_text().split("\n")[0] 241 #ENCODING TO UNICODE 242 242 profile=profile.decode("utf-8") 243 243 self.profiles_info.pop(profile) … … 265 265 profile=hbox.get_children()[1].get_text().split("\n")[0] 266 266 mountpoint=hbox.get_children()[3].get_text() 267 # ENCODING TO UNICODE 268 profile=profile.decode("utf-8") 269 mountpoint=mountpoint.decode("utf-8") 267 270 status_info=self.core.LliurexGoogleDriveManager.check_mountpoint_status(mountpoint) 268 271 self.msg_label.show() … … 294 297 self.edition=True 295 298 self.enable_entry_profile_dialog() 296 299 #ENCODING TO UNICODE 297 300 self.profile_to_edit=hbox 298 301 profile=self.profile_to_edit.get_children()[1].get_text().split("\n")[0] … … 361 364 362 365 status_info=self.core.LliurexGoogleDriveManager.check_mountpoint_status(mountpoint) 363 self.current_status[profile_name.encode("utf-8")]=status_info["status"] 364 print self.current_status 366 self.current_status[profile_name]=status_info["status"] 365 367 info=self.item_status_info(status_info) 366 368 … … 410 412 411 413 self.disable_entry_profile_dialog() 412 414 #ENCODING TO UNICODE 413 415 profile=self.profile_entry.get_text() 414 416 -
lliurex-gdrive/trunk/fuentes/lliurex-gdrive-indicator.install/usr/bin/lliurexGdriveIndicator
r4003 r4009 90 90 91 91 self.main.update_info() 92 print self.main.update_profiles93 92 for profile in self.main.update_profiles: 94 93 if not profile in self.main.profiles_info: 95 94 mountpoint=self.main.update_profiles[profile]["mountpoint"] 96 print mountpoint97 95 self.main.add_menu_item(profile,mountpoint) 98 96 … … 117 115 118 116 except Exception as e: 119 print e120 117 notifier.stop() 121 118 -
lliurex-gdrive/trunk/fuentes/python-lliurex-gdrive/lliurex/lliurexgdrive/__init__.py
r4006 r4009 10 10 11 11 12 DEBUG= True12 DEBUG=False 13 13 GDRIVE_CONFIG_DIR=os.path.expanduser("~/.gdfuse/") 14 14 LLIUREX_CONFIG_FILE='/usr/share/lliurex-gdrive/llx-data/config' … … 388 388 new_automount=info[profile]["automount"] 389 389 390 print old_mountpoint391 print new_mountpoint392 393 390 if old_mountpoint!=new_mountpoint: 394 391 status=self.check_mountpoint_status(old_mountpoint)
Note: See TracChangeset
for help on using the changeset viewer.