|
Karsten Hopp |
283314 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
283314 |
Subject: Patch 7.2.256
|
|
Karsten Hopp |
283314 |
Fcc: outbox
|
|
Karsten Hopp |
283314 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
283314 |
Mime-Version: 1.0
|
|
Karsten Hopp |
283314 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
283314 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
283314 |
------------
|
|
Karsten Hopp |
283314 |
|
|
Karsten Hopp |
283314 |
Patch 7.2.256
|
|
Karsten Hopp |
283314 |
Problem: When 'guifont' was not set GTK font dialog doesn't have a default.
|
|
Karsten Hopp |
283314 |
(Andreas Metzler)
|
|
Karsten Hopp |
283314 |
Solution: Set default to DEFAULT_FONT. (James Vega)
|
|
Karsten Hopp |
283314 |
Files: src/gui_gtk_x11.c
|
|
Karsten Hopp |
283314 |
|
|
Karsten Hopp |
283314 |
|
|
Karsten Hopp |
283314 |
*** ../vim-7.2.255/src/gui_gtk_x11.c 2009-07-01 18:04:30.000000000 +0200
|
|
Karsten Hopp |
283314 |
--- src/gui_gtk_x11.c 2009-09-11 14:21:32.000000000 +0200
|
|
Karsten Hopp |
283314 |
***************
|
|
Karsten Hopp |
283314 |
*** 4729,4734 ****
|
|
Karsten Hopp |
283314 |
--- 4729,4737 ----
|
|
Karsten Hopp |
283314 |
if (oldval != NULL && *oldval != NUL)
|
|
Karsten Hopp |
283314 |
gtk_font_selection_dialog_set_font_name(
|
|
Karsten Hopp |
283314 |
GTK_FONT_SELECTION_DIALOG(gui.fontdlg), (char *)oldval);
|
|
Karsten Hopp |
283314 |
+ else
|
|
Karsten Hopp |
283314 |
+ gtk_font_selection_dialog_set_font_name(
|
|
Karsten Hopp |
283314 |
+ GTK_FONT_SELECTION_DIALOG(gui.fontdlg), DEFAULT_FONT);
|
|
Karsten Hopp |
283314 |
|
|
Karsten Hopp |
283314 |
if (gui.fontname)
|
|
Karsten Hopp |
283314 |
{
|
|
Karsten Hopp |
283314 |
***************
|
|
Karsten Hopp |
283314 |
*** 4816,4821 ****
|
|
Karsten Hopp |
283314 |
--- 4819,4827 ----
|
|
Karsten Hopp |
283314 |
if (oldname != oldval)
|
|
Karsten Hopp |
283314 |
vim_free(oldname);
|
|
Karsten Hopp |
283314 |
}
|
|
Karsten Hopp |
283314 |
+ else
|
|
Karsten Hopp |
283314 |
+ gtk_font_selection_dialog_set_font_name(
|
|
Karsten Hopp |
283314 |
+ GTK_FONT_SELECTION_DIALOG(dialog), DEFAULT_FONT);
|
|
Karsten Hopp |
283314 |
|
|
Karsten Hopp |
283314 |
response = gtk_dialog_run(GTK_DIALOG(dialog));
|
|
Karsten Hopp |
283314 |
|
|
Karsten Hopp |
283314 |
*** ../vim-7.2.255/src/version.c 2009-09-11 15:20:22.000000000 +0200
|
|
Karsten Hopp |
283314 |
--- src/version.c 2009-09-11 15:45:36.000000000 +0200
|
|
Karsten Hopp |
283314 |
***************
|
|
Karsten Hopp |
283314 |
*** 678,679 ****
|
|
Karsten Hopp |
283314 |
--- 678,681 ----
|
|
Karsten Hopp |
283314 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
283314 |
+ /**/
|
|
Karsten Hopp |
283314 |
+ 256,
|
|
Karsten Hopp |
283314 |
/**/
|
|
Karsten Hopp |
283314 |
|
|
Karsten Hopp |
283314 |
--
|
|
Karsten Hopp |
283314 |
Get a life? What is the URL where it can be downloaded?
|
|
Karsten Hopp |
283314 |
|
|
Karsten Hopp |
283314 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
283314 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
283314 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
283314 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|