mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
reorganization: Move hooks to common.py
This allows them to be referenced before they are filled, helping avoid circular dependencies.
This commit is contained in:
parent
34f525beaa
commit
8f9de81e24
5 changed files with 89 additions and 6 deletions
|
@ -11,9 +11,11 @@ from .gtk_size_group import Widgets
|
|||
from .gtk_string_list import Strings
|
||||
from .gtk_styles import Styles
|
||||
|
||||
OBJECT_HOOKS = [menu]
|
||||
from .common import *
|
||||
|
||||
OBJECT_CONTENT_HOOKS = [
|
||||
OBJECT_HOOKS.children = [menu]
|
||||
|
||||
OBJECT_CONTENT_HOOKS.children = [
|
||||
Signal, A11y, Styles, Layout, mime_types, patterns, suffixes, Widgets, Items,
|
||||
Strings,
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue