1
0
鏡像自 https://github.com/arsenetar/dupeguru.git 已同步 2026-03-12 19:41:38 +00:00

Adapted to recent fairware changes in hscommon.

此提交包含在:
Virgil Dupras
2011-09-26 11:54:17 -04:00
父節點 9a7a20472d
當前提交 1b855ad64b
共有 9 個檔案被更改,包括 42 行新增15 行删除

查看文件

@@ -80,7 +80,10 @@ class DupeGuru(RegistrableApplication, Broadcaster):
# reveal_path(path)
# start_job(jobid, func, args=()) ( func(j, *args) )
# show_extra_fairware_reminder()
# show_message(msg)
# in fairware prompts, we don't mention the edition, it's too long.
PROMPT_NAME = "dupeGuru"
DEMO_LIMITATION = tr("will only be able to delete, move or copy 10 duplicates at once")
def __init__(self, view, appdata):
if view.get_default(DEBUG_MODE_PREFERENCE):
@@ -88,9 +91,6 @@ class DupeGuru(RegistrableApplication, Broadcaster):
logging.debug("Debug mode enabled")
RegistrableApplication.__init__(self, view, appid=1)
Broadcaster.__init__(self)
self.is_first_run = not self.get_default(HAD_FIRST_LAUNCH_PREFERENCE, False)
if self.is_first_run:
self.set_default(HAD_FIRST_LAUNCH_PREFERENCE, True)
self.appdata = appdata
if not op.exists(self.appdata):
os.makedirs(self.appdata)