diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-04-24 11:13:37 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-04-24 11:48:21 -0400 |
commit | d5a9299fc58e646bfbdb8ede8eabb0b9e786eb5e (patch) | |
tree | 25363a687a1e55205b42ce5c8e8653e9df262e1f /src/nautilus-properties-window.c | |
parent | 8648e5da0f1a4e375dd985650558fe2ab2dc491b (diff) | |
download | nautilus-d5a9299fc58e646bfbdb8ede8eabb0b9e786eb5e.tar.gz |
all: remove unused NautilusUndoManager objects
This was some sort of GtkEditable undo framework in the past, but it's
basically just unused code now.
Diffstat (limited to 'src/nautilus-properties-window.c')
-rw-r--r-- | src/nautilus-properties-window.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c index d99105a95..db3b2eb9a 100644 --- a/src/nautilus-properties-window.c +++ b/src/nautilus-properties-window.c @@ -58,8 +58,6 @@ #include <libnautilus-private/nautilus-metadata.h> #include <libnautilus-private/nautilus-mime-application-chooser.h> #include <libnautilus-private/nautilus-module.h> -#include <libnautilus-private/nautilus-undo-signal-handlers.h> -#include <libnautilus-private/nautilus-undo.h> #if HAVE_SYS_VFS_H #include <sys/vfs.h> @@ -586,20 +584,6 @@ set_name_field (NautilusPropertiesWindow *window, GTK_WIDGET (window->details->name_label), GTK_POS_RIGHT, 1, 1); gtk_label_set_mnemonic_widget (GTK_LABEL (window->details->name_label), window->details->name_field); - - /* FIXME bugzilla.gnome.org 42151: - * With this (and one place elsewhere in this file, not sure which is the - * trouble-causer) code in place, bug 2151 happens (crash on quit). Since - * we've removed Undo from Nautilus for now, I'm just ifdeffing out this - * code rather than trying to fix 2151 now. Note that it might be possible - * to fix 2151 without making Undo actually work, it's just not worth the - * trouble. - */ -#ifdef UNDO_ENABLED - /* Set up name field for undo */ - nautilus_undo_set_up_nautilus_entry_for_undo ( NAUTILUS_ENTRY (window->details->name_field)); - nautilus_undo_editable_set_undo_key (GTK_EDITABLE (window->details->name_field), TRUE); -#endif g_signal_connect_object (window->details->name_field, "focus_out_event", G_CALLBACK (name_field_focus_out), window, 0); |