changeset 36541:4b9db66972c7

Add an auxiliary vertical container box. Rather than adding the subtitle encodings combo box directly, put it into the new box and add the box instead. This is a preparation for changes to the subtitle encodings settings to come.
author ib
date Sun, 19 Jan 2014 14:30:10 +0000
parents 3908962d8e48
children 1163104c8adb
files gui/dialog/preferences.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/preferences.c	Sun Jan 19 14:15:53 2014 +0000
+++ b/gui/dialog/preferences.c	Sun Jan 19 14:30:10 2014 +0000
@@ -563,6 +563,7 @@
   GtkWidget * vbox8;
   GtkWidget * table1;
   GtkWidget * vbox9;
+  GtkWidget * vbox10;
   GtkWidget * vbox603;
   GtkWidget * hbox6;
   GtkWidget * hbuttonbox5;
@@ -774,10 +775,13 @@
     gtk_spin_button_set_numeric( GTK_SPIN_BUTTON( HSSubFPS ),TRUE );
     gtk_table_attach( GTK_TABLE( table1 ),HSSubFPS,1,2,2,3,(GtkAttachOptions)( GTK_EXPAND | GTK_FILL ),(GtkAttachOptions)( 0 ),0,0 );
 
+  vbox10=gtkAddVBox( NULL,0 );
+  gtk_table_attach( GTK_TABLE( table1 ),vbox10,1,2,3,4,(GtkAttachOptions)( GTK_FILL ),(GtkAttachOptions)( 0 ),0,0 );
+
 #ifdef CONFIG_ICONV
   CBSubEncoding=gtk_combo_new();
   gtk_widget_show( CBSubEncoding );
-  gtk_table_attach( GTK_TABLE( table1 ),CBSubEncoding,1,2,3,4,(GtkAttachOptions)( GTK_FILL ),(GtkAttachOptions)( 0 ),0,0 );
+  gtk_box_pack_start( GTK_BOX( vbox10 ),CBSubEncoding,TRUE,FALSE,0 );
   CBSubEncoding_items=g_list_append( CBSubEncoding_items,MSGTR_PREFERENCES_None );
   {
    int i;