1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Updated hscommon to its tip.

Because the latest changes in hscommon include the introduction of a base GUIObject which significantly changes view setting mechanisms, significant adjustments had to be made in dupeGuru.
This commit is contained in:
Virgil Dupras
2012-03-13 14:27:08 -04:00
parent 878c744c21
commit 49a7043b4d
11 changed files with 56 additions and 60 deletions

View File

@@ -36,6 +36,9 @@ class DupeGuruView:
def set_default(self, key_name, value):
pass
def show_message(self, msg):
pass
def ask_yes_no(self, prompt):
return True # always answer yes
@@ -144,7 +147,11 @@ class TestApp(TestAppBase):
self.rtable = link_gui(self.app.result_table)
self.dtree = link_gui(self.app.directory_tree)
self.dpanel = link_gui(self.app.details_panel)
self.slabel = link_gui(self.app.stats_label)
self.pdialog = PrioritizeDialog(self.app)
link_gui(self.pdialog.category_list)
link_gui(self.pdialog.criteria_list)
link_gui(self.pdialog.prioritization_list)
#--- Helpers
def select_pri_criterion(self, name):