]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.256
- new
[packages/vim.git] / 7.2.256
CommitLineData
4ff12b6a
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.256
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.256
11Problem: When 'guifont' was not set GTK font dialog doesn't have a default.
12 (Andreas Metzler)
13Solution: Set default to DEFAULT_FONT. (James Vega)
14Files: src/gui_gtk_x11.c
15
16
17*** ../vim-7.2.255/src/gui_gtk_x11.c 2009-07-01 18:04:30.000000000 +0200
18--- src/gui_gtk_x11.c 2009-09-11 14:21:32.000000000 +0200
19***************
20*** 4729,4734 ****
21--- 4729,4737 ----
22 if (oldval != NULL && *oldval != NUL)
23 gtk_font_selection_dialog_set_font_name(
24 GTK_FONT_SELECTION_DIALOG(gui.fontdlg), (char *)oldval);
25+ else
26+ gtk_font_selection_dialog_set_font_name(
27+ GTK_FONT_SELECTION_DIALOG(gui.fontdlg), DEFAULT_FONT);
28
29 if (gui.fontname)
30 {
31***************
32*** 4816,4821 ****
33--- 4819,4827 ----
34 if (oldname != oldval)
35 vim_free(oldname);
36 }
37+ else
38+ gtk_font_selection_dialog_set_font_name(
39+ GTK_FONT_SELECTION_DIALOG(dialog), DEFAULT_FONT);
40
41 response = gtk_dialog_run(GTK_DIALOG(dialog));
42
43*** ../vim-7.2.255/src/version.c 2009-09-11 15:20:22.000000000 +0200
44--- src/version.c 2009-09-11 15:45:36.000000000 +0200
45***************
46*** 678,679 ****
47--- 678,681 ----
48 { /* Add new patch number below this line */
49+ /**/
50+ 256,
51 /**/
52
53--
54Get a life? What is the URL where it can be downloaded?
55
56 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
57/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
58\\\ download, build and distribute -- http://www.A-A-P.org ///
59 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.031609 seconds and 4 git commands to generate.