Karsten Hopp 3aeac0
To: vim_dev@googlegroups.com
Karsten Hopp 3aeac0
Subject: Patch 7.3.069
Karsten Hopp 3aeac0
Fcc: outbox
Karsten Hopp 3aeac0
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 3aeac0
Mime-Version: 1.0
Karsten Hopp 3aeac0
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 3aeac0
Content-Transfer-Encoding: 8bit
Karsten Hopp 3aeac0
------------
Karsten Hopp 3aeac0
Karsten Hopp 3aeac0
Patch 7.3.069
Karsten Hopp 3aeac0
Problem:    GTK: pressing Enter in inputdialog() doesn't work like clicking OK
Karsten Hopp 3aeac0
	    as documented.
Karsten Hopp 3aeac0
Solution:   call gtk_entry_set_activates_default(). (Britton Kerin)
Karsten Hopp 3aeac0
Files:	    src/gui_gtk.c
Karsten Hopp 3aeac0
Karsten Hopp 3aeac0
Karsten Hopp 3aeac0
*** ../vim-7.3.068/src/gui_gtk.c	2010-08-15 21:57:32.000000000 +0200
Karsten Hopp 3aeac0
--- src/gui_gtk.c	2010-11-24 18:44:21.000000000 +0100
Karsten Hopp 3aeac0
***************
Karsten Hopp 3aeac0
*** 1287,1292 ****
Karsten Hopp 3aeac0
--- 1287,1295 ----
Karsten Hopp 3aeac0
  	entry = gtk_entry_new();
Karsten Hopp 3aeac0
  	gtk_widget_show(entry);
Karsten Hopp 3aeac0
  
Karsten Hopp 3aeac0
+ 	/* Make Enter work like pressing OK. */
Karsten Hopp 3aeac0
+         gtk_entry_set_activates_default(GTK_ENTRY(entry), TRUE);
Karsten Hopp 3aeac0
+ 
Karsten Hopp 3aeac0
  	text = CONVERT_TO_UTF8(textfield);
Karsten Hopp 3aeac0
  	gtk_entry_set_text(GTK_ENTRY(entry), (const char *)text);
Karsten Hopp 3aeac0
  	CONVERT_TO_UTF8_FREE(text);
Karsten Hopp 3aeac0
*** ../vim-7.3.068/src/version.c	2010-11-24 17:59:27.000000000 +0100
Karsten Hopp 3aeac0
--- src/version.c	2010-11-24 18:46:39.000000000 +0100
Karsten Hopp 3aeac0
***************
Karsten Hopp 3aeac0
*** 716,717 ****
Karsten Hopp 3aeac0
--- 716,719 ----
Karsten Hopp 3aeac0
  {   /* Add new patch number below this line */
Karsten Hopp 3aeac0
+ /**/
Karsten Hopp 3aeac0
+     69,
Karsten Hopp 3aeac0
  /**/
Karsten Hopp 3aeac0
Karsten Hopp 3aeac0
-- 
Karsten Hopp 3aeac0
Why I like vim:
Karsten Hopp 3aeac0
> I like VIM because, when I ask a question in this newsgroup, I get a
Karsten Hopp 3aeac0
> one-line answer.  With xemacs, I get a 1Kb lisp script with bugs in it ;-)
Karsten Hopp 3aeac0
Karsten Hopp 3aeac0
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 3aeac0
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 3aeac0
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 3aeac0
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///