changeset 2596:9903326fddf2 trunk

[svn] - reset the position of the equalizer window properly.
author nenolod
date Thu, 01 Mar 2007 05:06:49 -0800
parents 50098faf1cdf
children 4ce36bfe9cf7
files ChangeLog src/audacious/build_stamp.c src/audacious/ui_equalizer.c
diffstat 3 files changed, 11 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Mar 01 05:02:59 2007 -0800
+++ b/ChangeLog	Thu Mar 01 05:06:49 2007 -0800
@@ -1,3 +1,12 @@
+2007-03-01 13:02:59 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4200]
+  - only discard GdkMotion events.
+  
+  trunk/src/audacious/ui_equalizer.c |   10 +++++++++-
+  trunk/src/audacious/ui_playlist.c  |   10 +++++++++-
+  2 files changed, 18 insertions(+), 2 deletions(-)
+
+
 2007-03-01 02:26:34 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [4198]
   - add myself to plugin development group.
--- a/src/audacious/build_stamp.c	Thu Mar 01 05:02:59 2007 -0800
+++ b/src/audacious/build_stamp.c	Thu Mar 01 05:06:49 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070301-4198";
+const gchar *svn_stamp = "20070301-4200";
--- a/src/audacious/ui_equalizer.c	Thu Mar 01 05:02:59 2007 -0800
+++ b/src/audacious/ui_equalizer.c	Thu Mar 01 05:06:49 2007 -0800
@@ -839,15 +839,7 @@
 void
 equalizerwin_real_show(void)
 {
-    /*
-     * This function should only be called from the
-     * main menu signal handler
-     */
-
-    gint x, y;
-
-    gtk_window_get_position(GTK_WINDOW(equalizerwin), &x, &y);
-    gtk_window_move(GTK_WINDOW(equalizerwin), x, y);
+    gtk_window_move(GTK_WINDOW(equalizerwin), cfg.equalizer_x, cfg.equalizer_y);
     if (cfg.doublesize && cfg.eq_doublesize_linked)
         gtk_widget_set_size_request(equalizerwin, 550,
                                     (cfg.equalizer_shaded ? 28 : 232));