Index: gnome-default-applications-properties.c
===================================================================
RCS file: /cvs/gnome/gnome-control-center/capplets/default-applications/gnome-default-applications-properties.c,v
retrieving revision 1.25
diff -u -r1.25 gnome-default-applications-properties.c
--- gnome-default-applications-properties.c	13 Feb 2004 14:29:30 -0000	1.25
+++ gnome-default-applications-properties.c	10 Jul 2004 17:29:58 -0000
@@ -143,23 +143,6 @@
 }
 
 static void
-on_text_default_viewer_toggle (GtkWidget *toggle, GladeXML *dialog)
-{
-	GnomeVFSMimeActionType old_action_type, new_action_type;
-
-	old_action_type = gnome_vfs_mime_get_default_action_type ("text/plain");
-	new_action_type = GTK_TOGGLE_BUTTON (toggle)->active
-		? GNOME_VFS_MIME_ACTION_TYPE_APPLICATION
-		: GNOME_VFS_MIME_ACTION_TYPE_COMPONENT;
-
-	if (new_action_type == old_action_type)
-		return;
-
-	gnome_vfs_mime_set_default_action_type ("text/plain", new_action_type);
-	gnome_vfs_application_registry_sync ();
-}
-
-static void
 generic_guard (GtkWidget *toggle, GtkWidget *widget)
 {
 
@@ -239,9 +222,6 @@
 	GnomeVFSMimeApplication *mime_app;
 	GList *li;
 
-	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (WID ("text_default_viewer_toggle")),
-				      gnome_vfs_mime_get_default_action_type ("text/plain") == GNOME_VFS_MIME_ACTION_TYPE_APPLICATION);
-
 	mime_app = gnome_vfs_mime_get_default_application ("text/plain");
 
 	if (mime_app == NULL || !strcmp (mime_app->id, MIME_APPLICATION_ID))
@@ -591,9 +571,6 @@
 			  dialog);
 	g_signal_connect (WID ("text_custom_properties"), "clicked",
 			  G_CALLBACK (on_text_custom_properties_clicked),
-			  dialog);
-	g_signal_connect (WID ("text_default_viewer_toggle"), "toggled",
-			  G_CALLBACK (on_text_default_viewer_toggle),
 			  dialog);
 	g_signal_connect_after (G_OBJECT (WID ("text_select_radio")), "toggled",
 				G_CALLBACK (text_apply_editor), dialog);
Index: gnome-default-applications-properties.glade
===================================================================
RCS file: /cvs/gnome/gnome-control-center/capplets/default-applications/gnome-default-applications-properties.glade,v
retrieving revision 1.13
diff -u -r1.13 gnome-default-applications-properties.glade
--- gnome-default-applications-properties.glade	9 Jan 2004 14:53:58 -0000	1.13
+++ gnome-default-applications-properties.glade	10 Jul 2004 17:30:04 -0000
@@ -650,7 +650,7 @@
 		<widget class="GtkTable" id="table1">
 		  <property name="border_width">4</property>
 		  <property name="visible">True</property>
-		  <property name="n_rows">3</property>
+		  <property name="n_rows">2</property>
 		  <property name="n_columns">2</property>
 		  <property name="homogeneous">False</property>
 		  <property name="row_spacing">16</property>
@@ -805,27 +805,6 @@
 		      <property name="bottom_attach">2</property>
 		      <property name="x_options">fill</property>
 		      <property name="y_options">fill</property>
-		    </packing>
-		  </child>
-
-		  <child>
-		    <widget class="GtkCheckButton" id="text_default_viewer_toggle">
-		      <property name="visible">True</property>
-		      <property name="can_focus">True</property>
-		      <property name="label" translatable="yes">Use this _editor to open text files in the file manager</property>
-		      <property name="use_underline">True</property>
-		      <property name="relief">GTK_RELIEF_NORMAL</property>
-		      <property name="active">False</property>
-		      <property name="inconsistent">False</property>
-		      <property name="draw_indicator">True</property>
-		    </widget>
-		    <packing>
-		      <property name="left_attach">0</property>
-		      <property name="right_attach">2</property>
-		      <property name="top_attach">2</property>
-		      <property name="bottom_attach">3</property>
-		      <property name="x_options">fill</property>
-		      <property name="y_options"></property>
 		    </packing>
 		  </child>
 		</widget>
