[gthumb] filter-bar: fixed the spin button width for the file size control



commit 9f5345adfb8cc29e7ac7a98eb78855a1a11c67bf
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Apr 4 12:15:39 2013 +0200

    filter-bar: fixed the spin button width for the file size control

 gthumb/gth-filter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-filter.c b/gthumb/gth-filter.c
index e5891be..6443ec9 100644
--- a/gthumb/gth-filter.c
+++ b/gthumb/gth-filter.c
@@ -339,7 +339,7 @@ create_control_for_size (GthFilter *filter)
 
        /* limit entry */
 
-       filter->priv->limit_spinbutton = gtk_spin_button_new_with_range (0, G_MAXDOUBLE, 1.0);
+       filter->priv->limit_spinbutton = gtk_spin_button_new_with_range (0, G_MAXINT, 1.0);
        gtk_spin_button_set_digits (GTK_SPIN_BUTTON (filter->priv->limit_spinbutton), 1);
        gtk_widget_show (filter->priv->limit_spinbutton);
        gtk_label_set_mnemonic_widget (GTK_LABEL (limit_label), filter->priv->limit_spinbutton);


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