[gnome-commander] Options: drop code for 'Network' tab
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Options: drop code for 'Network' tab
- Date: Tue, 13 Sep 2011 20:07:41 +0000 (UTC)
commit 4145e844285330f89cc8edbc2b3d7ebd9feced81
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Sep 13 22:00:34 2011 +0200
Options: drop code for 'Network' tab
doc/C/figures/gnome-commander_options_network.png | Bin 20471 -> 0 bytes
doc/C/gnome-commander.xml | 31 -------------
doc/cs/figures/gnome-commander_options_network.png | Bin 30284 -> 0 bytes
doc/de/figures/gnome-commander_options_network.png | Bin 21612 -> 0 bytes
doc/es/figures/gnome-commander_options_network.png | Bin 20956 -> 0 bytes
doc/fr/figures/gnome-commander_options_network.png | Bin 30917 -> 0 bytes
doc/sl/figures/gnome-commander_options_network.png | Bin 23498 -> 0 bytes
src/gnome-cmd-options-dialog.cc | 45 --------------------
8 files changed, 0 insertions(+), 76 deletions(-)
---
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 9bcfb94..f6b82a1 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -5096,37 +5096,6 @@
</tgroup>
</table>
</sect2>
- <!--network preferences -->
- <sect2 id="gnome-commander-prefs-network">
- <title>Network</title>
- <!--brief desciption-->
- <para>The network section of the option dialog lets you configure parameters for
- FTPÂand the use of the GNOME keyring.</para>
- <itemizedlist>
- <listitem>
- <para><guilabel>Authentication</guilabel> there is only one option <guilabel>Use GNOME keyring manager for authentication</guilabel> when this is activated &app; uses the GNOME keyring to authenticate the user on remote servers.</para>
- </listitem>
- <listitem>
- <para><guilabel>Anonymous FTP access</guilabel> <guilabel>Password</guilabel> this contains the address used as password to access anonymous FTP server.</para>
- </listitem>
- </itemizedlist>
- <!-- ==== Figure ==== -->
- <figure id="options-network-fig">
- <title>Network options</title>
- <screenshot>
- <mediaobject>
- <imageobject>
- <imagedata fileref="figures/gnome-commander_options_network.png" format="PNG"/>
- </imageobject>
- <textobject>
- <phrase>Shows &app; network preferences dialog.</phrase>
- </textobject>
- </mediaobject>
- </screenshot>
- </figure>
- <!-- ==== End of Figure ==== -->
- <para/>
- </sect2>
<!-- Preferred programs settings-->
<sect2 id="gnome-commander-prefs-programs">
<title>Programs</title>
diff --git a/src/gnome-cmd-options-dialog.cc b/src/gnome-cmd-options-dialog.cc
index ef1383e..8da2046 100644
--- a/src/gnome-cmd-options-dialog.cc
+++ b/src/gnome-cmd-options-dialog.cc
@@ -1157,49 +1157,6 @@ inline void store_filter_options (GtkWidget *dialog)
/***********************************************************************
*
- * The Network tab
- *
- **********************************************************************/
-
-static GtkWidget *create_network_tab (GtkWidget *parent)
-{
- GtkWidget *frame, *hbox, *vbox, *cat, *cat_box;
- GtkWidget *table, *label, *entry;
- GtkWidget *check;
-
- frame = create_tabframe (parent);
- hbox = create_tabhbox (parent);
- gtk_container_add (GTK_CONTAINER (frame), hbox);
- vbox = create_tabvbox (parent);
- gtk_box_pack_start (GTK_BOX (hbox), vbox, TRUE, TRUE, 0);
-
-
- // Anonymous FTP password options
-
- table = create_table (parent, 1, 2);
- cat = create_category (parent, table, _("Anonymous FTP access"));
- gtk_box_pack_start (GTK_BOX (vbox), cat, FALSE, FALSE, 0);
-
- label = create_label (parent, _("Password:"));
- table_add (table, label, 0, 0, GTK_FILL);
-
- entry = create_entry (parent, "anonymous_ftp_password", gnome_cmd_data_get_ftp_anonymous_password ());
- table_add (table, entry, 1, 0, (GtkAttachOptions) (GTK_EXPAND|GTK_FILL));
-
- return frame;
-}
-
-
-inline void store_network_options (GtkWidget *dialog)
-{
- GtkWidget *entry = lookup_widget (dialog, "anonymous_ftp_password");
-
- gnome_cmd_data_set_ftp_anonymous_password (gtk_entry_get_text (GTK_ENTRY (entry)));
-}
-
-
-/***********************************************************************
- *
* The Programs tab
*
**********************************************************************/
@@ -2053,7 +2010,6 @@ gboolean gnome_cmd_options_dialog (GtkWindow *parent, GnomeCmdData &cfg)
notebook->append_page(create_tabs_tab (dialog), _("Tabs"));
notebook->append_page(create_confirmation_tab (dialog), _("Confirmation"));
notebook->append_page(create_filter_tab (dialog), _("Filters"));
- notebook->append_page(create_network_tab (dialog), _("Network"));
notebook->append_page(create_programs_tab (dialog), _("Programs"));
notebook->append_page(create_devices_tab (dialog), _("Devices"));
@@ -2077,7 +2033,6 @@ gboolean gnome_cmd_options_dialog (GtkWindow *parent, GnomeCmdData &cfg)
store_tabs_options (dialog);
store_confirmation_options (dialog);
store_filter_options (dialog);
- store_network_options (dialog);
store_programs_options (dialog);
store_devices_options (dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]