summaryrefslogtreecommitdiffstats
path: root/bin/gui
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gui')
-rw-r--r--bin/gui/control.c2
-rw-r--r--bin/gui/control.glade5
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/gui/control.c b/bin/gui/control.c
index 75752cc..b210e16 100644
--- a/bin/gui/control.c
+++ b/bin/gui/control.c
@@ -719,6 +719,8 @@ create_main_window (GtkBuilder *builder, const gchar* camera_name)
gtk_adjustment_set_value (max_bin_adjustment, pow (2, bits_per_sample) - 1);
+ gtk_adjustment_set_upper (td.count, (gdouble) G_MAXULONG);
+
g_message ("Allocated memory for %d frames", n_frames);
td.pixel_size = pixel_size;
diff --git a/bin/gui/control.glade b/bin/gui/control.glade
index a6b50d7..d4b663e 100644
--- a/bin/gui/control.glade
+++ b/bin/gui/control.glade
@@ -296,7 +296,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">•</property>
- <property name="width_chars">5</property>
+ <property name="width_chars">6</property>
<property name="adjustment">acquisitions-adjustment</property>
</object>
<packing>
@@ -351,7 +351,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">•</property>
- <property name="width_chars">5</property>
+ <property name="width_chars">6</property>
</object>
<packing>
<property name="expand">False</property>
@@ -978,7 +978,6 @@
<property name="page_increment">10</property>
</object>
<object class="GtkAdjustment" id="acquisitions-adjustment">
- <property name="upper">100</property>
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>