[evolution/gnome-3-22] Bug 779688 - Category Properties dialogue doesn't active default widget



commit 8ce122322c7332db8d27e16d4718e8ef8a3ca50c
Author: Milan Crha <mcrha redhat com>
Date:   Wed Mar 8 08:49:59 2017 +0100

    Bug 779688 - Category Properties dialogue doesn't active default widget

 e-util/e-category-editor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-category-editor.c b/e-util/e-category-editor.c
index 708ba5c..d4ee35d 100644
--- a/e-util/e-category-editor.c
+++ b/e-util/e-category-editor.c
@@ -176,6 +176,7 @@ e_category_editor_init (ECategoryEditor *editor)
        gtk_grid_attach (grid_category_properties, label_name, 0, 0, 1, 1);
 
        category_name = gtk_entry_new ();
+       gtk_entry_set_activates_default (GTK_ENTRY (category_name), TRUE);
        gtk_widget_set_hexpand (category_name, TRUE);
        gtk_widget_set_halign (category_name, GTK_ALIGN_FILL);
        gtk_label_set_mnemonic_widget (GTK_LABEL (label_name), category_name);


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