[chronojump] Improvements on person select window



commit 009970a5ff49aec54afff94cbef7648079f5cbbd
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Jun 19 16:17:12 2015 +0200

    Improvements on person select window

 src/gui/chronojump.cs   |    6 ++----
 src/gui/personSelect.cs |    4 ++--
 2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 659f5d0..45edee7 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -6377,6 +6377,8 @@ LogB.Debug("X");
                button_person_add_single.Sensitive = true;
                button_person_add_multiple.Sensitive = true;
                
+               button_encoder_person_change.Sensitive = true;
+               
                menuSessionSensitive(true);
                vbox_stats.Sensitive = true;
                frame_share_data.Sensitive = true;
@@ -6393,8 +6395,6 @@ LogB.Debug("X");
                encoderButtonsSensitive(encoderSensEnum.NOPERSON);
                encoderPersonChanged();
                
-               button_encoder_person_change.Sensitive = false;
-
                notebook_execute.Sensitive = false;
                //hbox_chronopics.Sensitive = false;
                notebook_results.Sensitive = false;
@@ -6414,8 +6414,6 @@ LogB.Debug("X");
                encoderButtonsSensitive(encoderSensEnum.YESPERSON);
                encoderPersonChanged();
                
-               button_encoder_person_change.Sensitive = true;
-
                notebook_execute.Sensitive = true;
                //hbox_chronopics.Sensitive = true;
                notebook_results.Sensitive = true;
diff --git a/src/gui/personSelect.cs b/src/gui/personSelect.cs
index 69cdbfa..7829af1 100644
--- a/src/gui/personSelect.cs
+++ b/src/gui/personSelect.cs
@@ -109,8 +109,8 @@ public class PersonSelectWindow
                                b.Show();
                                
                                table1.Attach (b, (uint) col_i, (uint) col_i +1, (uint) row_i, (uint) row_i 
+1, 
-                                               Gtk.AttachOptions.Fill | Gtk.AttachOptions.Expand, 
-                                               Gtk.AttachOptions.Fill | Gtk.AttachOptions.Expand, 
+                                               Gtk.AttachOptions.Fill, 
+                                               Gtk.AttachOptions.Fill, 
                                                padding, padding);
                        }
                }


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