From 7aa4258046e282a65ebe11430c3ab98f38505faf Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Wed, 7 Mar 2018 16:49:04 +0000 Subject: [PATCH] Remove reference to postgresql in core code --- gramps/gui/configure.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gramps/gui/configure.py b/gramps/gui/configure.py index 25401f142..b7c442db8 100644 --- a/gramps/gui/configure.py +++ b/gramps/gui/configure.py @@ -1496,13 +1496,13 @@ class GrampsPreferences(ConfigureDialog): def set_connection_widgets(self, db_choice): """ - Sets the connection widgets sensitive for PostgreSQL. + Sets the connection widgets insensitive for embedded databases. """ for widget in self.connection_widgets: - if db_choice == 'postgresql': - widget.set_sensitive(True) - else: + if db_choice in ('bsddb', 'sqlite'): widget.set_sensitive(False) + else: + widget.set_sensitive(True) def add_famtree_panel(self, configdialog): grid = Gtk.Grid()