summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-07-26 09:30:46 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-07-26 09:30:46 +0200
commitc32a444926402c33c1cd04dc688fa744c8d187db (patch)
tree6109b15ea1c3f4c62552b457332a734da437faf4
parentdcf221639845ddcabc76eb0a4da1cd347a646c1b (diff)
downloaduca-c32a444926402c33c1cd04dc688fa744c8d187db.tar.gz
uca-c32a444926402c33c1cd04dc688fa744c8d187db.tar.bz2
uca-c32a444926402c33c1cd04dc688fa744c8d187db.tar.xz
uca-c32a444926402c33c1cd04dc688fa744c8d187db.zip
Do not restrict number of acuqisitions
-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>