summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/panel.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/panel.c b/src/gui/panel.c
index a509f40..976a2d7 100644
--- a/src/gui/panel.c
+++ b/src/gui/panel.c
@@ -38,6 +38,7 @@
#include "../gtkext/gtkdockable-int.h"
#include "../gtkext/named.h"
#include "../plugins/dt.h"
+#include "../plugins/pglist.h"
@@ -601,6 +602,8 @@ GPanelItem *g_panel_item_new(GType type, const char *path)
register_editor_item(G_EDITOR_ITEM(result));
+ notify_panel_creation(result);
+
singleton:
if (path != NULL)
@@ -818,6 +821,8 @@ void g_panel_item_dock(GPanelItem *item)
if (G_PANEL_ITEM_GET_CLASS(item)->ack_dock != NULL)
G_PANEL_ITEM_GET_CLASS(item)->ack_dock(item);
+ notify_panel_docking(item, true);
+
}
@@ -895,6 +900,8 @@ void g_panel_item_undock(GPanelItem *item)
if (G_PANEL_ITEM_GET_CLASS(item)->ack_undock != NULL)
G_PANEL_ITEM_GET_CLASS(item)->ack_undock(item);
+ notify_panel_docking(item, false);
+
personality = gtk_panel_item_class_get_personality(G_PANEL_ITEM_GET_CLASS(item));
if (personality != PIP_PERSISTENT_SINGLETON)