Changeset 174
- Timestamp:
- Thu Jun 14 12:22:31 2007
- Files:
-
- trunk/common.py (modified) (diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
trunk/common.py
r156 r174 96 96 self.slider.set_increments(1, 10) 97 97 98 # If we have only one picture, make the widget greyed out99 if (len(self.photo_list) < 2):100 self.set_sensitive(False)101 98 self.updateDisplay() 99 # --Instead of this, wouldnt it make sense just to not show the slider? 100 # Otherwise the photo looks ugly all grey. See below 101 # --Daniel Patterson (dbpatterson@riseup.net) 12th June 2007 102 102 103 103 # Create the callbacks … … 105 105 106 106 # Display everything 107 self.slider.show() 107 if (len(self.photo_list)>1): 108 self.slider.show() 108 109 self.text_display.show() 109 110 self.thumb_display.show()
