[Pidgin] #13867: gnome-shell/Gnome3: Use GNOME Proxy Settings

Pidgin trac at pidgin.im
Thu Apr 28 06:09:45 EDT 2011


#13867: gnome-shell/Gnome3: Use GNOME Proxy Settings
---------------------------------------------+------------------------------
 Reporter:  lesnoland                        |        Owner:           
     Type:  defect                           |       Status:  new      
Milestone:                                   |    Component:  libpurple
  Version:  2.7.11                           |   Resolution:           
 Keywords:  gnomeshell gnome3 network proxy  |  
---------------------------------------------+------------------------------
Description changed by lesnoland:

Old description:

> Gnome3 changed the way it is handling the Network Proxy settings, and
> pidgin is no longer working with it.
>
> Network Settings:
>
> As I see in gtkprefs.c, pidgin is looking for 'gnome-network-properties'
> and 'gnome-network-preferences' which no longer exist, they were replaced
> by 'gnome-control-center'. At the moment there is no way (as I am aware
> of) to go directly to the Network tab, but that will open up the Network
> also in Gnome3, so adding 'gnome-control-center' will assure backward
> compatibility with Gnome2 and also will provide a way to 'Configure' the
> Network Proxy from the control center.

New description:

 Sorry for the constant modifications.

 Gnome3 changed the way it is handling the Network Proxy settings, and
 pidgin is no longer working with it.

 Network Settings:

 As I see in gtkprefs.c, pidgin is looking for 'gnome-network-properties'
 and 'gnome-network-preferences' which no longer exist, they were replaced
 by 'gnome-control-center'. At the moment there is no way (as I am aware
 of) to go directly to the Network tab, but that will open up the Network
 also in Gnome3, so adding 'gnome-control-center' will assure backward
 compatibility with Gnome2 and also will provide a way to 'Configure' the
 Network Proxy from the control center.

 LibPurple Grab Proxy:

 I have looked in the libpurple code and I found in proxy.c libpurple is
 trying to grab the settings using gconftool-2. This was replaced in Gnome3
 by 'gsettings'. I will provide an example below on how commands should be
 executed to grab the same output.

 Grab socks5 proxy from the system:

 Gnome2: gconftool-2 -g /system/proxy/socks_host

 Gnome3: gsettings get org.gnome.system.proxy.socks host

 Grab system proxy mode:

 gsettings get org.gnome.system.proxy mode

 Grab all stuff:

 gsettings list-schemas | grep proxy

 gsettings list-keys org.gnome.system.proxy


 I hope this helps, as I am not familiar enough with the libpurple code to
 create a patch.

--

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13867#comment:4>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list