Final URL patch? (Was: Re: PATCH: URL handling extension (long, sorry))
- From: Albrecht Dreß <albrecht dress arcormail de>
- To: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- Cc: balsa-list gnome org
- Subject: Final URL patch? (Was: Re: PATCH: URL handling extension (long, sorry))
- Date: Wed, 22 Aug 2001 19:15:24 +0200
Hi Ali!
Am 22.08.2001 04:59:14 schrieb(en) Ali Akcaagac:
> but you could url-handle things in gnome-control center i have gftp
> selected there and whenever i click on a url shown e.g. this one here.
Well, what can I say... I am just too dumb!!! My impression from the gnome-url
doc was that it does only support `default' external url's and not specific
ones. Now I added ftp, news and nntp as URL handlers in the control center,
and see that you are just right. **Thanks for pointing me to that error!!**
So please forget about yesterday's patch and use the attached one... It
removes all the crap I introduced there, simplifies balsa-message.c a lot, and
should be somewhat "final" (I hope...) for URL handling.
The details:
* [line 1133 ff] remove the URL protocol type completely, remember just if
it's a mailto (== balsa's internal stuff) or not (== gnome-url stuff)
* [line 1297] detect if a found URL string is mailto or not
* [line 1492 ff] in handle_url, just see if we call a new sendmsg_window or
pass everything to gnome_url
Cheers,
Albrecht.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Albrecht Dreß - Monschauer Straße 22 - D-53121 Bonn (Germany)
Phone (+49) 228 6199571 - mailto:albrecht.dress@arcormail.de
_________________________________________________________________________
balsa-patches-20010822.gz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]