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.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/gui/panels/panel.c b/src/gui/panels/panel.c
index 7f18fea..265fcca 100644
--- a/src/gui/panels/panel.c
+++ b/src/gui/panels/panel.c
@@ -38,7 +38,6 @@
#include "regedit.h"
#include "strings.h"
#include "symbols.h"
-#include "welcome.h"
#include "../../gtkext/easygtk.h"
#include "../../gtkext/gtkdockable-int.h"
#include "../../gtkext/gtkdockstation.h"
@@ -58,7 +57,6 @@ static GCallback _handler;
static gpointer _data;
/* Liste des panneaux en place. */
-static GPanelItem *_welcome = NULL;
static GPanelItem *_panels_list = NULL;
@@ -133,13 +131,6 @@ static void set_panel_node_size_request(const panel_node *, const GtkRequisition
-/* Surveille les ajouts dans la partie principale. */
-static void on_docking_to_main_panel(GtkDockStation *, GtkWidget *, gpointer);
-
-
-
-
-
/* Indique le type défini pour un élément destiné à un panneau. */
G_DEFINE_TYPE_WITH_CODE(GPanelItem, g_panel_item, G_TYPE_EDITOR_ITEM,
@@ -465,12 +456,6 @@ void load_main_panels(GObject *ref)
{
GPanelItem *item; /* Panneau de base à charger */
- _welcome = create_welcome_panel(ref);
- g_panel_item_dock(_welcome);
-
- g_signal_connect(_nodes->station, "dock-widget",
- G_CALLBACK(on_docking_to_main_panel), NULL);
-
item = create_regedit_panel(ref);
g_panel_item_dock(item);
@@ -1154,46 +1139,3 @@ static void set_panel_node_size_request(const panel_node *node, const GtkRequisi
set_panel_node_size_request(node->second, ALLOC_2_REQ(&allocation));
}
-
-
-
-
-
-/* ---------------------------------------------------------------------------------- */
-/* MECANISMES DE PLACEMENT DES PANNEAUX */
-/* ---------------------------------------------------------------------------------- */
-
-
-
-
-
-/******************************************************************************
-* *
-* Paramètres : station = base d'accueil pour composants divers. *
-* widget = composant rajouté à l'ensemble. *
-* data = adresse non utilisée ici. *
-* *
-* Description : Surveille les ajouts dans la partie principale. *
-* *
-* Retour : - *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-static void on_docking_to_main_panel(GtkDockStation *station, GtkWidget *widget, gpointer data)
-{
-
-
-
-
- g_panel_item_undock(_welcome);
-
-
-
- g_signal_handlers_disconnect_by_func(station,
- G_CALLBACK(on_docking_to_main_panel), NULL);
-
-
-}
-