[evolution/wip/webkit2] EHTMLEditorTextDialog - Font sinze in combo box is off by one



commit c7497e55c808c4c8ab2285a351065e1aee35cb9e
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Mar 27 13:57:53 2015 +0100

    EHTMLEditorTextDialog - Font sinze in combo box is off by one

 e-util/e-html-editor-text-dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-text-dialog.c b/e-util/e-html-editor-text-dialog.c
index 9a8e361..9edb8e5 100644
--- a/e-util/e-html-editor-text-dialog.c
+++ b/e-util/e-html-editor-text-dialog.c
@@ -177,7 +177,7 @@ html_editor_text_dialog_show (GtkWidget *widget)
 
        gtk_combo_box_set_active (
                GTK_COMBO_BOX (dialog->priv->size_check),
-               e_html_editor_selection_get_font_size (selection));
+               e_html_editor_selection_get_font_size (selection) - 1);
 
        e_html_editor_selection_get_font_color (selection, &rgba);
        e_color_combo_set_current_color (


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