Improve placement of the 'Autodetect proxy server' preference

This commit is contained in:
Christian Dywan 2009-11-05 23:48:15 +01:00
parent d41525b7fe
commit 76b575e42f

View file

@ -503,8 +503,9 @@ midori_preferences_set_settings (MidoriPreferences* preferences,
INDENTED_ADD (label); INDENTED_ADD (label);
entry = katze_property_proxy (settings, "http-proxy", NULL); entry = katze_property_proxy (settings, "http-proxy", NULL);
SPANNED_ADD (entry); SPANNED_ADD (entry);
INDENTED_ADD (gtk_event_box_new ());
button = katze_property_proxy (settings, "auto-detect-proxy", NULL); button = katze_property_proxy (settings, "auto-detect-proxy", NULL);
FILLED_ADD (button); SPANNED_ADD (button);
g_signal_connect (settings, "notify::auto-detect-proxy", g_signal_connect (settings, "notify::auto-detect-proxy",
G_CALLBACK (midori_preferences_notify_auto_detect_proxy_cb), entry); G_CALLBACK (midori_preferences_notify_auto_detect_proxy_cb), entry);
midori_preferences_notify_auto_detect_proxy_cb (settings, NULL, entry); midori_preferences_notify_auto_detect_proxy_cb (settings, NULL, entry);