diff audacious/widgets/skin.c @ 1773:7913bae43086 trunk

[svn] - text and infobar
author nenolod
date Wed, 04 Oct 2006 01:38:46 -0700
parents cb216af25b55
children 17e38b5c8e2f
line wrap: on
line diff
--- a/audacious/widgets/skin.c	Wed Oct 04 01:35:28 2006 -0700
+++ b/audacious/widgets/skin.c	Wed Oct 04 01:38:46 2006 -0700
@@ -567,6 +567,38 @@
         g_free(tmp);
     }
 
+    tmp = read_ini_string(filename, "skin", "mainwinTextX");
+
+    if (tmp != NULL)
+    {
+        skin->properties.mainwin_text_x = atoi(tmp);
+        g_free(tmp);
+    }
+
+    tmp = read_ini_string(filename, "skin", "mainwinTextY");
+
+    if (tmp != NULL)
+    {
+        skin->properties.mainwin_text_y = atoi(tmp);
+        g_free(tmp);
+    }
+
+    tmp = read_ini_string(filename, "skin", "mainwinInfoBarX");
+
+    if (tmp != NULL)
+    {
+        skin->properties.mainwin_infobar_x = atoi(tmp);
+        g_free(tmp);
+    }
+
+    tmp = read_ini_string(filename, "skin", "mainwinInfoBarY");
+
+    if (tmp != NULL)
+    {
+        skin->properties.mainwin_infobar_y = atoi(tmp);
+        g_free(tmp);
+    }
+
     g_free(filename);
 }