[evolution/wip/webkit2] EHTMLEditorTableDialog - Set maximum width range to G_MAXUINT



commit f7387b315a2443ace8ac38f880920593f2b5fdf2
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Jul 22 13:06:55 2016 +0200

    EHTMLEditorTableDialog - Set maximum width range to G_MAXUINT

 e-util/e-html-editor-table-dialog.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/e-util/e-html-editor-table-dialog.c b/e-util/e-html-editor-table-dialog.c
index b437507..370b72f 100644
--- a/e-util/e-html-editor-table-dialog.c
+++ b/e-util/e-html-editor-table-dialog.c
@@ -158,10 +158,8 @@ html_editor_table_dialog_width_units_changed (GtkWidget *widget,
                                               EHTMLEditorTableDialog *dialog)
 {
        if (gtk_combo_box_get_active (GTK_COMBO_BOX (dialog->priv->width_units)) == 0) {
-               /* FIXME WK2 - is it even possible to remove the max limitation
-                * from the GtkSpinButton? If not 10000 will be hopefully enough, */
                gtk_spin_button_set_range (
-                       GTK_SPIN_BUTTON (dialog->priv->width_edit), 0, 10000);
+                       GTK_SPIN_BUTTON (dialog->priv->width_edit), 0, G_MAXUINT);
        } else
                gtk_spin_button_set_range (
                        GTK_SPIN_BUTTON (dialog->priv->width_edit), 0, 100);


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