[Pkg-xfce-commits] r230 - in goodies/xfce4-sensors-plugin/debian: . patches

Stefan Ott cockroach-guest at costa.debian.org
Sun Aug 21 23:54:40 UTC 2005


Author: cockroach-guest
Date: 2005-08-21 23:54:40 +0000 (Sun, 21 Aug 2005)
New Revision: 230

Added:
   goodies/xfce4-sensors-plugin/debian/patches/
   goodies/xfce4-sensors-plugin/debian/patches/00list
   goodies/xfce4-sensors-plugin/debian/patches/01_treeview.dpatch
Log:
Added treeview patch


Added: goodies/xfce4-sensors-plugin/debian/patches/00list
===================================================================
--- goodies/xfce4-sensors-plugin/debian/patches/00list	2005-08-21 23:53:51 UTC (rev 229)
+++ goodies/xfce4-sensors-plugin/debian/patches/00list	2005-08-21 23:54:40 UTC (rev 230)
@@ -0,0 +1 @@
+01_treeview

Added: goodies/xfce4-sensors-plugin/debian/patches/01_treeview.dpatch
===================================================================
--- goodies/xfce4-sensors-plugin/debian/patches/01_treeview.dpatch	2005-08-21 23:53:51 UTC (rev 229)
+++ goodies/xfce4-sensors-plugin/debian/patches/01_treeview.dpatch	2005-08-21 23:54:40 UTC (rev 230)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_treeview.dpatch by  <stefan at desire.ch>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix for the treeview crash when no sensors were available
+
+ at DPATCH@
+--- xfce4-sensors-plugin-0.6.1.orig/panel-plugin/sensors.c.old	
++++ xfce4-sensors-plugin-0.6.1/panel-plugin/sensors.c	
+@@ -1511,7 +1511,8 @@
+         gtk_combo_box_append_text ( GTK_COMBO_BOX(sd->myComboBox), 
+                                 sd->sensors->sensorId[0] );
+         sd->myListStore[0] = gtk_tree_store_new (6, G_TYPE_STRING, 
+-                            G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_STRING);
++                            G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_STRING, 
++                            G_TYPE_INT, G_TYPE_INT);
+         sd->sensors->sensorValues[0][0] = 
+                             g_strdup_printf("%+5.2f", 0.0);
+ 	sd->sensors->sensorRawValues[0][0] = 0.0;


Property changes on: goodies/xfce4-sensors-plugin/debian/patches/01_treeview.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-xfce-commits mailing list