diff options
Diffstat (limited to 'src/gui/panel-int.h')
-rw-r--r-- | src/gui/panel-int.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/panel-int.h b/src/gui/panel-int.h index 7e6f7e3..6a9fcc5 100644 --- a/src/gui/panel-int.h +++ b/src/gui/panel-int.h @@ -34,7 +34,10 @@ typedef PanelItemPersonality (* get_panel_item_personality_cb) (const GPanelItem *); /* Fournit un composant pour lancer l'activité d'un panneau. */ -typedef GtkWidget * (* get_panel_item_widget_cb) (GPanelItem *); +typedef GtkPanelLauncher * (* get_panel_item_launcher_cb) (GPanelItem *); + +/* Fournit un composant pour paramétrer l'activité d'un panneau. */ +typedef GtkWidget * (* get_panel_item_props_cb) (GPanelItem *); /* Fournit un composant représentant un panneau graphique. */ typedef GtkTiledPanel * (* get_panel_item_panel_cb) (GPanelItem *, GtkWidget *); @@ -45,7 +48,7 @@ struct _GPanelItem { GObject parent; /* A laisser en premier */ - GtkWidget *launcher; /* Eventuel lanceur associé */ + GtkPanelLauncher *launcher; /* Eventuel lanceur associé */ GtkWidget *properties; /* Propriétés de lancement */ GtkTiledPanel **panels; /* Instances complètes ouvertes*/ @@ -60,8 +63,8 @@ struct _GPanelItemClass get_panel_item_personality_cb get_personality; /* Fourniture de nature */ - get_panel_item_widget_cb get_launcher; /* Lancement d'une activité */ - get_panel_item_widget_cb get_properties;/* Préparation au lancement */ + get_panel_item_launcher_cb get_launcher;/* Lancement d'une activité */ + get_panel_item_props_cb get_properties; /* Préparation au lancement */ get_panel_item_panel_cb get_panel; /* Panneau principal */ }; |