~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to musicPlayer/src/applet-notifications.c

  • Committer: Fabounet (Fabrice Rey) - http://cairo-dock.org
  • Date: 2010-01-06 00:43:45 UTC
  • Revision ID: fabounet_fabrice_rey_-_httpcairo-dock.org-20100106004345-2q0knfv2i8eyk3xn
added some debug ENTER/LEAVE + Network-Monitor : few minor changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
static void _cd_musicplayer_find_player (GtkMenuItem *menu_item, gpointer *data)
62
62
{
 
63
        CD_APPLET_ENTER;
63
64
        MusicPlayerHandeler *pHandler = cd_musicplayer_dbus_find_opened_player ();
64
65
        if (pHandler == NULL)
65
66
        {
81
82
                if (myConfig.bStealTaskBarIcon)
82
83
                        CD_APPLET_MANAGE_APPLICATION (myData.pCurrentHandeler->appclass);
83
84
        }
 
85
        CD_APPLET_LEAVE ();
84
86
}
85
87
 
86
88
//\___________ Define here the action to be taken when the user left-clicks on your icon or on its subdock or your desklet. The icon and the container that were clicked are available through the macros CD_APPLET_CLICKED_ICON and CD_APPLET_CLICKED_CONTAINER. CD_APPLET_CLICKED_ICON may be NULL if the user clicked in the container but out of icons.
303
305
 
304
306
gboolean cd_opengl_test_mouse_over_buttons (CairoDockModuleInstance *myApplet, CairoContainer *pContainer, gboolean *bStartAnimation)
305
307
{
 
308
        CD_APPLET_ENTER;
306
309
        int iPrevButtonState = myData.iButtonState;
307
310
        myData.iButtonState = cd_opengl_check_buttons_state (myApplet);
308
311
        
310
313
        {
311
314
                *bStartAnimation = TRUE;  // ca c'est pour faire une animation de transition...
312
315
        }
313
 
        return CAIRO_DOCK_LET_PASS_NOTIFICATION;
 
316
        CD_APPLET_LEAVE (CAIRO_DOCK_LET_PASS_NOTIFICATION);
 
317
        //return CAIRO_DOCK_LET_PASS_NOTIFICATION;
314
318
}