[Libreoffice-commits] core.git: bin/lint-ui.py
Noel (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 2 11:09:19 UTC 2020
bin/lint-ui.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit d9c763e5428379166b96a46295a1cb41120e6eea
Author: Noel <noelgrandin at gmail.com>
AuthorDate: Fri Oct 2 10:29:17 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Oct 2 13:08:30 2020 +0200
lint-ui: add some more valid top-level widgets
Change-Id: Ifedeb65c13b5889941da5dbd7fa215f5e380e64e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103819
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/bin/lint-ui.py b/bin/lint-ui.py
index fd578f72694d..5dc33eaaec2a 100755
--- a/bin/lint-ui.py
+++ b/bin/lint-ui.py
@@ -18,7 +18,8 @@ import re
DEFAULT_WARNING_STR = 'Lint assertion failed'
-POSSIBLE_TOP_LEVEL_WIDGETS = ['GtkDialog', 'GtkMessageDialog', 'GtkBox', 'GtkFrame', 'GtkGrid', 'GtkAssistant']
+POSSIBLE_TOP_LEVEL_WIDGETS = ['GtkDialog', 'GtkMessageDialog', 'GtkBox', 'GtkFrame', 'GtkGrid',
+ 'GtkAssistant', 'GtkToolbar', 'GtkNotebook', 'GtkPopover', 'GtkWindow', 'GtkPaned', 'GtkScrolledWindow']
IGNORED_TOP_LEVEL_WIDGETS = ['GtkAdjustment', 'GtkImage', 'GtkListStore', 'GtkSizeGroup', 'GtkMenu', 'GtkTextBuffer', 'GtkTreeStore']
BORDER_WIDTH = '6'
BUTTON_BOX_SPACING = '12'
More information about the Libreoffice-commits
mailing list