summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd8afce)
raw | patch | inline | side by side (parent: fd8afce)
author | mental <mental@users.sourceforge.net> | |
Fri, 5 Oct 2007 03:35:03 +0000 (03:35 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Fri, 5 Oct 2007 03:35:03 +0000 (03:35 +0000) |
src/widgets/toolbox.cpp | patch | blob | history |
index 0cccd7087dfb59d077dab1dfed62e84903ce7b53..803041c6e887f09c7574bf87d77b3c0a9b96c48b 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
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;