diff audacious/widgets/skin.c @ 1779:87d4da9b31ea trunk

[svn] - implement [skin.hints:mainwinPlayStatus(X,Y)] properties.
author nenolod
date Wed, 04 Oct 2006 03:05:39 -0700
parents 1d3d05c541d3
children be1de1dd7262
line wrap: on
line diff
--- a/audacious/widgets/skin.c	Wed Oct 04 02:31:31 2006 -0700
+++ b/audacious/widgets/skin.c	Wed Oct 04 03:05:39 2006 -0700
@@ -687,6 +687,22 @@
         g_free(tmp);
     }
 
+    tmp = read_ini_string(filename, "skin", "mainwinPlayStatusX");
+
+    if (tmp != NULL)
+    {
+        skin->properties.mainwin_playstatus_x = atoi(tmp);
+        g_free(tmp);
+    }
+
+    tmp = read_ini_string(filename, "skin", "mainwinPlayStatusY");
+
+    if (tmp != NULL)
+    {
+        skin->properties.mainwin_playstatus_y = atoi(tmp);
+        g_free(tmp);
+    }
+
     g_free(filename);
 }