Changeset 1353
- Timestamp:
- 05/23/08 03:39:35 (8 months ago)
- Files:
-
- wine-doors/trunk/src/packlist.py (modified) (1 diff)
- wine-doors/trunk/src/queue.py (modified) (1 diff)
- wine-doors/trunk/src/winedoors.glade (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wine-doors/trunk/src/packlist.py
r1152 r1353 571 571 return True 572 572 return False 573 574 def InAll (self, pack_shortname, version=None ): 575 for tmp_pack in self.all: 576 if tmp_pack['shortname'] == pack_shortname: 577 if not version: 578 return True 579 for pack_version in tmp_pack['versions']: 580 [( av_version, 581 wineversion, 582 winevariant, 583 appdb_rating, 584 installersize, 585 installedsize, 586 votes, 587 av_revision, 588 app_pack )] = pack_version 589 if av_version == version: 590 return True 591 return False 573 592 574 593 def InPacks (self, pack_shortname ): wine-doors/trunk/src/queue.py
r1152 r1353 23 23 24 24 def Add( self, action, pack=None, version=None, repo=None ): 25 if not packlist.InAll( pack, version ): 26 raise "QueueError: Attempted to add pack to queue which is not in packlist.all" 25 27 if not self.IsOnQueue( pack, version, action ): 26 28 if self.IsOnQueue( pack, version ): wine-doors/trunk/src/winedoors.glade
r1352 r1353 3170 3170 <property name="visible">True</property> 3171 3171 <child> 3172 <widget class="GtkProgressBar" id="progressbar 1">3172 <widget class="GtkProgressBar" id="progressbar"> 3173 3173 <property name="height_request">25</property> 3174 3174 <property name="pulse_step">0.10000000149</property> … … 3304 3304 </child> 3305 3305 <child> 3306 <widget class="GtkLabel" id="lb_error 2">3306 <widget class="GtkLabel" id="lb_error"> 3307 3307 <property name="xalign">0</property> 3308 3308 <property name="use_markup">True</property>
