summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-entry.h
diff options
context:
space:
mode:
authorGene Z. Ragan <gzr@eazel.com>2000-05-26 07:08:11 +0000
committerGene Ragan <gzr@src.gnome.org>2000-05-26 07:08:11 +0000
commit7c045c92c71202f35da20134525bc5dccfc69468 (patch)
tree2526cf67afa175df74ad5d3167ab7bd7705e6086 /libnautilus-private/nautilus-entry.h
parentcb170d00f1f7a73b2d0530956579b78aaf142e11 (diff)
downloadnautilus-7c045c92c71202f35da20134525bc5dccfc69468.tar.gz
More work on undo. Note that undo in text entry fields still misbehaves.
2000-05-25 Gene Z. Ragan <gzr@eazel.com> More work on undo. Note that undo in text entry fields still misbehaves. More improvements are on the way. * components/websearch/ntl-web-search.c: (make_obj): Removed obsolete enable undo code. * libnautilus-extensions/nautilus-entry.c: * libnautilus-extensions/nautilus-entry.h: (nautilus_entry_initialize_class), (nautilus_entry_key_press), (nautilus_entry_insert_text), (nautilus_entry_delete_text), (register_edit_undo), (nautilus_entry_set_undo_key): Removed the enable_undo function and made undo functionality a default feature of NautilusEntry. * libnautilus/nautilus-undo-transaction.c: (nautilus_undo_transaction_add_undoable), (nautilus_undo_transaction_undo): * libnautilus/nautilus-undoable.c: * libnautilus/nautilus-undoable.h: (nautilus_undoable_save_undo_snapshot), (nautilus_undo_unregister): * src/file-manager/fm-properties-window.c: (create_basic_page): Removed obsolete enable undo code. * src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event), (on_text_field_focus_out_event), (on_window_delete_event): Removed obsolete enable undo code. * src/nautilus-location-bar.c: * src/nautilus-location-bar.h: (nautilus_location_bar_set_location): Removed obsolete enable undo code. * src/ntl-window.c: (nautilus_window_constructed): Removed obsolete enable undo code.
Diffstat (limited to 'libnautilus-private/nautilus-entry.h')
-rw-r--r--libnautilus-private/nautilus-entry.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libnautilus-private/nautilus-entry.h b/libnautilus-private/nautilus-entry.h
index d35a2cbad..01e529334 100644
--- a/libnautilus-private/nautilus-entry.h
+++ b/libnautilus-private/nautilus-entry.h
@@ -51,7 +51,6 @@ struct NautilusEntry {
gchar *undo_text;
gboolean undo_registered;
- gboolean use_undo;
gboolean handle_undo_key;
};
@@ -63,9 +62,7 @@ GtkType nautilus_entry_get_type (void);
GtkWidget* nautilus_entry_new (void);
void nautilus_entry_select_all (NautilusEntry *entry);
void nautilus_entry_select_all_at_idle (NautilusEntry *entry);
-void nautilus_entry_enable_undo (NautilusEntry *entry,
- gboolean value);
-void nautilus_entry_enable_undo_key (NautilusEntry *entry,
+void nautilus_entry_set_undo_key (NautilusEntry *entry,
gboolean value);
END_GNOME_DECLS