diff audacious/widgets/skin.c @ 1777:17e38b5c8e2f trunk

[svn] - support for the [skin.hints:mainwinTextWidth] property.
author nenolod
date Wed, 04 Oct 2006 02:22:04 -0700
parents 7913bae43086
children 1d3d05c541d3
line wrap: on
line diff
--- a/audacious/widgets/skin.c	Wed Oct 04 02:21:05 2006 -0700
+++ b/audacious/widgets/skin.c	Wed Oct 04 02:22:04 2006 -0700
@@ -583,6 +583,14 @@
         g_free(tmp);
     }
 
+    tmp = read_ini_string(filename, "skin", "mainwinTextWidth");
+
+    if (tmp != NULL)
+    {
+        skin->properties.mainwin_text_width = atoi(tmp);
+        g_free(tmp);
+    }
+
     tmp = read_ini_string(filename, "skin", "mainwinInfoBarX");
 
     if (tmp != NULL)