diff -Nru glade-3-3.8.0/debian/changelog glade-3-3.8.0/debian/changelog --- glade-3-3.8.0/debian/changelog 2011-08-25 11:34:33.000000000 +0000 +++ glade-3-3.8.0/debian/changelog 2011-08-26 14:57:30.000000000 +0000 @@ -1,3 +1,9 @@ +glade-3 (3.8.0-0ubuntu1+ren1.1) oneiric; urgency=low + + * Add patch which allows closing widget property dialogs with enter. + + -- Michal Suchanek Fri, 26 Aug 2011 16:55:44 +0200 + glade-3 (3.8.0-0ubuntu1+ren1) oneiric; urgency=low * Rename package to glade-gtk2 to allow installing alongside later glade. diff -Nru glade-3-3.8.0/debian/patches/glade-spinbutton-activate-default-in-property-dialogs.patch glade-3-3.8.0/debian/patches/glade-spinbutton-activate-default-in-property-dialogs.patch --- glade-3-3.8.0/debian/patches/glade-spinbutton-activate-default-in-property-dialogs.patch 1970-01-01 00:00:00.000000000 +0000 +++ glade-3-3.8.0/debian/patches/glade-spinbutton-activate-default-in-property-dialogs.patch 2011-08-26 14:55:19.000000000 +0000 @@ -0,0 +1,18 @@ +This is a bandaid which fixes anoyance in dialogs which appear when creating +variable widgets like HBox. + +The sppin editor is used in multiple places but only htese dialogs have a +default button so it is safe to set the spinbutton to activate default +unconditionally. Does not seem to break anything. + +diff -ur glade-3-3.8.0/gladeui/glade-editor-property.c glade-3-3.8.0.mod/gladeui/glade-editor-property.c +--- glade-3-3.8.0/gladeui/glade-editor-property.c 2011-08-26 16:50:09.000000000 +0200 ++++ glade-3-3.8.0.mod/gladeui/glade-editor-property.c 2011-08-26 16:40:12.000000000 +0200 +@@ -746,6 +746,7 @@ + G_IS_PARAM_SPEC_FLOAT (eprop->klass->pspec) || + G_IS_PARAM_SPEC_DOUBLE (eprop->klass->pspec) + ? 2 : 0); ++ gtk_entry_set_activates_default (GTK_ENTRY(eprop_numeric->spin), TRUE); + gtk_widget_show (eprop_numeric->spin); + + g_signal_connect (G_OBJECT (eprop_numeric->spin), "value_changed", diff -Nru glade-3-3.8.0/debian/patches/series glade-3-3.8.0/debian/patches/series --- glade-3-3.8.0/debian/patches/series 2011-08-25 11:31:30.000000000 +0000 +++ glade-3-3.8.0/debian/patches/series 2011-08-26 14:55:19.000000000 +0000 @@ -5,3 +5,4 @@ glade-gtk2-helpdir.patch glade-gtk2-progname.patch glade-exand-inspector-view.patch +glade-spinbutton-activate-default-in-property-dialogs.patch