Menu

GAIM and Web Browsers

2000-07-25
2000-07-31
  • Jim Phillips

    Jim Phillips - 2000-07-25

    I've just started using a new browser called Galeon that really rocks, but I'd rather not have to specify it in GAIM.  What's the chance of getting an option added to the Browsers section of the GAIM preferences to take advantage of the URL handler built into GNOME to decide what browser to launch?

     
  • Eric Warmenhoven

    Interesting idea. I know technically how to do it (it's not that hard, just call gnome_url_show(const char *url)). However, I don't know how I'm going to put it into gaim without all copies of gaim requiring gnome, and without requiring you to use it as an applet. I'll work on it.

     
    • Jim Phillips

      Jim Phillips - 2000-07-27

      Perhaps you could implement it as a plug-in?  I would think that a GNOME plug-in could be used to not only implement the gnome_show_url function but also to insert GAIM into the new GNOME 1.2 status dock and also to implement any other GNOME specific functionality.

       
      • Eric Warmenhoven

        Well, some of the Gnome stuff could be implemented as a plugin, but not a lot of it, and not the URL handler. The reason is because when gaim tries to go to a URL, it calls its open_url() function, which, based on your preferences, opens Netscape or KFM or whatever. A plugin wouldn't be able to short-circut that process.

        I'm working on a way for gaim to use gnome libraries if they're found or just GTK if they're not (and be an applet if it's specified). I haven't looked into it too much yet though.