fix column saving

This commit is contained in:
Marcos Pinto 2007-12-14 02:21:02 +00:00
parent 2317bb4d52
commit 8821113742
2 changed files with 3 additions and 1 deletions

View File

@ -3,8 +3,10 @@ Deluge 0.5.8 (xx December 2007)
* Fix seeding ratio stop on finished torrents * Fix seeding ratio stop on finished torrents
* Fix zombie processes from occuring * Fix zombie processes from occuring
* Fix saying goodbye to trackers * Fix saying goodbye to trackers
* Fix saving of which columns to show
* Fix init script error on exotic systems * Fix init script error on exotic systems
* Add web seed to Torrent Creator plugin * Add web seed to Torrent Creator plugin
* TorrentSearch is now built-in
Deluge 0.5.7.1 (01 December 2007) Deluge 0.5.7.1 (01 December 2007)
* Tweak full hd warning so that it only displays itself once per torrent that * Tweak full hd warning so that it only displays itself once per torrent that

View File

@ -1588,7 +1588,6 @@ want to remove all seeding torrents?")):
pref_name = columns + '_width' pref_name = columns + '_width'
column = getattr(self, columns + '_column') column = getattr(self, columns + '_column')
self.config.set(pref_name, column.get_width()) self.config.set(pref_name, column.get_width())
self.config.save()
# Saves the tabs order (except the 'Details' tab) # Saves the tabs order (except the 'Details' tab)
def save_tabs_order(self): def save_tabs_order(self):
@ -1672,6 +1671,7 @@ want to remove all seeding torrents?")):
self.save_column_widths() self.save_column_widths()
self.save_window_settings() self.save_window_settings()
self.save_tabs_order() self.save_tabs_order()
self.config.save()
self.plugins.shutdown_all_plugins() self.plugins.shutdown_all_plugins()
#for the sake of windows, hide tray_icon #for the sake of windows, hide tray_icon
self.tray_icon.set_visible(False) self.tray_icon.set_visible(False)