Commit e67585d0 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Check the return value from create_launcher

1998-06-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* main.c (load_applet): Check the return value from
	create_launcher
parent 1e135066
1998-06-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (load_applet): Check the return value from
create_launcher
Sun Jun 21 01:29:49 1998 George Lebl <jirka@5z.com>
* main.[ch],panel.c: made the children list a list of all registered
......
1998-06-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (load_applet): Check the return value from
create_launcher
Sun Jun 21 01:29:49 1998 George Lebl <jirka@5z.com>
* main.[ch],panel.c: made the children list a list of all registered
......
......@@ -418,15 +418,17 @@ load_applet(char *id_str, char *path, char *params,
launcher = create_launcher(params);
register_toy(launcher->button,NULL,launcher,LAUNCHER_ID,NULL,
params,pos,panel,NULL,APPLET_LAUNCHER);
gtk_tooltips_set_tip (panel_tooltips,launcher->button->parent,
launcher->dentry->comment,NULL);
applet_add_callback(applet_count-1,"properties",
GNOME_STOCK_MENU_PROP,
_("Properties..."));
if (launcher){
register_toy(launcher->button,NULL,launcher,LAUNCHER_ID,NULL,
params,pos,panel,NULL,APPLET_LAUNCHER);
gtk_tooltips_set_tip (panel_tooltips,launcher->button->parent,
launcher->dentry->comment,NULL);
applet_add_callback(applet_count-1,"properties",
GNOME_STOCK_MENU_PROP,
_("Properties..."));
}
} else if(strcmp(id_str,DRAWER_ID) == 0) {
Drawer *drawer;
PanelWidget *parent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment