(double)end_time.tv_nsec);
/* width seconds */
- gtk_spin_button_set_range(GTK_SPIN_BUTTON(tab->MEntry7),
- (double)0,
- (double)upper.tv_sec);
+ if(time_width.tv_nsec == 0) {
+ gtk_spin_button_set_range(GTK_SPIN_BUTTON(tab->MEntry7),
+ (double)1,
+ (double)upper.tv_sec);
+ } else {
+ gtk_spin_button_set_range(GTK_SPIN_BUTTON(tab->MEntry7),
+ (double)0,
+ (double)upper.tv_sec);
+ }
gtk_spin_button_set_value(GTK_SPIN_BUTTON(tab->MEntry7),
(double)time_width.tv_sec);
gtk_box_pack_start (GTK_BOX (tab->MTimebar), tab->MText4, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (tab->MTimebar), tab->MEntry4, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (tab->MTimebar), tab->MText5a, FALSE, FALSE, 0);
+ temp_widget = gtk_vseparator_new();
+ gtk_widget_show(temp_widget);
+ gtk_box_pack_start (GTK_BOX (tab->MTimebar), temp_widget, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (tab->MTimebar), tab->MEventBox8, FALSE,
FALSE, 0);
gtk_box_pack_start (GTK_BOX (tab->MTimebar), tab->MEntry7, FALSE, FALSE, 0);