|
Karsten Hopp |
ef6e95 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
ef6e95 |
Subject: Patch 7.3.985
|
|
Karsten Hopp |
ef6e95 |
Fcc: outbox
|
|
Karsten Hopp |
ef6e95 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ef6e95 |
Mime-Version: 1.0
|
|
Karsten Hopp |
ef6e95 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
ef6e95 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ef6e95 |
------------
|
|
Karsten Hopp |
ef6e95 |
|
|
Karsten Hopp |
ef6e95 |
Patch 7.3.985
|
|
Karsten Hopp |
ef6e95 |
Problem: GTK vim not started as gvim doesn't set WM_CLASS property to a
|
|
Karsten Hopp |
ef6e95 |
useful value.
|
|
Karsten Hopp |
ef6e95 |
Solution: Call g_set_prgname() on startup. (James McCoy)
|
|
Karsten Hopp |
ef6e95 |
Files: src/gui_gtk_x11.c
|
|
Karsten Hopp |
ef6e95 |
|
|
Karsten Hopp |
ef6e95 |
|
|
Karsten Hopp |
ef6e95 |
*** ../vim-7.3.984/src/gui_gtk_x11.c 2013-05-06 04:21:35.000000000 +0200
|
|
Karsten Hopp |
ef6e95 |
--- src/gui_gtk_x11.c 2013-05-21 12:48:16.000000000 +0200
|
|
Karsten Hopp |
ef6e95 |
***************
|
|
Karsten Hopp |
ef6e95 |
*** 1447,1452 ****
|
|
Karsten Hopp |
ef6e95 |
--- 1447,1457 ----
|
|
Karsten Hopp |
ef6e95 |
using_gnome = 1;
|
|
Karsten Hopp |
ef6e95 |
#endif
|
|
Karsten Hopp |
ef6e95 |
|
|
Karsten Hopp |
ef6e95 |
+ /* This defaults to argv[0], but we want it to match the name of the
|
|
Karsten Hopp |
ef6e95 |
+ * shipped gvim.desktop so that Vim's windows can be associated with this
|
|
Karsten Hopp |
ef6e95 |
+ * file. */
|
|
Karsten Hopp |
ef6e95 |
+ g_set_prgname("gvim");
|
|
Karsten Hopp |
ef6e95 |
+
|
|
Karsten Hopp |
ef6e95 |
/* Don't use gtk_init() or gnome_init(), it exits on failure. */
|
|
Karsten Hopp |
ef6e95 |
if (!gtk_init_check(&gui_argc, &gui_argv))
|
|
Karsten Hopp |
ef6e95 |
{
|
|
Karsten Hopp |
ef6e95 |
*** ../vim-7.3.984/src/version.c 2013-05-21 12:45:54.000000000 +0200
|
|
Karsten Hopp |
ef6e95 |
--- src/version.c 2013-05-21 12:50:04.000000000 +0200
|
|
Karsten Hopp |
ef6e95 |
***************
|
|
Karsten Hopp |
ef6e95 |
*** 730,731 ****
|
|
Karsten Hopp |
ef6e95 |
--- 730,733 ----
|
|
Karsten Hopp |
ef6e95 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ef6e95 |
+ /**/
|
|
Karsten Hopp |
ef6e95 |
+ 985,
|
|
Karsten Hopp |
ef6e95 |
/**/
|
|
Karsten Hopp |
ef6e95 |
|
|
Karsten Hopp |
ef6e95 |
--
|
|
Karsten Hopp |
ef6e95 |
A disclaimer for the disclaimer:
|
|
Karsten Hopp |
ef6e95 |
"and before I get a huge amount of complaints , I have no control over the
|
|
Karsten Hopp |
ef6e95 |
disclaimer at the end of this mail :-)" (Timothy Aldrich)
|
|
Karsten Hopp |
ef6e95 |
|
|
Karsten Hopp |
ef6e95 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ef6e95 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ef6e95 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
ef6e95 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|