Remove reference to postgresql in core code
This commit is contained in:
parent
1c5ae89d86
commit
7aa4258046
@ -1496,13 +1496,13 @@ class GrampsPreferences(ConfigureDialog):
|
|||||||
|
|
||||||
def set_connection_widgets(self, db_choice):
|
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:
|
for widget in self.connection_widgets:
|
||||||
if db_choice == 'postgresql':
|
if db_choice in ('bsddb', 'sqlite'):
|
||||||
widget.set_sensitive(True)
|
|
||||||
else:
|
|
||||||
widget.set_sensitive(False)
|
widget.set_sensitive(False)
|
||||||
|
else:
|
||||||
|
widget.set_sensitive(True)
|
||||||
|
|
||||||
def add_famtree_panel(self, configdialog):
|
def add_famtree_panel(self, configdialog):
|
||||||
grid = Gtk.Grid()
|
grid = Gtk.Grid()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user