]>
Commit | Line | Data |
---|---|---|
17e7d110 SS |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.069 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.069 | |
11 | Problem: GTK: pressing Enter in inputdialog() doesn't work like clicking OK | |
12 | as documented. | |
13 | Solution: call gtk_entry_set_activates_default(). (Britton Kerin) | |
14 | Files: src/gui_gtk.c | |
15 | ||
16 | ||
17 | *** ../vim-7.3.068/src/gui_gtk.c 2010-08-15 21:57:32.000000000 +0200 | |
18 | --- src/gui_gtk.c 2010-11-24 18:44:21.000000000 +0100 | |
19 | *************** | |
20 | *** 1287,1292 **** | |
21 | --- 1287,1295 ---- | |
22 | entry = gtk_entry_new(); | |
23 | gtk_widget_show(entry); | |
24 | ||
25 | + /* Make Enter work like pressing OK. */ | |
26 | + gtk_entry_set_activates_default(GTK_ENTRY(entry), TRUE); | |
27 | + | |
28 | text = CONVERT_TO_UTF8(textfield); | |
29 | gtk_entry_set_text(GTK_ENTRY(entry), (const char *)text); | |
30 | CONVERT_TO_UTF8_FREE(text); | |
31 | *** ../vim-7.3.068/src/version.c 2010-11-24 17:59:27.000000000 +0100 | |
32 | --- src/version.c 2010-11-24 18:46:39.000000000 +0100 | |
33 | *************** | |
34 | *** 716,717 **** | |
35 | --- 716,719 ---- | |
36 | { /* Add new patch number below this line */ | |
37 | + /**/ | |
38 | + 69, | |
39 | /**/ | |
40 | ||
41 | -- | |
42 | Why I like vim: | |
43 | > I like VIM because, when I ask a question in this newsgroup, I get a | |
44 | > one-line answer. With xemacs, I get a 1Kb lisp script with bugs in it ;-) | |
45 | ||
46 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
47 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
48 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
49 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |