Patch 7.4.1803
Problem:    GTK3 doesn't handle menu separaters properly.
Solution:   Use gtk_separator_menu_item_new(). (Kazunobu Kuriyama)
Files:      src/gui_gtk.c


*** ../vim-7.4.1802/src/gui_gtk.c       2016-02-27 18:07:39.652009479 +0100
--- src/gui_gtk.c       2016-04-30 13:23:17.740681068 +0200
***************
*** 781,788 ****
--- 781,792 ----
        if (menu_is_separator(menu->name))
        {
            /* Separator: Just add it */
+ # if GTK_CHECK_VERSION(3,0,0)
+           menu->id = gtk_separator_menu_item_new();
+ # else
            menu->id = gtk_menu_item_new();
            gtk_widget_set_sensitive(menu->id, FALSE);
+ # endif
            gtk_widget_show(menu->id);
  # if GTK_CHECK_VERSION(3,0,0)
            gtk_menu_shell_insert(GTK_MENU_SHELL(parent->submenu_id),
*** ../vim-7.4.1802/src/version.c       2016-04-30 13:16:45.541142072 +0200
--- src/version.c       2016-04-30 13:24:21.471956638 +0200
***************
*** 755,756 ****
--- 755,758 ----
  {   /* Add new patch number below this line */
+ /**/
+     1803,
  /**/

-- 
Sorry, no fortune today.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui