Gnome Pilot libgpilotdCM patch



Keeps various things from randomly turning themselves off when something
else is disabled.

-JP
-- 
--
=======================================================================
JP Rosevear				jpr ximian com
Ximian Inc.				http://www.ximian.com
? g-p-save-settings.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-pilot/ChangeLog,v
retrieving revision 1.189
diff -u -r1.189 ChangeLog
--- ChangeLog	2001/10/23 11:36:41	1.189
+++ ChangeLog	2001/10/27 20:26:04
@@ -1,3 +1,7 @@
+2001-10-27  JP Rosevear  <jpr ximian com>
+
+	* gnome-pilot-conduit-config.gob: start the iteration at 0 not 1
+
 2001-10-23  Jakub Steiner <jimmac ximian com>
 
 	* capplet/gnome-palm-conduit.png:
Index: libgpilotdCM/gnome-pilot-conduit-config.gob
===================================================================
RCS file: /cvs/gnome/gnome-pilot/libgpilotdCM/gnome-pilot-conduit-config.gob,v
retrieving revision 1.7
diff -u -r1.7 gnome-pilot-conduit-config.gob
--- libgpilotdCM/gnome-pilot-conduit-config.gob	2001/01/14 02:31:12	1.7
+++ libgpilotdCM/gnome-pilot-conduit-config.gob	2001/10/27 20:26:04
@@ -317,7 +317,7 @@
 		/* copy the list, excluding the one to delete, num_conduits is > 0 since is_enables succeeded */
 		conduit_name_copy = g_new0(char*,num_conduits);
 		num_conduits_copy = 0;
-		for(cnt=1;cnt<num_conduits;cnt++) {
+		for(cnt=0;cnt<num_conduits;cnt++) {
 			if(g_strcasecmp(conduit_name[cnt],gnome_pilot_conduit_management_get_id(self->_priv->gpcm))) {
 				/* g_message("keeping %d:%s",cnt,conduit_name[cnt]); */
 				conduit_name_copy[num_conduits_copy]=g_strdup(conduit_name[cnt]);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]