Commit bf7c5a0d authored by Jiri (George) Lebl's avatar Jiri (George) Lebl Committed by George Lebl

cleaned up compilation with -Wall

Sun Jun 07 00:23:16 1998  George Lebl  <jirka@5z.com>

        * *.[ch]: cleaned up compilation with -Wall

        * gnome-panel.idl,mico-glue.(cc|h),applet-lib.(cc|h),
          panel-widget.[ch],applet-widget.[ch],main.c,panel.c:
          implemented and applet signal for the changing backgrounds

        * panel_config.[ch],main.c: modify the config dialog
          on the fly if it is display and the user changes the
          config by dnd (panel position and background)

        * gnome-panel.idl,mico-glue.(cc|h),applet-widget.[ch],
          main.c,panel.c: implemented tooltips inside applets,
          by implementing applet side tooltips, but which enable
          and disable tooltips just like the panel side ones

        * panel_config.c: allowing more then one config box for
          per-panel config (one per panel)

This is two days worth of stuff ... I hope the release is done as this
shoudl not go into the release as it is possibly unstable ...
(hopefully it's stable) .... hmmm a LOT of stuff :)
parent 053e23ba
Sun Jun 07 00:23:16 1998 George Lebl <jirka@5z.com>
* *.[ch]: cleaned up compilation with -Wall
* gnome-panel.idl,mico-glue.(cc|h),applet-lib.(cc|h),
panel-widget.[ch],applet-widget.[ch],main.c,panel.c:
implemented and applet signal for the changing backgrounds
* panel_config.[ch],main.c: modify the config dialog
on the fly if it is display and the user changes the
config by dnd (panel position and background)
* gnome-panel.idl,mico-glue.(cc|h),applet-widget.[ch],
main.c,panel.c: implemented tooltips inside applets,
by implementing applet side tooltips, but which enable
and disable tooltips just like the panel side ones
* panel_config.c: allowing more then one config box for
per-panel config (one per panel)
1998-06-06 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* panel.c (panel_session_die): Replaced 'gtk_exit' with
......
Sun Jun 07 00:23:16 1998 George Lebl <jirka@5z.com>
* *.[ch]: cleaned up compilation with -Wall
* gnome-panel.idl,mico-glue.(cc|h),applet-lib.(cc|h),
panel-widget.[ch],applet-widget.[ch],main.c,panel.c:
implemented and applet signal for the changing backgrounds
* panel_config.[ch],main.c: modify the config dialog
on the fly if it is display and the user changes the
config by dnd (panel position and background)
* gnome-panel.idl,mico-glue.(cc|h),applet-widget.[ch],
main.c,panel.c: implemented tooltips inside applets,
by implementing applet side tooltips, but which enable
and disable tooltips just like the panel side ones
* panel_config.c: allowing more then one config box for
per-panel config (one per panel)
1998-06-06 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* panel.c (panel_session_die): Replaced 'gtk_exit' with
......
......@@ -55,6 +55,9 @@ void _gnome_applet_change_orient(int applet_id, int orient);
int _gnome_applet_session_save(int applet_id, const char *cfgpath,
const char *globcfgpath);
int _gnome_applet_start_new_applet(const char *params);
void _gnome_applet_back_change(int applet_id, int back_type,
const char *pixmap, GdkColor *color);
void _gnome_applet_tooltips_state(int enabled);
END_GNOME_DECLS
......@@ -99,6 +102,31 @@ public:
CHECK_COOKIE ();
::_gnome_applet_start_new_applet(param);
}
void back_change (const char *ccookie,
CORBA::Short applet_id,
CORBA::Short back_type,
const char *pixmap,
CORBA::Short c_red,
CORBA::Short c_green,
CORBA::Short c_blue)
{
GdkColor color;
CHECK_COOKIE ();
color.pixel = 1;
color.red = c_red;
color.green = c_green;
color.blue = c_blue;
::_gnome_applet_back_change(applet_id,back_type,
pixmap, &color);
}
void tooltips_state (const char *ccookie,
CORBA::Short enabled)
{
CHECK_COOKIE ();
::_gnome_applet_tooltips_state(enabled);
}
};
int
......
......@@ -3,6 +3,7 @@
#include <gnome.h>
#include <applet-widget.h>
#include <applet-lib.h>
#include "mico-parse.h"
static void applet_widget_class_init (AppletWidgetClass *klass);
static void wapplet_widget_init (AppletWidget *applet_widget);
......@@ -16,6 +17,16 @@ typedef gint (*AppletWidgetSaveSignal) (GtkObject * object,
char *globcfgpath,
gpointer data);
typedef void (*AppletWidgetBackSignal) (GtkObject * object,
PanelBackType type,
gchar *pixmap,
GdkColor *color,
gpointer data);
typedef void (*AppletWidgetTooltipSignal) (GtkObject * object,
gint enabled,
gpointer data);
static GList *applet_widgets = NULL;
static gint applet_count = 0;
......@@ -29,6 +40,8 @@ static gpointer start_new_func_data=NULL;
static gchar *myinvoc= NULL;
static GtkTooltips *applet_tooltips=NULL;
guint
applet_widget_get_type ()
{
......@@ -54,16 +67,18 @@ applet_widget_get_type ()
enum {
CHANGE_ORIENT_SIGNAL,
SESSION_SAVE_SIGNAL,
BACK_CHANGE_SIGNAL,
TOOLTIP_STATE_SIGNAL,
LAST_SIGNAL
};
static gint applet_widget_signals[LAST_SIGNAL] = {0,0};
static void
gtk_applet_widget_marshal_signal_orient (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
applet_widget_marshal_signal_orient (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
AppletWidgetOrientSignal rfunc;
......@@ -74,10 +89,10 @@ gtk_applet_widget_marshal_signal_orient (GtkObject * object,
}
static void
gtk_applet_widget_marshal_signal_save (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
applet_widget_marshal_signal_save (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
AppletWidgetSaveSignal rfunc;
gint *retval;
......@@ -91,6 +106,36 @@ gtk_applet_widget_marshal_signal_save (GtkObject * object,
func_data);
}
static void
applet_widget_marshal_signal_back (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
AppletWidgetBackSignal rfunc;
rfunc = (AppletWidgetBackSignal) func;
(*rfunc) (object, GTK_VALUE_ENUM (args[0]),
GTK_VALUE_POINTER (args[1]),
GTK_VALUE_POINTER (args[2]),
func_data);
}
static void
applet_widget_marshal_signal_tooltip (GtkObject * object,
GtkSignalFunc func,
gpointer func_data,
GtkArg * args)
{
AppletWidgetTooltipSignal rfunc;
rfunc = (AppletWidgetTooltipSignal) func;
(*rfunc) (object, GTK_VALUE_INT (args[0]),
func_data);
}
static void
applet_widget_class_init (AppletWidgetClass *class)
{
......@@ -106,7 +151,7 @@ applet_widget_class_init (AppletWidgetClass *class)
object_class->type,
GTK_SIGNAL_OFFSET(AppletWidgetClass,
change_orient),
gtk_applet_widget_marshal_signal_orient,
applet_widget_marshal_signal_orient,
GTK_TYPE_NONE,
1,
GTK_TYPE_ENUM);
......@@ -116,11 +161,33 @@ applet_widget_class_init (AppletWidgetClass *class)
object_class->type,
GTK_SIGNAL_OFFSET(AppletWidgetClass,
session_save),
gtk_applet_widget_marshal_signal_save,
applet_widget_marshal_signal_save,
GTK_TYPE_BOOL,
2,
GTK_TYPE_STRING,
GTK_TYPE_STRING);
applet_widget_signals[BACK_CHANGE_SIGNAL] =
gtk_signal_new("back_change",
GTK_RUN_LAST,
object_class->type,
GTK_SIGNAL_OFFSET(AppletWidgetClass,
back_change),
applet_widget_marshal_signal_back,
GTK_TYPE_NONE,
3,
GTK_TYPE_ENUM,
GTK_TYPE_POINTER,
GTK_TYPE_POINTER);
applet_widget_signals[TOOLTIP_STATE_SIGNAL] =
gtk_signal_new("tooltip_state",
GTK_RUN_LAST,
object_class->type,
GTK_SIGNAL_OFFSET(AppletWidgetClass,
tooltip_state),
applet_widget_marshal_signal_tooltip,
GTK_TYPE_NONE,
1,
GTK_TYPE_INT);
gtk_object_class_add_signals(object_class,applet_widget_signals,
LAST_SIGNAL);
......@@ -260,6 +327,14 @@ applet_widget_add(AppletWidget *applet, GtkWidget *widget)
g_error("Could not talk to the Panel: %s\n", result);
}
void
applet_widget_set_widget_tooltip(AppletWidget *applet,
GtkWidget *widget,
gchar *text)
{
gtk_tooltips_set_tip (applet_tooltips,widget,text,NULL);
}
void
applet_widget_set_tooltip(AppletWidget *applet, gchar *text)
{
......@@ -325,6 +400,8 @@ applet_widget_init(char *app_id,
if (!gnome_panel_applet_init_corba())
g_error("Could not communicate with the panel\n");
applet_tooltips = gtk_tooltips_new();
return ret;
}
......@@ -384,6 +461,39 @@ _gnome_applet_start_new_applet(const char *param)
(*start_new_func)(param,start_new_func_data);
}
void
_gnome_applet_back_change(int applet_id,
int back_type,
const char *pixmap,
GdkColor *color)
{
AppletWidget *applet;
applet = applet_widget_get_by_id(applet_id);
if(applet) {
gtk_signal_emit(GTK_OBJECT(applet),
applet_widget_signals[BACK_CHANGE_SIGNAL],
back_type,pixmap,color);
}
}
void
_gnome_applet_tooltips_state(int enabled)
{
GList *list;
if(enabled)
gtk_tooltips_enable(applet_tooltips);
else
gtk_tooltips_disable(applet_tooltips);
for(list=applet_widgets;list!=NULL;list=g_list_next(list)) {
gtk_signal_emit(GTK_OBJECT(list->data),
applet_widget_signals[TOOLTIP_STATE_SIGNAL],
enabled);
}
}
/* convenience function for multi applets */
gchar *
make_param_string(gint argc, char *argv[])
......
......@@ -18,6 +18,15 @@ typedef enum {
} PanelOrientType;
#endif
#ifndef __PANEL_WIDGET_H__
/*from panel-widget.h*/
typedef enum {
PANEL_BACK_NONE,
PANEL_BACK_COLOR,
PANEL_BACK_PIXMAP
} PanelBackType;
#endif
#define APPLET_WIDGET(obj) GTK_CHECK_CAST (obj, applet_widget_get_type (), AppletWidget)
#define APPLET_WIDGET_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, applet_widget_get_type (), AppletWidgetClass)
#define IS_APPLET_WIDGET(obj) GTK_CHECK_TYPE (obj, applet_widget_get_type ())
......@@ -49,6 +58,17 @@ struct _AppletWidgetClass
that you can update your orientation properly */
void (* change_orient) (AppletWidget *applet,
PanelOrientType orient);
/* the panel background changes, the pixmap handeling is likely
to change */
void (* back_change) (AppletWidget *applet,
PanelBackType type,
gchar *pixmap,
GdkColor *color);
/*will send the current state of the tooltips, if they are enabled
or disabled, you should only need this if you are doing something
weird*/
void (* tooltip_state) (AppletWidget *applet,
gint enabled);
/*when the panel wants to save a session it will call this signal
if you trap it make sure you do gnome_config_sync() and
gnome_config_drop_all() after your done otherwise the changes
......@@ -57,7 +77,6 @@ struct _AppletWidgetClass
gint (* session_save) (AppletWidget *applet,
gchar *cfgpath,
gchar *globcfgpath);
};
guint applet_widget_get_type (void);
......@@ -75,6 +94,11 @@ GtkWidget* applet_widget_new_with_param (const gchar *param);
void applet_widget_set_tooltip (AppletWidget *applet,
gchar *text);
/*set tooltip on a specific widget inside the applet*/
void applet_widget_set_widget_tooltip(AppletWidget *applet,
GtkWidget *widget,
gchar *text);
/* add a widget to the plug and register the applet, this has to
be done after all the children had been added so that the applet-lib
can bind the events over them so that peoplce can move them with
......@@ -85,11 +109,13 @@ void applet_widget_add (AppletWidget *applet,
/* remove the plug from the panel, this will destroy the applet */
void applet_widget_remove_from_panel (AppletWidget *applet);
/* The callback functions control the applet's right click menu, the name is just a string, which has
to be unique and which controls the nesting, for example a name of "foo/bar" will add an item to the
submenu identified by "/foo" (which you should have created before with register_callback_dir,
use this for properies callback, help, about, etc... etc...
*/
/* The callback functions control the applet's right click menu, the name
is just a string, which has to be unique and which controls the nesting,
for example a name of "foo/bar" will add an item to the submenu
identified by "/foo" (which you should have created before with
register_callback_dir, use this for properies callback, help, about,
etc... etc...
*/
/*add a callback onto the applet's right click menu*/
void applet_widget_register_callback (AppletWidget *applet,
gchar *name,
......@@ -114,7 +140,10 @@ AppletWidget* applet_widget_get_by_id (gint applet_id);
/*get thenumber of applets*/
gint applet_widget_get_applet_count (void);
/*tell the panel to save the session here (just saves no shutdown)*/
/*tell the panel to save the session here (just saves no shutdown),
this should be done when you change some of your config and want
the panel to save it's config, you should NOT call this in the
session_save handler as it will result in a locked panel*/
void applet_widget_sync_config (void);
/* Get the oprientation the applet should use */
......
......@@ -18,7 +18,9 @@ module GNOME {
void applet_register(in string cookie, in string ior,
in short applet_id);
/*abort the applet load (before we register)*/
void applet_abort_id(in string cookie, in short applet_id);
void applet_request_glob_cfg(in string cookie,
out string globcfgpath);
void applet_remove_from_panel (in string cookie,
......@@ -57,10 +59,19 @@ module GNOME {
in short applet_id,
in string cfgpath,
in string globcfgpath);
/* params is only used if the applet process handeles more
applet types */
void start_new_applet (in string cookie, in string param);
void start_new_applet (in string cookie,
in string param);
void back_change (in string cookie,
in short applet_id,
in short back_type,
in string pixmap,
in short c_red,
in short c_green,
in short c_blue);
void tooltips_state (in string cookie,
in short enabled);
};
};
......@@ -307,7 +307,6 @@ create_properties_dialog(GnomeDesktopEntry *dentry, Launcher *launcher)
Properties *prop;
GtkWidget *dialog;
GtkWidget *table;
GtkWidget *button;
GtkWidget *toggle;
gchar *exec;
......
......@@ -13,6 +13,7 @@
#include <gnome.h>
#include "panel-widget.h"
#include "panel.h"
#include "panel_config.h"
#include "panel_config_global.h"
#include "menu.h"
#include "drawer.h"
......@@ -628,16 +629,52 @@ orient_change_foreach(gpointer data, gpointer user_data)
}
static gint
static void
panel_orient_change(GtkWidget *widget,
PanelOrientation orient,
PanelSnapped snapped,
gpointer data)
{
panel_widget_foreach(PANEL_WIDGET(widget),orient_change_foreach,
(gpointer)widget);
widget);
config_changed = TRUE;
return TRUE;
/*update the configuration box if it is displayed*/
update_config_orient(PANEL_WIDGET(widget));
}
void
back_change(gint applet_id,
PanelWidget *panel)
{
AppletInfo *info = get_applet_info(applet_id);
if(info->type == APPLET_EXTERN) {
send_applet_change_back(info->id_str, info->applet_id,
panel->back_type,panel->back_pixmap,
&panel->back_color);
}
/*FIXME: probably set the launcher background as well*/
}
static void
back_change_foreach(gpointer data, gpointer user_data)
{
gint applet_id = PTOI(gtk_object_get_user_data(GTK_OBJECT(data)));
PanelWidget *panel = user_data;
back_change(applet_id,panel);
}
static void
panel_back_change(GtkWidget *widget,
PanelBackType type,
gchar *pixmap,
GdkColor *color)
{
panel_widget_foreach(PANEL_WIDGET(widget),back_change_foreach,widget);
config_changed = TRUE;
/*update the configuration box if it is displayed*/
update_config_back(PANEL_WIDGET(widget));
}
static void
......@@ -810,8 +847,6 @@ menu_deactivate(GtkWidget *w, gpointer data)
static void
panel_move(PanelWidget *panel, double x, double y)
{
gint panel_space;
gint width, height;
PanelSnapped newloc;
if(panel->snapped == PANEL_DRAWER || panel->snapped == PANEL_FREE)
......@@ -891,8 +926,10 @@ panel_button_press(GtkWidget *widget, GdkEventButton *event, gpointer data)
{
panel->autohide_inhibit = TRUE;
panel_widget_queue_pop_down(panel);
gtk_menu_popup(GTK_MENU(data), NULL, NULL, panel_menu_position,
widget, event->button, event->time);
gtk_menu_popup(GTK_MENU(data), NULL, NULL,
panel_menu_position,
widget, event->button,
event->time);
return TRUE;
}
break;
......@@ -995,6 +1032,10 @@ panel_setup(PanelWidget *panel)
"button_release_event",
GTK_SIGNAL_FUNC(panel_button_release_callback),
panel);
gtk_signal_connect(GTK_OBJECT(panel),
"back_change",
GTK_SIGNAL_FUNC(panel_back_change),
NULL);
/* DOES NOT WORK!
gtk_signal_connect(GTK_OBJECT(panel),
"motion_notify_event",
......@@ -1024,7 +1065,10 @@ init_user_panels(void)
char buf[256];
int count,num;
int size,x,y;
PanelConfig config;
PanelSnapped snapped;
PanelOrientation orient;
PanelMode mode;
gint fit_pixmap_bg;
GtkWidget *panel;
PanelState state;
DrawerDropZonePos drop_pos;
......@@ -1056,15 +1100,15 @@ init_user_panels(void)
y = gnome_config_get_int("position_y=0");
g_snprintf(buf,256,"snapped=%d", PANEL_BOTTOM);
config.snapped=gnome_config_get_int(buf);
snapped=gnome_config_get_int(buf);
g_snprintf(buf,256,"orient=%d", PANEL_HORIZONTAL);
config.orient=gnome_config_get_int(buf);
orient=gnome_config_get_int(buf);
g_snprintf(buf,256,"mode=%d", PANEL_EXPLICIT_HIDE);
config.mode=gnome_config_get_int(buf);
mode=gnome_config_get_int(buf);
config.fit_pixmap_bg = gnome_config_get_bool ("fit_pixmap_bg=TRUE");
fit_pixmap_bg = gnome_config_get_bool ("fit_pixmap_bg=TRUE");
g_snprintf(buf,256,"state=%d", PANEL_SHOWN);
state=gnome_config_get_int(buf);
......@@ -1095,16 +1139,16 @@ init_user_panels(void)
}
gnome_config_pop_prefix ();
panel = panel_widget_new(size,
config.orient,
config.snapped,
config.mode,
orient,
snapped,
mode,
state,
x,
y,
drop_pos,
back_type,
back_pixmap,
config.fit_pixmap_bg,
fit_pixmap_bg,
&back_color);
g_free(color);
......@@ -1152,6 +1196,7 @@ parse_an_arg (int key, char *arg, struct argp_state *state)
return ARGP_ERR_UNKNOWN;
}
/*
static void
panel_connect_client (GnomeClient *client,
gint was_restarted,
......@@ -1169,7 +1214,7 @@ panel_connect_client (GnomeClient *client,
puts("connected");
puts(old_panel_cfg_path);
}
*/
void
sigchld_handler(int type)
......@@ -1243,20 +1288,20 @@ main(int argc, char **argv)
gtk_signal_connect (GTK_OBJECT (client), "die",
GTK_SIGNAL_FUNC (panel_session_die), NULL);
if (GNOME_CLIENT_CONNECTED (client))
{
gchar *session_id;
if (GNOME_CLIENT_CONNECTED (client)) {
gchar *session_id;
session_id= gnome_client_get_id (gnome_cloned_client ());
session_id= gnome_client_get_id (gnome_cloned_client ());
if(session_id) {
g_free(old_panel_cfg_path);
old_panel_cfg_path = g_copy_strings("/panel-Session-",
session_id,"/",NULL);
}
puts("connected");
puts(old_panel_cfg_path);
}
if(session_id) {
g_free(old_panel_cfg_path);
old_panel_cfg_path = g_copy_strings("/panel-Session-",
session_id,"/",
NULL);
}
puts("connected");
puts(old_panel_cfg_path);
}
/* Tell session manager how to run us. */
gnome_client_set_clone_command (client, 1, argv);
......
......@@ -6,6 +6,7 @@ BEGIN_GNOME_DECLS
void load_applet(char *id, char *path, char *params,
int pos, int panel, char *cfgpath);
void orientation_change(gint applet_id, PanelWidget *panel);
void back_change(gint applet_id, PanelWidget *panel);
PanelOrientType get_applet_orient(PanelWidget *panel);
......
......@@ -15,6 +15,7 @@
#include <gnome.h>
#include "panel-widget.h"
#include "panel.h"
#include "main.h"
#include "panel_config_global.h"
#include "menu.h"
#include "mico-glue.h"
......@@ -430,6 +431,7 @@ add_applet_to_panel_data(GtkWidget *widget, gpointer data)
add_to_panel((char *)data, NULL, NULL);
}
#ifdef _SWALLOW_
static gint
act_really_add_swallow(GtkWidget *w, gpointer data)
{
......@@ -495,6 +497,7 @@ add_swallow_to_panel(GtkWidget *widget, gpointer data)
}
gtk_widget_show(d);
}
#endif
static GtkWidget *
......
......@@ -249,3 +249,36 @@ send_applet_start_new_applet (const char *ior, const char *param)
g_warning(_("Error on sending 'start new applet' to applet!"));
}
}
void
send_applet_change_back (const char *ior, int applet_id,
PanelBackType back_type, const char *pixmap,
const GdkColor* color)
{
/* Use the ior that was sent to us to get an Applet CORBA object */
CORBA::Object_var obj = orb_ptr->string_to_object (ior);
GNOME::Applet_var applet = GNOME::Applet::_narrow (obj);
/* Now, use corba to invoke the routine in the panel */
try {
applet->back_change(cookie,applet_id, back_type, pixmap,
color->red,color->green,color->blue);
} catch(...) {
g_warning(_("Error on sending 'change back' to applet!"));
}
}
void
send_applet_tooltips_state (const char *ior, int enabled)
{
/* Use the ior that was sent to us to get an Applet CORBA object */
CORBA::Object_var obj = orb_ptr->string_to_object (ior);
GNOME::Applet_var applet = GNOME::Applet::_narrow (obj);
/* Now, use corba to invoke the routine in the panel */
try {
applet->tooltips_state(cookie, enabled);
} catch(...) {
g_warning(_("Error on sending 'tooltips state' to applet!"));
}
}
......@@ -3,19 +3,25 @@
#ifndef __MICO_GLUE_H__
#define __MICO_GLUE_H__
#include "panel-widget.h"
BEGIN_GNOME_DECLS
void panel_corba_gtk_main (char *service_name);
void panel_corba_clean_up(void);
int send_applet_session_save (const char *ior, int id,
int send_applet_session_save (const char *ior, int applet_id,
const char *cfgpath,
const char *globcfgpath);
void send_applet_change_orient (const char *ior, int id, int orient);
void send_applet_do_callback (const char *ior, int id,
void send_applet_change_orient (const char *ior, int applet_id, int orient);
void send_applet_do_callback (const char *ior, int applet_id,
const char *callback_name);
void send_applet_start_new_applet (const char *ior, const char *param);
void send_applet_change_back (const char *ior, int applet_id,
PanelBackType back_type, const char *pixmap,
const GdkColor* color);
void send_applet_tooltips_state (const char *ior, int enabled);
END_GNOME_DECLS
......
......@@ -9,6 +9,7 @@
#include <string.h>
#include "panel.h"
#include "mulapp.h"
#include "mico-glue.h"
extern GArray *applets;
extern gint applet_count;
......
This diff is collapsed.
......@@ -4,5 +4,7 @@
#include "panel-widget.h"
void panel_config(PanelWidget *panel);
void update_config_orient(PanelWidget *panel);
void update_config_back(PanelWidget *panel);
#endif /* PANEL_CONFIG_H */
......@@ -54,6 +54,12 @@ typedef void (*PanelWidgetStateSignal) (GtkObject * object,
PanelState state,
gpointer data);
typedef void (*PanelWidgetBackSignal) (GtkObject * object,
PanelBackType type,
gchar *pixmap,