Loading ...
Sorry, an error occurred while loading the content.

Re: [PATCH] gtk2 support

Expand Messages
  • Bram Moolenaar
    ... Great. I know many people are starting to use GTK 2 now, it s good to change Vim to support it. ... Would be nice if this can be made to work. However,
    Message 1 of 5 , Dec 29, 2002
    • 0 Attachment
      Jason Hildebrand wrote:

      > I've cleaned up my patch which implements GTK2 support for vim.
      > Everything is now properly #ifdef'd, so this patch should not change the
      > current gtk1.x functionality in any way.

      Great. I know many people are starting to use GTK 2 now, it's good to
      change Vim to support it.

      > 4. catching the WM_SAVE_YOURSELF event
      >
      > Under gtk1.2 a raw X event filter was set up to catch this, but it
      > doesn't compile with gtk2. There should be a way to do this, though.
      > There might even be some special gtk2 signal for this.

      Would be nice if this can be made to work. However, it also depends on
      the window manager used. I noticed that KDE 2 never sends the event,
      thus Vim gets killed silently even if we try to catch the event.

      > Once these issues are resolved we should be able to get this merged into
      > the official vim tree. I'd appreciate pointers as to what the official
      > procedure is for doing this; I'm new here.

      You can send a patch to me. But I'm still busy fixing reported bugs,
      thus keep on improving the GTK2 patch for a while. It would be good to
      make it available for download somewhere, so that Vim users can try out
      the latest version.

      Thanks to Jason for doing this work!

      --
      $ echo pizza > /dev/oven

      /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\
      \\\ Project leader for A-A-P -- http://www.a-a-p.org ///
      \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.