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

added unimplemented tooltip calls.

Wed Mar 18 18:13:35 1998  George Lebl  <jirka@5z.com>

        * gnome-panel.idl, mico-glue.cc: added unimplemented
          tooltip calls.

        * panel.c: minor cleanups
parent 10ce4c57
Wed Mar 18 18:13:35 1998 George Lebl <jirka@5z.com>
* gnome-panel.idl, mico-glue.cc: added unimplemented
tooltip calls.
* panel.c: minor cleanups
Wed Mar 18 17:56:16 1998 George Lebl <jirka@5z.com>
* gnome-panel.idl, launcher-lib.cc,launcher.c:
......
Wed Mar 18 18:13:35 1998 George Lebl <jirka@5z.com>
* gnome-panel.idl, mico-glue.cc: added unimplemented
tooltip calls.
* panel.c: minor cleanups
Wed Mar 18 17:56:16 1998 George Lebl <jirka@5z.com>
* gnome-panel.idl, launcher-lib.cc,launcher.c:
......
......@@ -18,6 +18,8 @@ module GNOME {
void applet_add_callback (in short id,
in string callback_name,
in string menuitem_text);
void applet_add_tooltip (in short id, in string tooltip);
void applet_remove_tooltip (in short id);
void quit();
};
......
......@@ -81,6 +81,12 @@ public:
(char *)callback_name,
(char *)menuitem_text);
}
void applet_add_tooltip (CORBA::Short id, const char *tooltip) {
/*FIXME*/
}
void applet_remove_tooltip (CORBA::Short id) {
/*FIXME*/
}
void quit(void) {
::panel_quit();
}
......
......@@ -783,22 +783,6 @@ reserve_applet_spot (const char *id, const char *path, int panel, int pos,
/*printf ("leaving reserve spot\n");*/
}
/*FIXME: add a function that does this, so generalize register_toy for this*/
/*static void
add_reparent(GtkWidget *widget, gpointer data)
{
int id;
int appletid;
puts("** warning this will probably crash when saving session **");
puts("Enter window ID to reparent:");
scanf("%d",&id);
appletid = reserve_applet_spot("???","echo",0,0);
reparent_window_id (id,appletid);
}*/
GtkWidget *
create_panel_root_menu(PanelWidget *panel)
{
......@@ -821,13 +805,6 @@ create_panel_root_menu(PanelWidget *panel)
gtk_menu_append(GTK_MENU(panel_menu), menuitem);
gtk_widget_show(menuitem);
/*menuitem = gtk_menu_item_new_with_label(_("Add reparent (testing)"));
gtk_signal_connect(GTK_OBJECT(menuitem), "activate",
(GtkSignalFunc) add_reparent,
panel);
gtk_menu_append(GTK_MENU(panel_menu), menuitem);
gtk_widget_show(menuitem);*/
menuitem = gtk_menu_item_new_with_label(_("Main menu"));
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), root_menu);
gtk_menu_append(GTK_MENU(panel_menu), menuitem);
......
......@@ -18,6 +18,8 @@ module GNOME {
void applet_add_callback (in short id,
in string callback_name,
in string menuitem_text);
void applet_add_tooltip (in short id, in string tooltip);
void applet_remove_tooltip (in short id);
void quit();
};
......
......@@ -18,6 +18,8 @@ module GNOME {
void applet_add_callback (in short id,
in string callback_name,
in string menuitem_text);
void applet_add_tooltip (in short id, in string tooltip);
void applet_remove_tooltip (in short id);
void quit();
};
......
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