[Nautilus-list] remove emacs preference



The code to implement the "Use Emacs-style keyboard shortcuts in text
fields" has already been removed, this just gets rid of all the places
that referenced this preference.

-dave


Index: libnautilus-private/nautilus-global-preferences.h
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-global-preferences.h,v
retrieving revision 1.105
diff -u -r1.105 nautilus-global-preferences.h
--- libnautilus-private/nautilus-global-preferences.h	4 Mar 2002 19:31:53 -0000	1.105
+++ libnautilus-private/nautilus-global-preferences.h	18 Mar 2002 04:19:51 -0000
@@ -36,9 +36,6 @@
 /* How wide the sidebar is (or how wide it will be when expanded) */
 #define NAUTILUS_PREFERENCES_SIDEBAR_WIDTH  			"preferences/sidebar_width"
 
-/* Text fields */
-#define NAUTILUS_PREFERENCES_USE_EMACS_SHORTCUTS                "preferences/use_emacs_shortcuts"
-
 /* Window options */
 #define NAUTILUS_PREFERENCES_WINDOW_ALWAYS_NEW			"preferences/window_always_new"
 
Index: libnautilus-private/nautilus-entry.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-entry.c,v
retrieving revision 1.49
diff -u -r1.49 nautilus-entry.c
--- libnautilus-private/nautilus-entry.c	27 Feb 2002 01:18:43 -0000	1.49
+++ libnautilus-private/nautilus-entry.c	18 Mar 2002 04:20:08 -0000
@@ -58,14 +58,6 @@
 static GtkEditableClass *parent_editable_interface = NULL;
 
 static void
-emacs_shortcuts_preference_changed_callback (gpointer callback_data)
-{
-	NautilusEntry *entry;
-
-	entry = NAUTILUS_ENTRY (callback_data);
-}
-
-static void
 nautilus_entry_init (NautilusEntry *entry)
 {
 	GtkWidget *widget;
@@ -76,7 +68,6 @@
 	entry->details->user_edit = TRUE;
 
 	nautilus_undo_set_up_nautilus_entry_for_undo (entry);
-	emacs_shortcuts_preference_changed_callback (entry);
 }
 
 GtkWidget *
Index: src/nautilus-preferences-dialog.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-preferences-dialog.c,v
retrieving revision 1.25
diff -u -r1.25 nautilus-preferences-dialog.c
--- src/nautilus-preferences-dialog.c	7 Mar 2002 19:36:05 -0000	1.25
+++ src/nautilus-preferences-dialog.c	18 Mar 2002 04:20:08 -0000
@@ -114,15 +114,6 @@
 	  N_("Include a Delete command that bypasses Trash"),
 	  EEL_PREFERENCE_ITEM_BOOLEAN
 	},
-	/* FIXME: This group clearly doesn't belong in Windows &
-	 * Desktop, but there's no obviously-better place for it and
-	 * it probably doesn't deserve a pane of its own.
-	 */
-	{ N_("Keyboard Shortcuts"),
-	  NAUTILUS_PREFERENCES_USE_EMACS_SHORTCUTS,
-	  N_("Use Emacs-style keyboard shortcuts in text fields"),
-	  EEL_PREFERENCE_ITEM_BOOLEAN
-	},
 	{ NULL }
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]