On 10/29/05, Stu Tomlinson <stu@...> wrote:
> Why has this stuff gone into core and not just Gtk UI? Anyone who
> implements an alternative UI (ncurses, Qt, whatever) is going to have
> this forced on them.
There's nothing particularly UI-specific to it. It checks
gaim_running_gnome() before depending on it. All the proxy code is in
the core, so adding this to UI would have been kinda hacky---even by
the standards set by this hack.
> It falls back to gaim_global_proxy_get_info() if anything is not set,
> but there's no way for a user to configure what this uses.
Actually, that fallback is only if for some reason
g_spawn_command_line_sync() fails. Since I'm doing
g_find_program_in_path() first, I can't think of any good reason this
would fail; I just figured the global proxy was as good a fallback as
any. This could be modified to detect this failure and show global
proxies in the prefs on failure.
> There is no way to configure a SOCKS4 or SOCKS5 proxy that I can see,
> and if the GNOME preferences are set to automatic proxy configuration it
> won't work.
I found some SOCKS settings in gconf I can toy around with.
It should certainly be noted that even if this fails miserably, it can
still be overridden at the account level. Which is, while
inconvinient, good enough for a beta in my opinion.
> It'd be nice if we could have such integration, but I fear the
> differences between GNOME's proxy support and Gaim's are too great for
> it to be realistic.
I don't use proxies, so I really don't care. Also, the preferences
have been slashed enough that I think I'm over that for a while
(especially since now only huge table only appears if you have a proxy
set). It's mostly that we have GNOME people whining at us: you have to
use GConf because you're duplicating proxy settings! How dare you!
And, yes, they have a point that this integration would be nice, so
I'm willing to give it a try so that we can either say "hey, we're
using GConf settings on GNOME now" and they'll be happy or say "we
tried using GConf; it didn't work. Here's what you need to change if
you want us to use it."
Besides, it's not like our proxy support is a bastion of goodness, anyway :=