comparison src/gnome_applet_mgr.c @ 200:bc117fbcf527

[gaim-migrate @ 210] Made the receive non-blocking, added a cancel button, and a few other updates. No, sending a file to someone does not work yet. Be patient. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 30 Apr 2000 21:47:04 +0000
parents 5d62a5d50c89
children 2c5713cd9d8c
comparison
equal deleted inserted replaced
199:be5fbefdb195 200:bc117fbcf527
89 89
90 gboolean load_applet_icon( const char *name, int height, int width, GdkPixmap **pm, GdkBitmap **bm ){ 90 gboolean load_applet_icon( const char *name, int height, int width, GdkPixmap **pm, GdkBitmap **bm ){
91 gboolean result = TRUE; 91 gboolean result = TRUE;
92 char *path; 92 char *path;
93 GdkImlibImage *im; 93 GdkImlibImage *im;
94 GdkPixmap *temp_pm;
95 GdkPixmap *temp_bm;
96 94
97 path = gnome_pixmap_file(name); 95 path = gnome_pixmap_file(name);
98 96
99 im=gdk_imlib_load_image( path ); 97 im=gdk_imlib_load_image( path );
100 98
130 ** updating the status label 128 ** updating the status label
131 ** 129 **
132 ****************************************************************/ 130 ****************************************************************/
133 131
134 gboolean update_applet( gpointer *ap ){ 132 gboolean update_applet( gpointer *ap ){
135 char temp_string[25];
136 static enum gaim_user_states old_user_status = offline; 133 static enum gaim_user_states old_user_status = offline;
137 134
138 if( MRI_user_status != old_user_status || ap){ 135 if( MRI_user_status != old_user_status || ap){
139 136
140 switch( MRI_user_status ){ 137 switch( MRI_user_status ){
364 ** of the applet and the orientation 361 ** of the applet and the orientation
365 ** of the Gnome panel. 362 ** of the Gnome panel.
366 ** 363 **
367 ****************************************************************/ 364 ****************************************************************/
368 GtkAllocation get_applet_pos(){ 365 GtkAllocation get_applet_pos(){
369 GtkAllocation pos;
370 gint x,y,pad; 366 gint x,y,pad;
371 GtkRequisition buddy_req, applet_req; 367 GtkRequisition buddy_req, applet_req;
372 GtkAllocation result; 368 GtkAllocation result;
373 GNOME_Panel_OrientType orient = applet_widget_get_panel_orient( APPLET_WIDGET(applet) ); 369 GNOME_Panel_OrientType orient = applet_widget_get_panel_orient( APPLET_WIDGET(applet) );
374 pad = 5; 370 pad = 5;