comparison src/gnome_applet_mgr.h @ 82:05077cb276d4

[gaim-migrate @ 92] Made it very easy to switch between penguin and devil icons in the applet. Also made it so that it would find the icons better (through use of nifty GNOME functions I accidentally found). Other little touch-ups here and there. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 05 Apr 2000 08:22:38 +0000
parents 30f572f1a358
children 9d258a0aa560
comparison
equal deleted inserted replaced
81:7a24bb75a97b 82:05077cb276d4
52 #define _MSG_OFFLINE_ "Offline" 52 #define _MSG_OFFLINE_ "Offline"
53 #define _MSG_CONNECT_ "Connecting" 53 #define _MSG_CONNECT_ "Connecting"
54 #define _MSG_ONLINE_ "Online" 54 #define _MSG_ONLINE_ "Online"
55 #define _MSG_FONT_ "-adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-iso8859-1" 55 #define _MSG_FONT_ "-adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-iso8859-1"
56 56
57 #define GAIM_GNOME_PIXMAP_DIR "/usr/share/pixmaps/gaim/gnome/" 57 #define GAIM_GNOME_DEVIL_OFFLINE "gaim/gnome/devil-offline.png"
58 #define GAIM_GNOME_DEVIL_CONNECT "gaim/gnome/devil-connect.png"
59 #define GAIM_GNOME_DEVIL_ONLINE "gaim/gnome/devil-online.png"
58 60
59 /*this should be configurable instead of hard coded.*/ 61 #define GAIM_GNOME_PENGUIN_OFFLINE "gaim/gnome/penguin-offline.png"
60 #if 0 62 #define GAIM_GNOME_PENGUIN_CONNECT "gaim/gnome/penguin-connect.png"
61 #define GAIM_GNOME_OFFLINE_ICON "devil-offline.png" 63 #define GAIM_GNOME_PENGUIN_ONLINE "gaim/gnome/penguin-online.png"
62 #define GAIM_GNOME_CONNECT_ICON "devil-connect.png"
63 #define GAIM_GNOME_ONLINE_ICON "devil-online.png"
64
65 #else
66 #define GAIM_GNOME_OFFLINE_ICON "penguin-offline.png"
67 #define GAIM_GNOME_CONNECT_ICON "penguin-connect.png"
68 #define GAIM_GNOME_ONLINE_ICON "penguin-online.png"
69 #endif
70 64
71 gint InitAppletMgr(); /* Initializes and creates applet */ 65 gint InitAppletMgr(); /* Initializes and creates applet */
72 66
73 void setUserState( enum gaim_user_states state ); /* Set the state the user is in (Online, Offline, etc.) */ 67 void setUserState( enum gaim_user_states state ); /* Set the state the user is in (Online, Offline, etc.) */
74 68
89 void set_applet_draw_closed(); /* indicates that the code has closed the window that is controled by clicking on the applet */ 83 void set_applet_draw_closed(); /* indicates that the code has closed the window that is controled by clicking on the applet */
90 84
91 void insert_applet_away(); 85 void insert_applet_away();
92 void remove_applet_away(); 86 void remove_applet_away();
93 87
88 void update_pixmaps();
94 89
95 90
96 #endif /*USE_APPLET*/ 91 #endif /*USE_APPLET*/
97 #endif /*_GAIMGNOMEAPPLETMGR_H_*/ 92 #endif /*_GAIMGNOMEAPPLETMGR_H_*/