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

added a Launcher interface, but didn't do anything with it yet.

Sat Mar 14 20:21:31 1998  George Lebl  <jirka@5z.com>

        * gnome-panel.idl, launcher-lib.(cc|h): added a Launcher
          interface, but didn't do anything with it yet.
parent 691b3ded
Sat Mar 14 20:21:31 1998 George Lebl <jirka@5z.com>
* gnome-panel.idl, launcher-lib.(cc|h): added a Launcher
interface, but didn't do anything with it yet.
Fri Mar 13 13:44:40 1998 George Lebl <jirka@5z.com>
* panel.c,clock.c: fixed some FIXME's and added some
......
Sat Mar 14 20:21:31 1998 George Lebl <jirka@5z.com>
* gnome-panel.idl, launcher-lib.(cc|h): added a Launcher
interface, but didn't do anything with it yet.
Fri Mar 13 13:44:40 1998 George Lebl <jirka@5z.com>
* panel.c,clock.c: fixed some FIXME's and added some
......
......@@ -27,5 +27,9 @@ module GNOME {
in string globcfgpath);
void shutdown_applet (in short id);
};
interface Launcher {
void change_orient (in string path);
};
};
#include <mico/gtkmico.h>
#include <mico/naming.h>
#include <gnome.h>
#include <gdk/gdkx.h>
#include "panel.h"
#include "gnome-panel.h"
#include "applet-lib.h"
#include "launcher-lib.h"
#include "applet-widget.h"
#include "panel-widget.h"
#include "mico-parse.h"
GNOME::Panel_var panel_client;
CORBA::ORB_ptr orb_ptr;
static CORBA::BOA_ptr boa_ptr;
/*every applet must implement these*/
BEGIN_GNOME_DECLS
void start_new_launcher(const char *path);
END_GNOME_DECLS
class Launcher_impl : virtual public GNOME::Launcher_skel {
public:
void stat_new_launcher (const char *path) {
::start_new_launcher(path);
}
};
#ifndef LAUNCHER_LIB_H
#define LAUNCHER_LIB_H
BEGIN_GNOME_DECLS
END_GNOME_DECLS
#endif
......@@ -27,9 +27,6 @@ public:
char *globcfg=NULL;
int id;
if(path == NULL)
puts("DAMN!!!!!!!");
id = ::applet_request_id (ior,path,&cfg,&globcfg);
if(cfg) {
cfgpath = CORBA::string_dup(cfg);
......
......@@ -682,9 +682,6 @@ applet_request_id (const char * ior, const char *path, char **cfgpath,
AppletInfo *info;
int i;
if(path==NULL)
puts("DAMN!!!!!!");
for(i=0,list=applets;list!=NULL;list=g_list_next(list),i++) {
info = list->data;
if(info && info->type == APPLET_EXTERN_PENDING &&
......
......@@ -27,5 +27,9 @@ module GNOME {
in string globcfgpath);
void shutdown_applet (in short id);
};
interface Launcher {
void change_orient (in string path);
};
};
......@@ -27,5 +27,9 @@ module GNOME {
in string globcfgpath);
void shutdown_applet (in short id);
};
interface Launcher {
void change_orient (in string path);
};
};
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