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

33299Re: vim with gtk2, the find dialog's buttons are disabled..

Expand Messages
  • Jeremy Messenger
    Jul 15, 2003
    • 0 Attachment
      On Wed, 9 Jul 2003 20:49:25 +0200, David Necas (Yeti)
      <yeti@...> wrote:

      > On Wed, Jul 09, 2003 at 07:47:54PM +0200, Aschwin Marsman wrote:
      >> On Mon, 7 Jul 2003, Jeremy Messenger wrote:
      >>
      >> > On Mon, 7 Jul 2003 06:47:31 +0200 (CEST), Aschwin Marsman >
      >> <a.marsman@...> wrote:
      >> > > > On Sun, 6 Jul 2003, Jeremy Messenger wrote:
      >> > >
      >> > >> On Sun, 06 Jul 2003 17:28:04 -0500, Jeremy Messenger
      >> <mezz7@...> > >> wrote:
      >> > >>
      >> > >> > I haven't update VIM with GTK2 (6.1.xxx with Daniel's patch) for
      >> a > >> quiet > while until today by use FreeBSD's vim port. It's 6.2.014
      >> > >> version.
      >> > >>
      >> > >> Oops, I mean it's 6.2.14 version..
      >> > >>
      >> > >> > However, the find and find/replace dialogs' buttons has been
      >> disabled > >> > (grey). But, I still can use it by press the enter to
      >> search and can't > >> > use those buttons thought.
      >> > >
      >> > > Which GTK version are you using?
      >> > > Lastest version, it's GTK 2.2.2..
      >>
      >> I have 2.0.2 (RH7.3), but I can't use it because it gives a lot of
      >> problems, e.g.
      >> with fonts. It's of no help if I try to reproduce this, hope somebody
      >> else will.
      >> Daniel Elstner, which did most of the work for GTK2, might be able to
      >> help, but
      >> I haven't seen him on this list for a while.
      >
      > OK, here's a fix (at the end), at least of what I was able
      > to reproduce. Tested on 6.2.0.
      >
      > *BUT* it fixes it by bringing back the Most Evil Hack
      > entry_changed_cb(), carefully #ifdef-ed out from the Gtk+2
      > code paths. It however took care of making the buttons
      > sensitive when the entry was nonempty -- among other things.
      > So if Daniel is listening and really doesn't like it so much,
      > he should come up with some nicer fix now ;-)

      I just tested your patch and it seems work much better, but I haven't test
      it with gnome support thought. The gnome support works fine without this
      patch..

      Cheers,
      Mezz

      > Regards,
      >
      > Yeti
      <snip>


      --
      bsdforums.org 's moderator, mezz.
    • Show all 10 messages in this topic