comparison src/statusicon/si.c @ 795:ca6dca840074 trunk

[svn] - statusicon: re-display statusicon popup with updated information when song (or title) changes, closes bug #846
author giacomo
date Wed, 07 Mar 2007 16:45:38 -0800
parents 60395c0d7587
children aac49941ee8f
comparison
equal deleted inserted replaced
794:93dbfe1f0cd0 795:ca6dca840074
41 si_init ( void ) 41 si_init ( void )
42 { 42 {
43 g_type_init(); 43 g_type_init();
44 g_log_set_handler( NULL , G_LOG_LEVEL_WARNING , g_log_default_handler , NULL ); 44 g_log_set_handler( NULL , G_LOG_LEVEL_WARNING , g_log_default_handler , NULL );
45 plugin_active = TRUE; 45 plugin_active = TRUE;
46 si_ui_statusicon_show(); 46 si_ui_statusicon_enable( TRUE );
47 return; 47 return;
48 } 48 }
49 49
50 50
51 void 51 void
52 si_cleanup ( void ) 52 si_cleanup ( void )
53 { 53 {
54 if ( plugin_active == TRUE ) 54 if ( plugin_active == TRUE )
55 { 55 {
56 plugin_active = FALSE; 56 plugin_active = FALSE;
57 si_ui_statusicon_hide(); 57 si_ui_statusicon_enable( FALSE );
58 } 58 }
59 return; 59 return;
60 } 60 }
61 61
62 62