changeset 2495:6fb56e6bc6ec trunk

[svn] - remove debugging notices - remove some more common dock code that is part of SkinnedWindow now.
author nenolod
date Sat, 10 Feb 2007 17:04:31 -0800
parents 59661bd074b4
children 71bee08db1c6
files ChangeLog src/audacious/build_stamp.c src/audacious/ui_equalizer.c src/audacious/ui_main.c src/audacious/ui_playlist.c
diffstat 5 files changed, 17 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Feb 10 17:01:44 2007 -0800
+++ b/ChangeLog	Sat Feb 10 17:04:31 2007 -0800
@@ -1,3 +1,19 @@
+2007-02-11 01:01:44 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [3998]
+  Try to put some skinned window code in a common place.
+  
+  trunk/src/audacious/Makefile            |    4 
+  trunk/src/audacious/ui_equalizer.c      |   24 +---
+  trunk/src/audacious/ui_main.c           |   28 +----
+  trunk/src/audacious/ui_playlist.c       |    6 -
+  trunk/src/audacious/ui_skinned_cursor.c |   54 +++++++++++
+  trunk/src/audacious/ui_skinned_cursor.h |   25 +++++
+  trunk/src/audacious/ui_skinned_window.c |  157 ++++++++++++++++++++++++++++++++
+  trunk/src/audacious/ui_skinned_window.h |   46 +++++++++
+  trunk/src/audacious/util.c              |   20 ----
+  9 files changed, 301 insertions(+), 63 deletions(-)
+
+
 2007-02-10 20:29:21 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [3996]
   - patch from Mark Glines to ad https:// URI support to playlists.
--- a/src/audacious/build_stamp.c	Sat Feb 10 17:01:44 2007 -0800
+++ b/src/audacious/build_stamp.c	Sat Feb 10 17:04:31 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070210-3996";
+const gchar *svn_stamp = "20070211-3998";
--- a/src/audacious/ui_equalizer.c	Sat Feb 10 17:01:44 2007 -0800
+++ b/src/audacious/ui_equalizer.c	Sat Feb 10 17:04:31 2007 -0800
@@ -760,10 +760,6 @@
     gtk_window_set_default_size(GTK_WINDOW(equalizerwin), width, height);
     gtk_window_set_resizable(GTK_WINDOW(equalizerwin), FALSE);
 
-    dock_window_list = dock_window_set_decorated(dock_window_list,
-                                                 GTK_WINDOW(equalizerwin),
-                                                 cfg.show_wm_decorations);
-
     /* this will hide only mainwin. it's annoying! yaz */
     gtk_window_set_transient_for(GTK_WINDOW(equalizerwin),
                                  GTK_WINDOW(mainwin));
--- a/src/audacious/ui_main.c	Sat Feb 10 17:01:44 2007 -0800
+++ b/src/audacious/ui_main.c	Sat Feb 10 17:04:31 2007 -0800
@@ -3416,10 +3416,6 @@
 
     gtk_widget_set_size_request(mainwin, width, height);
 
-    dock_window_list = dock_window_set_decorated(dock_window_list,
-                                                 GTK_WINDOW(mainwin),
-                                                 cfg.show_wm_decorations);
-
     if (cfg.player_x != -1 && cfg.save_window_position)
         gtk_window_move(GTK_WINDOW(mainwin), cfg.player_x, cfg.player_y);
 
--- a/src/audacious/ui_playlist.c	Sat Feb 10 17:01:44 2007 -0800
+++ b/src/audacious/ui_playlist.c	Sat Feb 10 17:04:31 2007 -0800
@@ -1057,8 +1057,6 @@
           event->x >= playlistwin_get_width() - 31 &&
           event->x < playlistwin_get_width() - 22))) {
 
-        g_print("foo\n");
-
         if (event->type != GDK_2BUTTON_PRESS && 
             event->type != GDK_3BUTTON_PRESS) {
             playlistwin_resizing = TRUE;
@@ -1679,9 +1677,6 @@
                                 playlistwin_get_height());
     gtk_window_set_resizable(GTK_WINDOW(playlistwin), TRUE);
     playlistwin_set_geometry_hints(cfg.playlist_shaded);
-    dock_window_list = dock_window_set_decorated(dock_window_list,
-                                                 GTK_WINDOW(playlistwin),
-                                                 cfg.show_wm_decorations);
 
     gtk_window_set_transient_for(GTK_WINDOW(playlistwin),
                                  GTK_WINDOW(mainwin));