Mercurial > audlegacy
comparison audacious/widgets/skin.c @ 1780:be1de1dd7262 trunk
[svn] - implement [skin.hints:mainwinVisWidth] property.
author | nenolod |
---|---|
date | Wed, 04 Oct 2006 03:39:41 -0700 |
parents | 87d4da9b31ea |
children | 06882533bf8f |
comparison
equal
deleted
inserted
replaced
1779:87d4da9b31ea | 1780:be1de1dd7262 |
---|---|
565 { | 565 { |
566 skin->properties.mainwin_vis_y = atoi(tmp); | 566 skin->properties.mainwin_vis_y = atoi(tmp); |
567 g_free(tmp); | 567 g_free(tmp); |
568 } | 568 } |
569 | 569 |
570 tmp = read_ini_string(filename, "skin", "mainwinVisWidth"); | |
571 | |
572 if (tmp != NULL) | |
573 { | |
574 skin->properties.mainwin_vis_width = atoi(tmp); | |
575 g_free(tmp); | |
576 } | |
577 | |
570 tmp = read_ini_string(filename, "skin", "mainwinTextX"); | 578 tmp = read_ini_string(filename, "skin", "mainwinTextX"); |
571 | 579 |
572 if (tmp != NULL) | 580 if (tmp != NULL) |
573 { | 581 { |
574 skin->properties.mainwin_text_x = atoi(tmp); | 582 skin->properties.mainwin_text_x = atoi(tmp); |