changeset 2490:49e27e4d8426 trunk

[svn] - trying to open filebrowser when it is already open will raise the filebrowser.
author yaz
date Fri, 09 Feb 2007 03:04:35 -0800
parents e56a55d07935
children 2aeea41ef023
files ChangeLog src/audacious/build_stamp.c src/audacious/ui_fileopener.c
diffstat 3 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Feb 08 08:42:01 2007 -0800
+++ b/ChangeLog	Fri Feb 09 03:04:35 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-08 16:42:01 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [3988]
+  - revise r3986 to only override tuple->track_name on lengthless streams
+  
+  trunk/src/audacious/playlist.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-02-08 15:00:02 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [3986]
   make input->set_info overwrite tuple->track_name. it allows input
--- a/src/audacious/build_stamp.c	Thu Feb 08 08:42:01 2007 -0800
+++ b/src/audacious/build_stamp.c	Fri Feb 09 03:04:35 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070208-3986";
+const gchar *svn_stamp = "20070208-3988";
--- a/src/audacious/ui_fileopener.c	Thu Feb 08 08:42:01 2007 -0800
+++ b/src/audacious/ui_fileopener.c	Fri Feb 09 03:04:35 2007 -0800
@@ -125,8 +125,10 @@
     GtkWidget *action_button, *close_button;
     GtkWidget *toggle;
 
-    if(window) /* avoid multiple open of filebrowser */
+    if(window) {
+        gtk_window_present(GTK_WINDOW(window)); /* raise filebrowser */
         return;
+    }
     
     gchar *window_title = play_button ? _("Open Files") : _("Add Files");
     gchar *toggle_text = play_button ?