summaryrefslogtreecommitdiff
path: root/src/gui/panels/panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/panels/panel.c')
-rw-r--r--src/gui/panels/panel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/panels/panel.c b/src/gui/panels/panel.c
index ee0c102..edf57d3 100644
--- a/src/gui/panels/panel.c
+++ b/src/gui/panels/panel.c
@@ -474,6 +474,9 @@ void g_panel_item_dock(GPanelItem *item)
g_signal_emit_by_name(item, "dock-request");
+ if (G_PANEL_ITEM_GET_CLASS(item)->ack_dock != NULL)
+ G_PANEL_ITEM_GET_CLASS(item)->ack_dock(item);
+
}
@@ -543,4 +546,7 @@ void g_panel_item_undock(GPanelItem *item)
g_signal_emit_by_name(item, "undock-request");
+ if (G_PANEL_ITEM_GET_CLASS(item)->ack_undock != NULL)
+ G_PANEL_ITEM_GET_CLASS(item)->ack_undock(item);
+
}