Update of /cvsroot/ufraw/ufraw In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11595
Modified Files: uf_gtk.cc Log Message: Fix bug #389: Enter and return do nothing in lensparameter comboboxes. Index: uf_gtk.cc =================================================================== RCS file: /cvsroot/ufraw/ufraw/uf_gtk.cc,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- uf_gtk.cc 24 Jan 2015 10:00:16 -0000 1.34 +++ uf_gtk.cc 11 Feb 2015 06:00:07 -0000 1.35 @@ -534,6 +534,14 @@ return false; } + static bool _ufarray_entry_activate(GtkWidget *entry, UFObject *object) + { + UFArray &array = *object; + array.Set(gtk_entry_get_text(GTK_ENTRY(entry))); + _ufobject_reset_button_state(object); + return false; + } + GtkWidget *_ufarray_combo_box_new(UFObject *object, GtkWidget *combo) { UFArray &array = *object; @@ -570,6 +578,8 @@ GtkWidget *entry = gtk_bin_get_child(GTK_BIN(combo)); g_signal_connect_after(G_OBJECT(entry), "focus-out-event", G_CALLBACK(_ufarray_entry_changed), object); + g_signal_connect_after(G_OBJECT(entry), "activate", + G_CALLBACK(_ufarray_entry_activate), object); return _ufarray_combo_box_new(object, combo); } ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs