summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/gui/module.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-12-24 16:26:51 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-12-24 16:26:51 (GMT)
commit93dfdc30d815629a7e0c9393f0e8f0462844ff56 (patch)
tree8fe59f8c0186871ffd79873ec20905bf39170528 /plugins/pychrysalide/gui/module.c
parentc388ad8910dbb1a3c478176d8b1ab3142fdbd9d5 (diff)
Ported the panel update mechanisms to the Python API.
Diffstat (limited to 'plugins/pychrysalide/gui/module.c')
-rw-r--r--plugins/pychrysalide/gui/module.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/pychrysalide/gui/module.c b/plugins/pychrysalide/gui/module.c
index 1ff7b1b..365cab6 100644
--- a/plugins/pychrysalide/gui/module.c
+++ b/plugins/pychrysalide/gui/module.c
@@ -28,11 +28,11 @@
#include <assert.h>
-
#include "item.h"
#include "menubar.h"
#include "panel.h"
#include "core/module.h"
+#include "panels/module.h"
#include "../helpers.h"
@@ -74,6 +74,7 @@ bool add_gui_module(PyObject *super)
result = (module != NULL);
if (result) result = add_gui_core_module(module);
+ if (result) result = add_gui_panels_module(module);
if (!result)
Py_XDECREF(module);
@@ -106,6 +107,7 @@ bool populate_gui_module(void)
if (result) result = ensure_python_panel_item_is_registered();
if (result) result = populate_gui_core_module();
+ if (result) result = populate_gui_panels_module();
assert(result);