Add runtime debug support

Desktop / Xfce / Xfdesktop - Eric Koegel [gmail.com] - 28 July 2014 02:50 UTC

This patch adds the ability to enable and disable debug messages for xfdesktop while it is running. It also converts most of the DBG messages to XF_DEBUG ones except where it would cause a lot of noise. Additionally, when built with --enable-debug=full the XF_DEBUG messages will be on by default. The point of this patch is to allow the users to easily provide more details in their bug reports.

24e1ec3 Add runtime debug support
common/xfdesktop-common.c | 39 ++++++++++++++++++
common/xfdesktop-common.h | 17 ++++++++
common/xfdesktop-thumbnailer.c | 4 +-
settings/xfce-backdrop-settings.desktop.in | 2 +-
src/xfce-backdrop.c | 10 ++---
src/xfce-desktop.c | 36 ++++++++---------
src/xfce-workspace.c | 10 ++---
src/xfdesktop-application.c | 46 ++++++++++++++++++++-
src/xfdesktop-file-icon-manager.c | 32 +++++++--------
src/xfdesktop-icon-view.c | 60 ++++++++++++++--------------
src/xfdesktop-volume-icon.c | 8 ++--
xfdesktop.1 | 8 +++-
12 files changed, 188 insertions(+), 84 deletions(-)

Upstream: git.xfce.org


  • Share