diff audacious/widgets/skin.c @ 1788:80b6282a31ae trunk

[svn] - implement mainwinOthertextIsStatus property.
author nenolod
date Wed, 04 Oct 2006 18:48:49 -0700
parents 4051f893f571
children b8f082ddd9f1
line wrap: on
line diff
--- a/audacious/widgets/skin.c	Wed Oct 04 18:21:40 2006 -0700
+++ b/audacious/widgets/skin.c	Wed Oct 04 18:48:49 2006 -0700
@@ -765,8 +765,7 @@
         g_free(tmp);
     }
 
-
-    tmp = read_ini_string(filename, "skin", "mainwinPositionX");
+    tmp = read_ini_string(filename, "skin", "mainwinPositionY");
 
     if (tmp != NULL)
     {
@@ -774,6 +773,14 @@
         g_free(tmp);
     }
 
+    tmp = read_ini_string(filename, "skin", "mainwinOthertextIsStatus");
+
+    if (tmp != NULL)
+    {
+        skin->properties.mainwin_othertext_is_status = atoi(tmp);
+        g_free(tmp);
+    }
+
     g_free(filename);
 }