Use xfce4-panel debugging methods
Use xfce4-panel debuging methods described on http://docs.xfce.org/xfce/xfce4-panel/debugging#debugging_plugins. In particular log to stderr and enable debug logging if the PANEL_DEBUG environment variable is set to "all". Change G_LOG_DOMAIN to the more intuitive pulseaudio-plugin. Remove logging to a logfile as multiple plugin instances clobber the logfile and automatic restart after abort() or crash truncates the file. Use pulseaudio_plugin_debug instead of g_debug which provides additional information. Conflicts: panel-plugin/pulseaudio-plugin.c
Showing
- panel-plugin/Makefile.am 3 additions, 1 deletionpanel-plugin/Makefile.am
- panel-plugin/pulseaudio-debug.c 45 additions, 0 deletionspanel-plugin/pulseaudio-debug.c
- panel-plugin/pulseaudio-debug.h 38 additions, 0 deletionspanel-plugin/pulseaudio-debug.h
- panel-plugin/pulseaudio-plugin.c 45 additions, 55 deletionspanel-plugin/pulseaudio-plugin.c
- panel-plugin/pulseaudio-volume.c 14 additions, 13 deletionspanel-plugin/pulseaudio-volume.c
Loading
Please register or sign in to comment