Add the ability to enable/disable UI animations. Fixes #1978

This commit is contained in:
Khushboo Vashi
2018-04-03 14:52:13 +01:00
committed by Dave Page
parent 94e1e46201
commit 7805170783
11 changed files with 234 additions and 8 deletions

View File

@@ -216,6 +216,19 @@ class BrowserModule(PgAdminModule):
gettext("Show system objects?"), 'boolean', False,
category_label=gettext('Display')
)
self.preference.register(
'display', 'enable_acitree_animation',
gettext("Enable browser tree animation?"), 'boolean', True,
category_label=gettext('Display')
)
self.preference.register(
'display', 'enable_alertify_animation',
gettext("Enable dialogue/notification animation?"), 'boolean',
True, category_label=gettext('Display')
)
self.table_row_count_threshold = self.preference.register(
'properties', 'table_row_count_threshold',
gettext("Count rows if estimated less than"), 'integer', 2000,