changeset 1940:e929aec8c8ea trunk

[svn] - improve doublesize
author nenolod
date Sun, 05 Nov 2006 12:17:53 -0800
parents e090f66574f6
children 1aa610fda47b
files ChangeLog audacious/equalizer.c audacious/mainwin.c
diffstat 3 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 05 06:25:22 2006 -0800
+++ b/ChangeLog	Sun Nov 05 12:17:53 2006 -0800
@@ -1,3 +1,10 @@
+2006-11-05 14:25:22 +0000  Tony Vroon <chainsaw@gentoo.org>
+  revision [2835]
+  Compile errors are bad, hmmkay?
+  trunk/libaudacious/Makefile |    4 +---
+  1 file changed, 1 insertion(+), 3 deletions(-)
+
+
 2006-11-05 12:43:16 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2833]
   - DoubleSize support.
--- a/audacious/equalizer.c	Sun Nov 05 06:25:22 2006 -0800
+++ b/audacious/equalizer.c	Sun Nov 05 12:17:53 2006 -0800
@@ -204,12 +204,12 @@
     equalizerwin_set_shape_mask();
 
     if (ds) {
-        dock_window_resize(equalizerwin, 275, height, 550, height * 2);
+        dock_window_resize(GTK_WINDOW(equalizerwin), 550, height * 2, 550, height * 2);
         gdk_window_set_back_pixmap(equalizerwin->window, equalizerwin_bg_x2,
                                    0);
     }
     else {
-        dock_window_resize(equalizerwin, 275, height, 275, height);
+        dock_window_resize(GTK_WINDOW(equalizerwin), 275, height, 275, height);
         gdk_window_set_back_pixmap(equalizerwin->window, equalizerwin_bg, 0);
     }
 
--- a/audacious/mainwin.c	Sun Nov 05 06:25:22 2006 -0800
+++ b/audacious/mainwin.c	Sun Nov 05 12:17:53 2006 -0800
@@ -1044,8 +1044,8 @@
 		return;
 	}
 
-        dock_window_resize(GTK_WINDOW(mainwin), cfg.player_shaded ? MAINWIN_SHADED_WIDTH : bmp_active_skin->properties.mainwin_width,
-		cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : bmp_active_skin->properties.mainwin_height,
+        dock_window_resize(GTK_WINDOW(mainwin), cfg.player_shaded ? MAINWIN_SHADED_WIDTH : bmp_active_skin->properties.mainwin_width * (cfg.doublesize + 1),
+		cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : bmp_active_skin->properties.mainwin_height * (cfg.doublesize + 1),
 		bmp_active_skin->properties.mainwin_width * (cfg.doublesize + 1),
 		bmp_active_skin->properties.mainwin_height * (cfg.doublesize + 1));