summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-02 10:29:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-02 13:08:30 +0200
commitd9c763e5428379166b96a46295a1cb41120e6eea (patch)
tree3f25f3dc9f9935cd5f53b12a614dd219f1dbbe81 /bin
parent2bfcd0fa8439112c66fd82adc6f860b5d93f789b (diff)
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@collabora.co.uk>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lint-ui.py3
1 files changed, 2 insertions, 1 deletions
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'