Set "system/proxy/use_http_proxy" GConf key when Manual or Auto is
* capplets/network/gnome-network-preferences.c: (proxy_mode_radiobutton_clicked_cb): Set "system/proxy/use_http_proxy" GConf key when Manual or Auto is selected.
This commit is contained in:
parent
d4fc8cbb14
commit
484fa60e4c
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
|||
2003-03-04 Frederic Crozat <fcrozat@mandrakesoft.com>
|
||||
|
||||
* capplets/network/gnome-network-preferences.c:
|
||||
(proxy_mode_radiobutton_clicked_cb):
|
||||
Set "system/proxy/use_http_proxy" GConf key
|
||||
when Manual or
|
||||
Auto is selected.
|
||||
|
||||
|
||||
2003-02-22 Laurent Dhima <laurenti@alblinux.net>
|
||||
|
||||
* configure.in: Added 'sq' to ALL_LINGUAS
|
||||
|
|
|
@ -170,6 +170,7 @@ proxy_mode_radiobutton_clicked_cb (GtkWidget *widget,
|
|||
{
|
||||
GSList *mode_group;
|
||||
int mode;
|
||||
GConfClient *client;
|
||||
|
||||
if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON(widget)))
|
||||
return;
|
||||
|
@ -184,6 +185,10 @@ proxy_mode_radiobutton_clicked_cb (GtkWidget *widget,
|
|||
mode == PROXYMODE_MANUAL);
|
||||
gtk_widget_set_sensitive (WID ("auto_box"),
|
||||
mode == PROXYMODE_AUTO);
|
||||
client = gconf_client_get_default ();
|
||||
gconf_client_set_bool (client, USE_PROXY_KEY,
|
||||
mode == PROXYMODE_AUTO || mode == PROXYMODE_MANUAL, NULL);
|
||||
g_object_unref (client);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue