Re: Prop: make URL's clickable



On 2001.05.08 21:18:58 +0200 Albrecht Dreß wrote:
> Hi all!
> 
> I attach a patch (against today's cvs) which makes url's in mails clickable
> and calls the browser defined in the Gnome Control Center with it.
> 
> Basically, it scans mails for [s]http://... and [s]ftp:// entries, prints them
> in a different color, and uses gnome_url_show() to invoke the browser if the
> left mouse button is released over one of this entries. Changed files are---
> 
> * src/balsa-app.h: added field for url color
> * src/save-restore.c: save and restore this entry
> * src/pref-manager.c: add "Hyperlink color" in the Colors notebook
> * src/balsa-message.c: the stuff to detect and store url's, and to call the
> browser.
> 
> Although I hope that this patch makes life a little easier, it is far from
> being perfect. As I did not want to move from the gtk_text widget, I can not
> change the mouse cursor shape when it moves over an URL. The alternative would
> be using a canvas (like gnome-help-browser does?), but then we loose the
> ability to select (and copy & past) parts of a message. Maybe it is possible
> to hack an extension, catching the motion-notify-event, and change the cursor.
> 
> An other nice extension would be to make mailto:... links clickable as well.
> This would lead to some bigger changes in sendmsg_window_new(), though.

hey you roole dude.. thats a long awaited feature for me :)

danke danke danke hehehehe.... endlich mal einer mit hammer
features :)

-- 
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]