gnome applet missing on restart

gnome applet missing on restart

Post by Rei Shinozu » Mon, 01 Apr 2002 05:12:21



my first attempt at an applet, ripped off from berkman and lebl's "the
GNOME panel libraries"

works just fine, shows up on the panel nice as can be,
except that when i log out and restart the applet is not there,
just a nice space with a question mark icon.

what am i missing?

thanks,

-rei
------------------------test_applet.c-----
#include <config.h>
#include <applet-widget.h>
int
main(int argc, char **argv)
{
        GtkWidget *applet;
        GtkWidget *label;
                                /* Initialize the i18n stuff */
        bindtextdomain (PACKAGE, GNOMELOCALEDIR);
        textdomain (PACKAGE);

        /* intialize, this will basically set up the applet, corba and
           call gnome_init */
        applet_widget_init("test_applet", NULL, argc, argv, NULL,0,NULL);
        /* create a new applet_widget */
        applet = applet_widget_new("test_applet");
        /* in the rare case that the communication with the panel
           failed, error out */
        if (!applet)
                g_error("Can't create applet!\n");

        /* create the widget we are going to put on the applet */
        label = gtk_label_new(_("Hello There!"));
        gtk_widget_show(label);
        /* add the widget to the applet-widget, and thereby actually
           putting it "onto" the panel */
        applet_widget_add (APPLET_WIDGET (applet), label);
        gtk_widget_show (applet);

        /* special corba main loop */
        applet_widget_gtk_main ();

        return 0;

Quote:}

---------------makefile------------------
CC=gcc
%:      %.c
        $(CC) $< -I. -I/usr/X11R6/include \
-DNEED_GNOMESUPPOERT_H \
-DGNOMELOCALEDIR=\"/usr/local/share/locale\" \
-I/usr/lib/gnome-libs/include \
-I/usr/include/gtk-1.2 -L/usr/X11R6/lib \
-I/usr/include/glib-1.2 \
-I/usr/lib/glib/include \

-L/usr/lib -L/usr/X11R6/lib -rdynamic -lpanel_applet -lgnorba \
-lORBitCosNaming -lORBit -lIIOP -lORBitutil -lnsl -lgnomeui -lart_lgpl \
-lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome \
-lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl
 
 
 

1. GNOME Mailcheck Applet Missing

The GNOME 'Mailcheck' applet, that I really liked on RH 7.2, seems to be missing from RH 8.0.? It does not appear in any of the GNOME menus, but there are related files installed (see below).? I looked at the GNOME packages that are installed, and I selected all of them.?

I have looked on the web for just the applet itself, but can not locate it.

results of 'locate mailcheck':


/home/skidmore/.gnome2/sound/events/mailcheck.soundlist
/usr/share/pixmaps/gnome-mailcheck.png
/usr/share/pixmaps/mailcheck
/usr/share/pixmaps/mailcheck/email-eclouds.png
/usr/share/pixmaps/mailcheck/eclouds.png
/usr/share/pixmaps/mailcheck/email-e.png
/usr/share/pixmaps/mailcheck/email-tiny.png
/usr/share/pixmaps/mailcheck/email.png
/usr/share/pixmaps/mailcheck/tux-anim.png
/usr/share/gnome/help/mailcheck
/usr/share/gnome/help/mailcheck/C
/usr/share/gnome/help/mailcheck/C/figures
/usr/share/gnome/help/mailcheck/C/figures/mailcheck-properties-mailbox.png
/usr/share/gnome/help/mailcheck/C/figures/mailcheck-applet.png
/usr/share/gnome/help/mailcheck/C/figures/mailcheck-properties-mailcheck.png
/usr/share/gnome/help/mailcheck/C/figures/mailcheck_applet.png
/usr/share/gnome/help/mailcheck/C/mailcheck.xml
/usr/share/gnome/help/mailcheck/C/legal.xml
/usr/share/omf/gnome-panel/mailcheck-C.omf
/usr/share/icons/Bluecurve/16x16/apps/gnome-mailcheck.png
/usr/share/icons/Bluecurve/32x32/apps/gnome-mailcheck.png
/usr/share/icons/Bluecurve/48x48/apps/gnome-mailcheck.png
/etc/gconf/gconf.xml.defaults/schemas/apps/mailcheck_applet
/etc/gconf/gconf.xml.defaults/schemas/apps/mailcheck_applet/%gconf.xml
/etc/gconf/gconf.xml.defaults/schemas/apps/mailcheck_applet/prefs
/etc/gconf/gconf.xml.defaults/schemas/apps/mailcheck_applet/prefs/%gconf.xml
/etc/gconf/schemas/mailcheck.schemas
/etc/sound/events/mailcheck.soundlist

results of 'whereis mailcheck' and 'find / -name mailcheck -print' were both negative.

Thanks,
--
Barry Skidmore

Red Hat Linux 8.0
Postfix 1.1.11    
--

2. Crystal-4281 Sound Chip

3. missing truetype fonts in Gnome 2.0 but not Gnome 1.4

4. Question about getty, dialing into a NeXT using a Telebit

5. GNOME applet problem

6. Problem with install and NFS

7. Compiling gnome.org tutorial applets

8. Using the sound driver with Linux 0.99.6

9. Is there a Gnome applet for V.92 modem?

10. gnome panel loses applets

11. GNOME ppp applet solution

12. gnome pager applet in RHL 7.2

13. mail checker applet in gnome