diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-11-03 00:14:46 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2000-11-03 00:14:46 +0000 |
commit | be2548fdd55fa31f96c7e0a600dc42b80315b673 (patch) | |
tree | 8fed8dd5e602d1cbd5a95ce202d2b0aa5556856a | |
parent | 457cc61e0a5e24ae6977e1e1101ced4ab4185b94 (diff) | |
download | nautilus-be2548fdd55fa31f96c7e0a600dc42b80315b673.tar.gz |
#if 0 out the undo code which is currently not working. I filed a bug for
* components/notes/nautilus-notes.c: (finish_loading_note),
(notes_load_location), (make_notes_view):
#if 0 out the undo code which is currently not working. I filed a
bug for this issue: 4436.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | components/notes/nautilus-notes.c | 20 |
2 files changed, 27 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2000-11-02 Ramiro Estrugo <ramiro@eazel.com> + + * components/notes/nautilus-notes.c: (finish_loading_note), + (notes_load_location), (make_notes_view): + #if 0 out the undo code which is currently not working. I filed a + bug for this issue: 4436. + 2000-11-02 Josh Barrow <josh@eazel.com> * nautilus-installer/src/prescript: diff --git a/components/notes/nautilus-notes.c b/components/notes/nautilus-notes.c index a3476fd06..c2e7c4166 100644 --- a/components/notes/nautilus-notes.c +++ b/components/notes/nautilus-notes.c @@ -37,7 +37,12 @@ #include <libnautilus-extensions/nautilus-file.h> #include <libnautilus-extensions/nautilus-file-attributes.h> #include <libnautilus-extensions/nautilus-metadata.h> +/* FIXME bugzilla.eazel.com 4436: + * Undo not working in notes-view. + */ +#if 0 #include <libnautilus-extensions/nautilus-undo-signal-handlers.h> +#endif #include <libnautilus/libnautilus.h> #include <libnautilus/nautilus-clipboard.h> #include <liboaf/liboaf.h> @@ -76,7 +81,12 @@ finish_loading_note (NautilusFile *file, &position); g_free (notes_text); +/* FIXME bugzilla.eazel.com 4436: + * Undo not working in notes-view. + */ +#if 0 nautilus_undo_set_up_editable_for_undo (GTK_EDITABLE (notes->note_text_field)); +#endif } static void @@ -128,7 +138,12 @@ notes_load_location (NautilusView *view, Notes *notes) { if (strcmp (notes->uri, location) != 0) { +/* FIXME bugzilla.eazel.com 4436: + * Undo not working in notes-view. + */ +#if 0 nautilus_undo_tear_down_editable_for_undo (GTK_EDITABLE (notes->note_text_field)); +#endif notes_save_metainfo (notes); g_free (notes->uri); notes->uri = g_strdup (location); @@ -189,8 +204,13 @@ make_notes_view (BonoboGenericFactory *Factory, const char *goad_id, gpointer cl (GTK_EDITABLE (notes->note_text_field), nautilus_view_get_bonobo_control (notes->view)); +/* FIXME bugzilla.eazel.com 4436: + * Undo not working in notes-view. + */ +#if 0 nautilus_undo_set_up_editable_for_undo (GTK_EDITABLE (notes->note_text_field)); nautilus_undo_editable_set_undo_key (GTK_EDITABLE (notes->note_text_field), TRUE); +#endif return BONOBO_OBJECT (notes->view); } |