summaryrefslogtreecommitdiffstats
path: root/src/widgets/toolbox.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2007-10-05 03:35:03 +0000
committermental <mental@users.sourceforge.net>2007-10-05 03:35:03 +0000
commit5ccf66e937845e48c3637cb2ad7d9a24289e3db4 (patch)
tree0e95fdb77bcdeda98d5968b714a09fa3026f21e1 /src/widgets/toolbox.cpp
parenttune-up for lcms disabled (diff)
downloadinkscape-5ccf66e937845e48c3637cb2ad7d9a24289e3db4.tar.gz
inkscape-5ccf66e937845e48c3637cb2ad7d9a24289e3db4.zip
keep family list open when font is selected
(bzr r3835)
Diffstat (limited to 'src/widgets/toolbox.cpp')
-rw-r--r--src/widgets/toolbox.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 0cccd7087..803041c6e 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -3874,9 +3874,6 @@ sp_text_toolbox_family_changed (GtkTreeSelection *selection,
return;
}
- gtk_widget_hide (popdown);
- visible = false;
-
gtk_entry_set_text (GTK_ENTRY (entry), family);
SPStyle *query =
@@ -4131,6 +4128,8 @@ sp_text_toolbox_family_list_keypress (GtkWidget *w, GdkEventKey *event, GObject
if (!desktop) return FALSE;
switch (get_group0_keyval (event)) {
+ case GDK_KP_Enter:
+ case GDK_Return:
case GDK_Escape: // defocus
gtk_widget_hide (w);
visible = false;