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



commit 590ebe6b39a58522d2e858640a83c307aecab025
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Mar 6 08:43:18 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]