diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-09-01 21:36:22 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-09-01 21:36:22 (GMT) |
commit | 29ddd755496589e7e1f9e38697e44d3cfe64df5e (patch) | |
tree | 3db093a9082276adb96a1ce67d175ade067c0788 /src/gui/panels/panel.c | |
parent | e07a541d1dea13a19a587f2b97d12ed3443f235b (diff) |
Added a welcome panel as plugin using Python.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@573 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/panels/panel.c')
-rw-r--r-- | src/gui/panels/panel.c | 58 |
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); - - -} - |