diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/editor.c | 4 | ||||
-rw-r--r-- | src/gui/panels/panel.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/editor.c b/src/gui/editor.c index bc4f144..6f5ef7a 100644 --- a/src/gui/editor.c +++ b/src/gui/editor.c @@ -36,6 +36,7 @@ #include "../analysis/project.h" #include "../core/params.h" #include "../gtkext/easygtk.h" +#include "../gtkext/gtkdockable.h" #include "../gtkext/gtkdockstation.h" #include "../gtkext/support.h" @@ -225,6 +226,9 @@ GtkWidget *create_editor(void) gtk_box_pack_start(GTK_BOX(vbox1), widget, FALSE, FALSE, 0); + /* Autre */ + + prepare_drag_and_drop_window(); diff --git a/src/gui/panels/panel.c b/src/gui/panels/panel.c index a9e3028..01307cb 100644 --- a/src/gui/panels/panel.c +++ b/src/gui/panels/panel.c @@ -232,6 +232,8 @@ void g_panel_item_init_ext(GPanelItem *item, GObject *ref, const char *name, con panels_list_add_tail(item, &_panels_list); + gtk_dockable_setup_dnd(GTK_DOCKABLE(item)); + } |