Revision: c3866862eec9
Branch: default
Author: gbtami
Date: Thu Jan 1 12:23:06 2015 UTC
Log: Fix the choose egtb directory button in preferences dialog
https://code.google.com/p/pychess/source/detail?r=c3866862eec9
Modified:
/lib/pychess/widgets/preferencesDialog.py
=======================================
--- /lib/pychess/widgets/preferencesDialog.py Thu Jan 1 08:30:37 2015 UTC
+++ /lib/pychess/widgets/preferencesDialog.py Thu Jan 1 12:23:06 2015 UTC
@@ -148,7 +148,7 @@
egtb_chooser_dialog = Gtk.FileChooserDialog(_("Select Gaviota TB
path"), None, Gtk.FileChooserAction.SELECT_FOLDER,
(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OPEN,
Gtk.ResponseType.OK))
- egtb_chooser_button = Gtk.FileChooserButton(egtb_chooser_dialog)
+ egtb_chooser_button =
Gtk.FileChooserButton.new_with_dialog(egtb_chooser_dialog)
egtb_chooser_button.set_current_folder(egtb_path)
self.widgets["egtbChooserDock"].add(egtb_chooser_button)