commit d02573e74f81b2748f5e10906640efc62f7ee700
Author: phantomjinx <[email protected]>
Date: Sat Sep 3 22:47:04 2011 +0100
Mistake in track plugin default preferences
* Wrong logic on the conditions for setting the default values of the sort
preferences.
plugins/track_display/plugin.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/track_display/plugin.c b/plugins/track_display/plugin.c
index 3d168df..8d24f87 100644
--- a/plugins/track_display/plugin.c
+++ b/plugins/track_display/plugin.c
@@ -85,13 +85,13 @@ static void set_default_preferences() {
prefs_set_string("sm_sort_", NULL);
}
- if (prefs_get_int_value("tm_autostore", NULL))
+ if (!prefs_get_int_value("tm_autostore", NULL))
prefs_set_int("tm_autostore", FALSE);
- if (prefs_get_int_value("tm_sortcol", NULL))
+ if (!prefs_get_int_value("tm_sortcol", NULL))
prefs_set_int("tm_sortcol", TM_COLUMN_TITLE);
- if (prefs_get_int_value("tm_sort", NULL))
+ if (!prefs_get_int_value("tm_sort", NULL))
prefs_set_int("tm_sort", SORT_NONE);
}
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2