Changeset 324
- Timestamp:
- 08/06/09 01:32:18 (3 years ago)
- Files:
-
- 4 edited
-
branches/release/0.2/README (modified) (1 diff)
-
branches/release/0.2/screenshot.py (modified) (2 diffs)
-
branches/release/0.2/uigtk.py (modified) (1 diff)
-
trunk/uigtk.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release/0.2/README
r321 r324 68 68 6. HACKING 69 69 70 If you intend to change Itaka source co ude, please read the HACKING file.70 If you intend to change Itaka source code, please read the HACKING file. 71 71 72 72 Any questions should be emailed to me directly. -
branches/release/0.2/screenshot.py
r295 r324 51 51 self.currentwindowfailed = False 52 52 53 #: Final absolute path to the screenshot file54 self.shotFile = os.path.join(self.configuration['screenshot']['path'], 'itakashot.%s' % (self.configuration['screenshot']['format']))55 56 53 self.rootscreen = gtk.gdk.screen_get_default() 57 54 self.rootwindow = gtk.gdk.get_default_root_window() … … 101 98 102 99 self.configuration = self.gui.configuration 100 101 #: Final absolute path to the screenshot file 102 self.shot_file = os.path.join(self.configuration['screenshot']['path'], 'itakashot.%s' % (self.configuration['screenshot']['format'])) 103 103 104 104 if self.configuration['screenshot']['currentwindow'] and not self.itakaglobals.system == 'nt': -
branches/release/0.2/uigtk.py
r321 r324 660 660 self.configuration['screenshot']['format'] = 'jpeg' 661 661 662 # Delete stale old screenshot 663 if (self.current_configuration['screenshot']['format'] != self.configuration['screenshot']['format']): 664 if os.path.exists(os.path.join(self.current_configuration['screenshot']['path'], 'itakashot.%s' % (self.current_configuration['screenshot']['format']))): 665 os.remove(os.path.join(self.current_configuration['screenshot']['path'], 'itakashot.%s' % (self.current_configuration['screenshot']['format']))) 666 if self.itaka_globals.console_verbosity['debug']: print_m(_("Deleting stale screenshot file '%s'" % ((os.path.join(self.current_configuration['screenshot']['path'], 'itakashot.%s' % (self.current_configuration['screenshot']['format'])))))) 667 662 668 if self.itakaglobals.notifyavailable: 663 669 notifyvalue = self.preferencesChecknotifications.get_active() -
trunk/uigtk.py
r321 r324 771 771 if self.itaka_globals.console_verbosity['debug']: print_m(_("Deleting stale screenshot file '%s'" % ((os.path.join(self.current_configuration['screenshot']['path'], 'itakashot.%s' % (self.current_configuration['screenshot']['format'])))))) 772 772 773 774 773 if self.itaka_globals.notify_available: 775 774 self.notify_value = self.check_preferences_notifications.get_active()
Note: See TracChangeset
for help on using the changeset viewer.

