[Xfce4-commits] <xfce4-sensors-plugin:master> * apply -Wl patch * begin printf investigations why plugin crashes when hovering the tachometers and tooltip should be shown

Fabian noreply at xfce.org
Mon May 2 18:36:01 CEST 2011


Updating branch refs/heads/master
         to 5c19d716bc7f94f5341b31cb49cef5e33971837a (commit)
       from 3b37f22861c5cefafeff9d26fe41acbb2d7e1240 (commit)

commit 5c19d716bc7f94f5341b31cb49cef5e33971837a
Author: Fabian <timystery at arcor.de>
Date:   Mon May 2 17:38:13 2011 +0200

    * apply -Wl patch
    * begin printf investigations why plugin crashes when hovering the tachometers and tooltip should be shown

 TODO                          |    3 +++
 configure.in.in               |    2 +-
 panel-plugin/sensors-plugin.c |    1 +
 src/Makefile.am               |    2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/TODO b/TODO
index 2b12429..71f0cae 100644
--- a/TODO
+++ b/TODO
@@ -11,9 +11,12 @@ TODO
 
 - decrease size of entries in min/max value fields... would have to change renderer for double values...
 
+- find reason why plugin crashes on exit
 
 Known bugs or user requests
 ---------------------------
+- enumerate sensors from libsensors in an arbitrary fashion so that the order in which libsensors delivers them does no longer matter
+
 - common settings for both application and plugin wrt. sensor names etc.
 
 Plans
diff --git a/configure.in.in b/configure.in.in
index 9397020..c91f784 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -7,7 +7,7 @@ dnl 2003,2004 Benedikt Meurer <benny at xfce.org>
 dnl 2007 Benedikt Meurer <benny at xfce.org>, Fabian Nowak <timystery at arcor.de>
 dnl
 
-m4_define([libxfce4sensors_verinfo], [1:0:0])
+m4_define([libxfce4sensors_verinfo], [1:0:1])
 
 m4_define([sensors_version_major], [4])
 m4_define([sensors_version_minor], [6])
diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c
index 91dcd78..1af3173 100644
--- a/panel-plugin/sensors-plugin.c
+++ b/panel-plugin/sensors-plugin.c
@@ -859,6 +859,7 @@ sensors_create_tooltip (gpointer data)
     /* #if GTK_VERSION < 2.11 */
     gtk_tooltips_set_tip (tooltips, GTK_WIDGET(sensors->eventbox),
                           myToolTipText, NULL);
+		DBG("tooltip text: %s.\n", myToolTipText);
     TRACE ("freeing myToolTipText");
     g_free (myToolTipText);
 
diff --git a/src/Makefile.am b/src/Makefile.am
index f750d40..1ed0c44 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -36,7 +36,7 @@ xfce4_sensors_CFLAGS = \
 # @LIBXFCEGUI4_CFLAGS@ 
 
 xfce4_sensors_LDFLAGS = \
-	--no-undefined		\
+	-Wl,--no-undefined		\
 	@PLATFORM_LDFLAGS@
 
 xfce4_sensors_LDADD = \



More information about the Xfce4-commits mailing list