From f0a3410ddaca8d0271cc98ad4ff5fc0a1fc3699c Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 3 Dec 2006 20:11:13 +0000
Subject: [PATCH] sugg by oscar: save->save as defaults

---
 Fltk/GUI.cpp | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp
index 6309c54813..778c8316f0 100644
--- a/Fltk/GUI.cpp
+++ b/Fltk/GUI.cpp
@@ -1,4 +1,4 @@
-// $Id: GUI.cpp,v 1.581 2006-12-03 18:41:08 geuzaine Exp $
+// $Id: GUI.cpp,v 1.582 2006-12-03 20:11:13 geuzaine Exp $
 //
 // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 //
@@ -1675,11 +1675,11 @@ void GUI::create_option_window()
   // Buttons
 
   {
-    opt_redraw = new Fl_Return_Button(width - 3 * BB - 3 * WB, height - BH - WB, BB, BH, "Redraw");
+    opt_redraw = new Fl_Return_Button(width - 3.5 * BB - 3 * WB, height - BH - WB, BB, BH, "Redraw");
     opt_redraw->callback(redraw_cb);
   }
   {
-    Fl_Button *o = new Fl_Button(width - 2 * BB - 2 * WB, height - BH - WB, BB, BH, "Save");
+    Fl_Button *o = new Fl_Button(width - 2.5 * BB - 2 * WB, height - BH - WB, 1.5*BB, BH, "Save as defaults");
     o->callback(options_save_cb);
   }
   {
@@ -4298,23 +4298,19 @@ void GUI::create_about_window()
     o->add(" ");
     o->add("@c@.Visit http://www.geuz.org/gmsh/ for more information");
     o->add(" ");
+    o->callback(cancel_cb, (void *)about_window);
   }
 
   {
-    Fl_Button *o = new Fl_Button(width - 3*BB - 3*WB, height - BH - WB, BB, BH, "License");
+    Fl_Button *o = new Fl_Button(width - 2*BB - 2*WB, height - BH - WB, BB, BH, "License");
     o->callback(help_license_cb);
   }
 
   {
-    Fl_Button *o = new Fl_Button(width - 2*BB - 2*WB, height - BH - WB, BB, BH, "Credits");
+    Fl_Button *o = new Fl_Button(width - 1*BB - 1*WB, height - BH - WB, BB, BH, "Credits");
     o->callback(help_credits_cb);
   }
 
-  {
-    Fl_Return_Button *o = new Fl_Return_Button(width - BB - WB, height - BH - WB, BB, BH, "OK");
-    o->callback(cancel_cb, (void *)about_window);
-  }
-
   about_window->position(Fl::x() + Fl::w()/2 - width / 2,
 			 Fl::y() + Fl::h()/2 - height / 2);
   about_window->end();
-- 
GitLab