Changeset 4217 for lliurex-store/trunk/fuentes/lliurex-store-gui
- Timestamp:
- Apr 12, 2017, 11:57:32 AM (4 years ago)
- Location:
- lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/DetailsBox.py
r4141 r4217 472 472 t.daemon=True 473 473 t.start() 474 GLib.timeout_add(100,self.pulse_pbar,t,"installed" )474 GLib.timeout_add(100,self.pulse_pbar,t,"installed","install") 475 475 476 476 … … 485 485 t.daemon=True 486 486 t.start() 487 GLib.timeout_add(100,self.pulse_pbar,t,"install" )487 GLib.timeout_add(100,self.pulse_pbar,t,"install","installed") 488 488 489 489 … … 491 491 492 492 493 def pulse_pbar(self,t,target ):493 def pulse_pbar(self,t,target,fallback): 494 494 495 495 if t.is_alive(): … … 497 497 return True 498 498 499 self.install_stack.set_visible_child_name(target) 499 500 if self.thread_ret: 501 self.install_stack.set_visible_child_name(target) 502 else: 503 self.install_stack.set_visible_child_name(fallback) 500 504 501 505 return False … … 506 510 507 511 pkg=self.core.main_window.current_pkg["package"] 508 self. core.store.install_package(pkg)512 self.thread_ret=self.core.store.install_package(pkg) 509 513 510 514 #def … … 514 518 515 519 pkg=self.core.main_window.current_pkg["package"] 516 self. core.store.uninstall_package(pkg)520 self.thread_ret=self.core.store.uninstall_package(pkg) 517 521 518 522 #def -
lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/LliurexStoreManager.py
r4214 r4217 175 175 if ret["status"]==0: 176 176 return True 177 178 return False 177 179 178 180 #def install_package … … 191 193 if ret["status"]==0: 192 194 return True 195 196 return False 193 197 194 198 #def install_package -
lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/rsrc/lliurex-store.css
r4115 r4217 9 9 10 10 #DETAILS_BOX { 11 background-image:-gtk-gradient (linear, left top, left bottom, from (rgba(0,0,0,0. 2)), to (rgba(0,0,0,0.6)));11 background-image:-gtk-gradient (linear, left top, left bottom, from (rgba(0,0,0,0.3)), to (rgba(0,0,0,0.7))); 12 12 13 13 } -
lliurex-store/trunk/fuentes/lliurex-store-gui/usr/share/lliurex-store/lliurex-store-gui/rsrc/lliurex-store.ui
r4216 r4217 975 975 <property name="title" translatable="yes">Lliurex Store</property> 976 976 <property name="window_position">center</property> 977 <property name="default_width">8 05</property>977 <property name="default_width">815</property> 978 978 <property name="default_height">800</property> 979 979 <property name="has_resize_grip">True</property>
Note: See TracChangeset
for help on using the changeset viewer.