Opened 10 years ago

Closed 10 years ago

#4216 closed Bug (wontfix)

gnome3 Network Settings not in the same place

Reported by: lesnoland Owned by: jordan
Priority: Normal Milestone: None Set
Component: GTK+ Client Version: 2.22
Severity: Normal Keywords: gnome3 network proxy
Cc:

Description

Gnome3 has changed the place where the Network Settings are, and is not backward compatible with Gnome2 therefore Transmission will not be able to find if a proxy is set or not. The function below should be updated.

proxy_settings_populate( GConfClient * client, struct gtr_proxy_settings * settings )

I found a sample code on how to grab the Network Proxy settings using GSettings in Gnome3 here:

http://www.gnomeshell.com/2011/04/30/gsettings-api-how-to/

Attachments (1)

main.c.GSettings.patch (3.6 KB) - added by lesnoland 10 years ago.
Beta Patch For GSettings

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 years ago by jordan

  • Component changed from Transmission to GTK+ Client
  • Milestone changed from None Set to Sometime
  • Owner set to jordan
  • Status changed from new to assigned

This is probably too big of a change for 2.30, but ought to be used post-2.30

Changed 10 years ago by lesnoland

Beta Patch For GSettings

comment:2 Changed 10 years ago by lesnoland

I have added a patch that depends on HAVE_GSETTINGS being defined.

It still needs work, but this is the way it should be handled.

Problem: Tried it with bad proxies, and transmission still connects to torrents, etc (I do not know how this works) all I could find was the "proxy_setup()" function.

Also I do not see the point in grabbing ftp proxy, etc.

To be continued.

comment:3 Changed 10 years ago by jordan

  • Milestone changed from Sometime to None Set
  • Resolution set to wontfix
  • Status changed from assigned to closed

Mooted by r12461

Note: See TracTickets for help on using tickets.