changeset 1839:58bb44ed4edc trunk

[svn] - only set window hints after the resize
author nenolod
date Thu, 05 Oct 2006 22:38:01 -0700
parents e765e7a40685
children b64edd53d3a9
files ChangeLog audacious/mainwin.c
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 05 22:21:35 2006 -0700
+++ b/ChangeLog	Thu Oct 05 22:38:01 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-06 05:21:35 +0000  George Averill <nhjm449@gmail.com>
+  revision [2633]
+  - Add a background behind the title scroller in the main window.
+  
+  trunk/skins/TinyPlayer/skin.hints |    4 ++--
+  1 file changed, 2 insertions(+), 2 deletions(-)
+
+
 2006-10-06 04:31:27 +0000  George Averill <nhjm449@gmail.com>
   revision [2631]
   - Make mainwin shading work correctly.
--- a/audacious/mainwin.c	Thu Oct 05 22:21:35 2006 -0700
+++ b/audacious/mainwin.c	Thu Oct 05 22:38:01 2006 -0700
@@ -954,12 +954,6 @@
     /* window size, mainwinWidth && mainwinHeight properties */
     if (bmp_active_skin->properties.mainwin_height && bmp_active_skin->properties.mainwin_width)
     {
-        gdk_window_set_hints(mainwin->window, 0, 0,
-				bmp_active_skin->properties.mainwin_width,
-				cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : bmp_active_skin->properties.mainwin_height,
-				bmp_active_skin->properties.mainwin_width,
-				cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : bmp_active_skin->properties.mainwin_height,
-                                GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE);
         gdk_window_resize(mainwin->window, bmp_active_skin->properties.mainwin_width,
 		cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : bmp_active_skin->properties.mainwin_height);
         gdk_window_set_hints(mainwin->window, 0, 0,