? omf.make
? xmldocs.make
? help/eu/Makefile
? help/eu/Makefile.in
? help/eu/gedit-eu.omf.out
? help/eu/omf_timestamp
? plugins/changecase/Makefile
? plugins/changecase/Makefile.in
? plugins/changecase/changecase.gedit-plugin
Index: data/gedit.schemas.in
===================================================================
RCS file: /cvs/gnome/gedit/data/gedit.schemas.in,v
retrieving revision 1.13
diff -u -r1.13 gedit.schemas.in
--- a/data/gedit.schemas.in	5 Apr 2004 16:24:58 -0000	1.13
+++ b/data/gedit.schemas.in	15 May 2004 05:03:58 -0000
@@ -162,11 +162,11 @@
       <applyto>/apps/gedit-2/preferences/editor/undo/undo_actions_limit</applyto>
       <owner>gedit</owner>
       <type>int</type>
-      <default>25</default>
+      <default>-1</default>
       <locale name="C">
 	<short>Undo Actions Limit</short>
 	<long>Maximum number of actions that gedit will be able to
-	undo or redo.</long>
+	undo or redo.  Use "-1" for unlimited undo.</long>
       </locale>
     </schema>
 
Index: gedit/dialogs/gedit-preferences-dialog.c
===================================================================
RCS file: /cvs/gnome/gedit/gedit/dialogs/gedit-preferences-dialog.c,v
retrieving revision 1.62
diff -u -r1.62 gedit-preferences-dialog.c
--- a/gedit/dialogs/gedit-preferences-dialog.c	5 Mar 2004 12:40:21 -0000	1.62
+++ b/gedit/dialogs/gedit-preferences-dialog.c	15 May 2004 05:03:59 -0000
@@ -77,12 +77,6 @@
 	GtkWidget	*colors_table;
 	GtkWidget	*font_hbox;
 	
-	/* Undo*/
-	GtkWidget	*undo_box;
-	GtkWidget	*limited_undo_radiobutton;
-	GtkWidget	*unlimited_undo_radiobutton;
-	GtkWidget	*undo_levels_spinbutton;
-
 	/* Tabs */
 	GtkWidget	*tabs_width_spinbutton;
 	GtkWidget	*insert_spaces_checkbutton;
@@ -237,55 +231,9 @@
 }
 
 static void
-limited_undo_radiobutton_toggled (GtkToggleButton *button, GeditPreferencesDialog *dlg)
-{
-	gedit_debug (DEBUG_PREFS, "");
-
-	g_return_if_fail (button == GTK_TOGGLE_BUTTON (dlg->limited_undo_radiobutton));
-
-	if (gtk_toggle_button_get_active (button))
-	{
-		gint undo_levels;
-		
-		gtk_widget_set_sensitive (dlg->undo_levels_spinbutton, 
-					  gedit_prefs_manager_undo_actions_limit_can_set());
-		
-		undo_levels = gtk_spin_button_get_value_as_int (
-				GTK_SPIN_BUTTON (dlg->undo_levels_spinbutton));
-		g_return_if_fail (undo_levels >= 1);
-
-		gedit_prefs_manager_set_undo_actions_limit (undo_levels);
-	}
-	else	
-	{
-		gtk_widget_set_sensitive (dlg->undo_levels_spinbutton, FALSE);
-
-		gedit_prefs_manager_set_undo_actions_limit (-1);
-	}
-}
-
-static void
-undo_levels_spinbutton_value_changed (GtkSpinButton          *spin_button,
-				      GeditPreferencesDialog *dlg)
-{
-	gint undo_levels;
-
-	gedit_debug (DEBUG_PREFS, "");
-
-	g_return_if_fail (spin_button == GTK_SPIN_BUTTON (dlg->undo_levels_spinbutton));
-
-	undo_levels = gtk_spin_button_get_value_as_int (
-				GTK_SPIN_BUTTON (dlg->undo_levels_spinbutton));
-	g_return_if_fail (undo_levels >= 1);
-
-	gedit_prefs_manager_set_undo_actions_limit (undo_levels);
-}
-
-static void
 setup_editor_page (GeditPreferencesDialog *dlg)
 {
 	gboolean auto_save;
-	gint undo_levels;
 	gboolean can_set;
 
 	gedit_debug (DEBUG_PREFS, "");
@@ -309,21 +257,6 @@
 	gtk_spin_button_set_value (GTK_SPIN_BUTTON (dlg->auto_save_spinbutton),
 				   gedit_prefs_manager_get_auto_save_interval ());
 
-	undo_levels = gedit_prefs_manager_get_undo_actions_limit ();
-	
-	if (undo_levels > 0)
-	{
-		gtk_spin_button_set_value (GTK_SPIN_BUTTON (dlg->undo_levels_spinbutton),
-					   (guint) undo_levels);
-
-		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->limited_undo_radiobutton), 
-				              TRUE);
-	}
-	else
-		gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (dlg->unlimited_undo_radiobutton), 
-				              TRUE);
-
-
 	/* Set widget sensitivity */
 	gtk_widget_set_sensitive (dlg->tabs_width_hbox, 
 				  gedit_prefs_manager_tabs_size_can_set ());
@@ -343,11 +276,6 @@
 			          auto_save &&
 				  gedit_prefs_manager_auto_save_interval_can_set ());
 
-	can_set = gedit_prefs_manager_undo_actions_limit_can_set ();
-
-	gtk_widget_set_sensitive (dlg->undo_box, can_set);
-	gtk_widget_set_sensitive (dlg->undo_levels_spinbutton, can_set && (undo_levels > 0));
-
 	/* Connect signal */
 	g_signal_connect (G_OBJECT (dlg->tabs_width_spinbutton), "value_changed",
 			  G_CALLBACK (tabs_width_spinbutton_value_changed),
@@ -372,14 +300,6 @@
 	g_signal_connect (G_OBJECT (dlg->auto_save_spinbutton), "value_changed",
 			  G_CALLBACK (auto_save_spinbutton_value_changed),
 			  dlg);
-
-	g_signal_connect (G_OBJECT (dlg->limited_undo_radiobutton), "toggled", 
-		  	  G_CALLBACK (limited_undo_radiobutton_toggled), 
-			  dlg);
-
-	g_signal_connect (G_OBJECT (dlg->undo_levels_spinbutton), "value_changed",
-		  	  G_CALLBACK (undo_levels_spinbutton_value_changed),
-		  	  dlg);
 }
 
 static void
@@ -1217,11 +1137,6 @@
 	dialog->auto_save_checkbutton = glade_xml_get_widget (gui, "auto_save_checkbutton");
 	dialog->auto_save_spinbutton = glade_xml_get_widget (gui, "auto_save_spinbutton");
 
-	dialog->limited_undo_radiobutton = glade_xml_get_widget (gui, "limited_undo_radiobutton");
-	dialog->unlimited_undo_radiobutton = glade_xml_get_widget (gui, "unlimited_undo_radiobutton");
-	dialog->undo_levels_spinbutton = glade_xml_get_widget (gui, "undo_levels_spinbutton");
-	dialog->undo_box = glade_xml_get_widget (gui, "undo_box");
-
 	dialog->plugin_manager_place_holder = glade_xml_get_widget (gui, "plugin_manager_place_holder");
 
 	dialog->enable_syntax_hl_checkbutton = glade_xml_get_widget (gui, "enable_syntax_hl_checkbutton");
@@ -1263,10 +1178,6 @@
 	    !dialog->backup_copy_checkbutton ||
 	    !dialog->auto_save_checkbutton ||
 	    !dialog->auto_save_spinbutton ||
-	    !dialog->limited_undo_radiobutton ||
-	    !dialog->unlimited_undo_radiobutton ||
-	    !dialog->undo_levels_spinbutton ||
-	    !dialog->undo_box ||
 	    !dialog->plugin_manager_place_holder ||
 	    !dialog->enable_syntax_hl_checkbutton ||
 	    !dialog->hl_vbox ||
Index: gedit/dialogs/gedit-preferences.glade2
===================================================================
RCS file: /cvs/gnome/gedit/gedit/dialogs/gedit-preferences.glade2,v
retrieving revision 1.43
diff -u -r1.43 gedit-preferences.glade2
--- a/gedit/dialogs/gedit-preferences.glade2	13 Mar 2004 19:20:47 -0000	1.43
+++ b/gedit/dialogs/gedit-preferences.glade2	15 May 2004 05:03:59 -0000
@@ -492,180 +492,6 @@
 		  <property name="fill">False</property>
 		</packing>
 	      </child>
-
-	      <child>
-		<widget class="GtkVBox" id="vbox237">
-		  <property name="visible">True</property>
-		  <property name="homogeneous">False</property>
-		  <property name="spacing">6</property>
-
-		  <child>
-		    <widget class="GtkLabel" id="label865">
-		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">&lt;b&gt;Undo&lt;/b&gt;</property>
-		      <property name="use_underline">False</property>
-		      <property name="use_markup">True</property>
-		      <property name="justify">GTK_JUSTIFY_LEFT</property>
-		      <property name="wrap">False</property>
-		      <property name="selectable">False</property>
-		      <property name="xalign">0</property>
-		      <property name="yalign">0.5</property>
-		      <property name="xpad">0</property>
-		      <property name="ypad">0</property>
-		    </widget>
-		    <packing>
-		      <property name="padding">0</property>
-		      <property name="expand">False</property>
-		      <property name="fill">False</property>
-		    </packing>
-		  </child>
-
-		  <child>
-		    <widget class="GtkHBox" id="hbox151">
-		      <property name="visible">True</property>
-		      <property name="homogeneous">False</property>
-		      <property name="spacing">0</property>
-
-		      <child>
-			<widget class="GtkLabel" id="label866">
-			  <property name="visible">True</property>
-			  <property name="label" translatable="yes">    </property>
-			  <property name="use_underline">False</property>
-			  <property name="use_markup">False</property>
-			  <property name="justify">GTK_JUSTIFY_LEFT</property>
-			  <property name="wrap">False</property>
-			  <property name="selectable">False</property>
-			  <property name="xalign">0.5</property>
-			  <property name="yalign">0.5</property>
-			  <property name="xpad">0</property>
-			  <property name="ypad">0</property>
-			</widget>
-			<packing>
-			  <property name="padding">0</property>
-			  <property name="expand">False</property>
-			  <property name="fill">False</property>
-			</packing>
-		      </child>
-
-		      <child>
-			<widget class="GtkVBox" id="undo_box">
-			  <property name="visible">True</property>
-			  <property name="homogeneous">False</property>
-			  <property name="spacing">6</property>
-
-			  <child>
-			    <widget class="GtkHBox" id="hbox152">
-			      <property name="visible">True</property>
-			      <property name="homogeneous">False</property>
-			      <property name="spacing">6</property>
-
-			      <child>
-				<widget class="GtkRadioButton" id="limited_undo_radiobutton">
-				  <property name="visible">True</property>
-				  <property name="can_focus">True</property>
-				  <property name="label" translatable="yes">_Limit to</property>
-				  <property name="use_underline">True</property>
-				  <property name="relief">GTK_RELIEF_NORMAL</property>
-				  <property name="focus_on_click">True</property>
-				  <property name="active">False</property>
-				  <property name="inconsistent">False</property>
-				  <property name="draw_indicator">True</property>
-				</widget>
-				<packing>
-				  <property name="padding">0</property>
-				  <property name="expand">False</property>
-				  <property name="fill">False</property>
-				</packing>
-			      </child>
-
-			      <child>
-				<widget class="GtkSpinButton" id="undo_levels_spinbutton">
-				  <property name="visible">True</property>
-				  <property name="can_focus">True</property>
-				  <property name="climb_rate">1</property>
-				  <property name="digits">0</property>
-				  <property name="numeric">False</property>
-				  <property name="update_policy">GTK_UPDATE_ALWAYS</property>
-				  <property name="snap_to_ticks">False</property>
-				  <property name="wrap">False</property>
-				  <property name="adjustment">25 1 1000 1 25 25</property>
-				</widget>
-				<packing>
-				  <property name="padding">0</property>
-				  <property name="expand">False</property>
-				  <property name="fill">False</property>
-				</packing>
-			      </child>
-
-			      <child>
-				<widget class="GtkLabel" id="label867">
-				  <property name="visible">True</property>
-				  <property name="label" translatable="yes">act_ions</property>
-				  <property name="use_underline">True</property>
-				  <property name="use_markup">False</property>
-				  <property name="justify">GTK_JUSTIFY_LEFT</property>
-				  <property name="wrap">False</property>
-				  <property name="selectable">False</property>
-				  <property name="xalign">0.5</property>
-				  <property name="yalign">0.5</property>
-				  <property name="xpad">0</property>
-				  <property name="ypad">0</property>
-				  <property name="mnemonic_widget">undo_levels_spinbutton</property>
-				</widget>
-				<packing>
-				  <property name="padding">0</property>
-				  <property name="expand">False</property>
-				  <property name="fill">False</property>
-				</packing>
-			      </child>
-			    </widget>
-			    <packing>
-			      <property name="padding">0</property>
-			      <property name="expand">True</property>
-			      <property name="fill">True</property>
-			    </packing>
-			  </child>
-
-			  <child>
-			    <widget class="GtkRadioButton" id="unlimited_undo_radiobutton">
-			      <property name="visible">True</property>
-			      <property name="can_focus">True</property>
-			      <property name="label" translatable="yes">_Unlimited undo</property>
-			      <property name="use_underline">True</property>
-			      <property name="relief">GTK_RELIEF_NORMAL</property>
-			      <property name="focus_on_click">True</property>
-			      <property name="active">False</property>
-			      <property name="inconsistent">False</property>
-			      <property name="draw_indicator">True</property>
-			      <property name="group">limited_undo_radiobutton</property>
-			    </widget>
-			    <packing>
-			      <property name="padding">0</property>
-			      <property name="expand">False</property>
-			      <property name="fill">False</property>
-			    </packing>
-			  </child>
-			</widget>
-			<packing>
-			  <property name="padding">0</property>
-			  <property name="expand">True</property>
-			  <property name="fill">True</property>
-			</packing>
-		      </child>
-		    </widget>
-		    <packing>
-		      <property name="padding">0</property>
-		      <property name="expand">True</property>
-		      <property name="fill">True</property>
-		    </packing>
-		  </child>
-		</widget>
-		<packing>
-		  <property name="padding">0</property>
-		  <property name="expand">False</property>
-		  <property name="fill">False</property>
-		</packing>
-	      </child>
 	    </widget>
 	    <packing>
 	      <property name="tab_expand">False</property>
