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



commit 6fd8b57ffbb00163399a56094e4f13345cd78fff
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 file changed, 1 insertion(+), 1 deletion(-)
---
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]