From 490d206afcd7775a56f0dcc15e584ce06aacb88e Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 31 Aug 2017 09:22:21 -0700 Subject: [PATCH] don't show 'Archive' button on Windows, it doesn't exist there --- gramps/gui/dbman.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gramps/gui/dbman.py b/gramps/gui/dbman.py index 6777b655d..1bbae77de 100644 --- a/gramps/gui/dbman.py +++ b/gramps/gui/dbman.py @@ -288,6 +288,9 @@ class DbManager(CLIDbManager, ManagedWindow): if not __debug__: self.convert_btn.set_visible(False) + if not _RCS_FOUND: # it's not in Windows + self.rcs_btn.set_visible(False) + # if nothing is selected if not node: self.connect_btn.set_sensitive(False)