Mercurial > audlegacy
diff src/audacious/ui_fileopener.c @ 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 | 48c352f89a4e |
children | 04642d2d0941 |
line wrap: on
line diff
--- 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 ?