[easytag/wip/preferences-frames: 9/9] Remove extra frame in confirmation preferences tab



commit a29b74e4f2a48aa8d6de33cceeb8881ca65f32d4
Author: David King <amigadave amigadave com>
Date:   Mon Apr 29 21:01:08 2013 +0100

    Remove extra frame in confirmation preferences tab

 src/prefs.c |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/src/prefs.c b/src/prefs.c
index 08dadaa..ff6cc44 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -1348,13 +1348,9 @@ void Open_OptionsWindow (void)
      * Confirmation
      */
     Label = gtk_label_new (_("Confirmation"));
-    Frame = gtk_frame_new (_("Confirmation"));
-    gtk_notebook_append_page (GTK_NOTEBOOK(OptionsNoteBook),Frame,Label);
-    gtk_container_set_border_width(GTK_CONTAINER(Frame), 5);
-
-    VBox = gtk_box_new(GTK_ORIENTATION_VERTICAL,2);
-    gtk_container_add(GTK_CONTAINER(Frame),VBox);
-    gtk_container_set_border_width(GTK_CONTAINER(VBox), 2);
+    VBox = gtk_box_new (GTK_ORIENTATION_VERTICAL, BOX_SPACING);
+    gtk_notebook_append_page (GTK_NOTEBOOK(OptionsNoteBook), VBox, Label);
+    gtk_container_set_border_width (GTK_CONTAINER (VBox), BOX_SPACING);
 
     ConfirmBeforeExit = gtk_check_button_new_with_label(_("Confirm exit from program"));
     gtk_box_pack_start(GTK_BOX(VBox),ConfirmBeforeExit,FALSE,FALSE,0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]