changeset 1907:d7301ba54f70 trunk

[svn] - remove useless fileop buttons from the GTK1-like dialog.
author nenolod
date Fri, 27 Oct 2006 02:07:49 -0700
parents 7244510ae8af
children 179426cfdc0d
files ChangeLog audacious/util.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Oct 27 02:03:17 2006 -0700
+++ b/ChangeLog	Fri Oct 27 02:07:49 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-27 09:03:17 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2769]
+  - i doubt we will have a 1.2.2 version of the player anytime soon, but bump the version anyway ;)
+  
+  trunk/configure.ac |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-10-27 09:01:55 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2767]
   - change "Transparency" to "Miscillaneous UI Features" in prefswin
--- a/audacious/util.c	Fri Oct 27 02:03:17 2006 -0700
+++ b/audacious/util.c	Fri Oct 27 02:07:49 2006 -0700
@@ -1232,7 +1232,9 @@
 	gtk_file_selection_set_filename(GTK_FILE_SELECTION(dialog),
 					cfg.filesel_path);
 
-    // if we destroy the OK button we'll never receive a GTK_RESPONSE_OK e.g. trough dbl click on a file
+    gtk_file_selection_hide_fileop_buttons(GTK_FILE_SELECTION(dialog));
+    gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
+
     gtk_widget_hide(GTK_FILE_SELECTION(dialog)->ok_button);
     gtk_widget_destroy(GTK_FILE_SELECTION(dialog)->cancel_button);