[frogr] Place the GNOME general proxy option inside the layout table
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Place the GNOME general proxy option inside the layout table
- Date: Mon, 6 Jun 2011 10:08:44 +0000 (UTC)
commit 794f73734134b1ba44e7af983db03869309225cd
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Mon Jun 6 12:07:47 2011 +0200
Place the GNOME general proxy option inside the layout table
src/frogr-settings-dialog.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/frogr-settings-dialog.c b/src/frogr-settings-dialog.c
index 90bdc95..cba0fb9 100644
--- a/src/frogr-settings-dialog.c
+++ b/src/frogr-settings-dialog.c
@@ -377,19 +377,20 @@ _add_connection_page (FrogrSettingsDialog *self, GtkNotebook *notebook)
GTK_EXPAND | GTK_FILL, 0, 6, 6);
priv->proxy_password_entry = entry;
- gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
-
#ifdef HAVE_LIBSOUP_GNOME
/* Use GNOME General Proxy Settings */
cbutton = gtk_check_button_new_with_mnemonic (_("_Use GNOME General Proxy Settings"));
- align = gtk_alignment_new (0, 0, 0, 0);
+ align = gtk_alignment_new (1, 0, 1, 0);
gtk_container_add (GTK_CONTAINER (align), cbutton);
- gtk_box_pack_start (GTK_BOX (vbox), align, FALSE, FALSE, 0);
+ gtk_table_attach (GTK_TABLE (table), align, 1, 2, 4, 5,
+ GTK_EXPAND | GTK_FILL, 0, 6, 6);
priv->use_gnome_proxy_cb = cbutton;
#endif
+ gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
+
/* Connect signals */
g_signal_connect (G_OBJECT (priv->use_proxy_cb), "toggled",
G_CALLBACK (_on_button_toggled),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]