changeset 4779:5c844c0d1d7f

add fselector changes (pwilkins@lashwhip.com)
author pontscho
date Thu, 21 Feb 2002 10:35:37 +0000
parents 85d041ad0c87
children 01dcf6584729
files Gui/mplayer/gtk/fs.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/fs.c	Thu Feb 21 02:01:46 2002 +0000
+++ b/Gui/mplayer/gtk/fs.c	Thu Feb 21 10:35:37 2002 +0000
@@ -428,15 +428,15 @@
  GdkBitmap     * upmask;
  GtkStyle      * upstyle;
 
- fsFileSelect=gtk_window_new( GTK_WINDOW_DIALOG );
+ fsFileSelect=gtk_window_new( GTK_WINDOW_TOPLEVEL );
  gtk_widget_set_name( fsFileSelect,"fsFileSelect" );
  gtk_object_set_data( GTK_OBJECT( fsFileSelect ),"fsFileSelect",fsFileSelect );
- gtk_widget_set_usize( fsFileSelect,416,256 );
+ gtk_widget_set_usize( fsFileSelect,512,300 );
  GTK_WIDGET_SET_FLAGS( fsFileSelect,GTK_CAN_DEFAULT );
  gtk_widget_set_events( fsFileSelect,GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK | GDK_PROPERTY_CHANGE_MASK | GDK_VISIBILITY_NOTIFY_MASK );
  gtk_window_set_title( GTK_WINDOW( fsFileSelect ),MSGTR_FileSelect );
  gtk_window_set_position( GTK_WINDOW( fsFileSelect ),GTK_WIN_POS_CENTER );
- gtk_window_set_policy( GTK_WINDOW( fsFileSelect ),FALSE,FALSE,TRUE );
+ gtk_window_set_policy( GTK_WINDOW( fsFileSelect ),TRUE,TRUE,TRUE );
  fsColorMap=gdk_colormap_get_system();
 
  style=gtk_widget_get_style( fsFileSelect );
@@ -495,7 +495,7 @@
  gtk_object_set_data_full( GTK_OBJECT( fsFileSelect ),"hbox4",hbox4,
                           ( GtkDestroyNotify ) gtk_widget_unref );
  gtk_widget_show( hbox4 );
- gtk_box_pack_start( GTK_BOX( vbox4 ),hbox4,TRUE,TRUE,0 );
+ gtk_box_pack_start( GTK_BOX( vbox4 ),hbox4,FALSE,FALSE,0 );
 
  fsCombo4=gtk_combo_new();
  gtk_widget_set_name( fsCombo4,"fsCombo4" );