summaryrefslogtreecommitdiff
path: root/src/nautilus-location-bar.h
diff options
context:
space:
mode:
authorGene Z. Ragan <gzr@eazel.com>2000-05-17 23:54:25 +0000
committerGene Ragan <gzr@src.gnome.org>2000-05-17 23:54:25 +0000
commit19159e79b31181b09826f5068e5f71efd37e04a2 (patch)
treed874f7c6a8b7d581926d97f4a07225e8e2e2cf5f /src/nautilus-location-bar.h
parent0cc8fb0b162292b9225e4de6b580bc0aadeb1809 (diff)
downloadnautilus-19159e79b31181b09826f5068e5f71efd37e04a2.tar.gz
CVS:
2000-05-17 Gene Z. Ragan <gzr@eazel.com> CVS: ---------------------------------------------------------------------- First phase of modifying undo code. These changes CVS: Enter Log. Lines beginning with `CVS:' are removed automatically affect the way undo is handled internally to Nautilus and CVS: also defines a new IDL. This is work in progress. CVS: Committing in . CVS: * libnautilus-extensions/nautilus-entry.c: CVS: Modified Files: Modified to use gtk_object_get_data() mechanism to locate undo manager CVS: ChangeLog libnautilus/.cvsignore libnautilus/Makefile.am CVS: libnautilus/nautilus-undo-manager-private.h * libnautilus-extensions/nautilus-icon-container.c: CVS: libnautilus/nautilus-undo-manager.c (nautilus_icon_container_start_renaming_selected_item): CVS: libnautilus/nautilus-undo-manager.h Modified to use gtk_object_get_data() mechanism to locate undo manager CVS: libnautilus/nautilus-undo-transaction.h CVS: libnautilus/nautilus-undoable.c * libnautilus-extensions/nautilus-icon-text-item.c: (iti_event), CVS: libnautilus/nautilus-undoable.h (restore_from_undo_snapshot_callback): CVS: libnautilus/nautilus-view-component.idl Modified to use gtk_object_get_data() mechanism to locate undo manager CVS: libnautilus-extensions/nautilus-entry.c CVS: libnautilus-extensions/nautilus-entry.h * libnautilus/.cvsignore: CVS: libnautilus-extensions/nautilus-icon-container.c Added generated IDL source and header files to ignore CVS: libnautilus-extensions/nautilus-icon-text-item.c CVS: src/nautilus-bookmarks-window.c * libnautilus/Makefile.am: CVS: src/nautilus-bookmarks-window.h src/nautilus-location-bar.c Modified makefile to include new IDL file for undo manager CVS: src/nautilus-location-bar.h src/nautilus-window-menus.c CVS: src/ntl-app.c src/ntl-window-private.h src/ntl-window.c * libnautilus/nautilus-undo-manager.c: CVS: src/ntl-window.h src/file-manager/fm-properties-window.c (impl_Nautilus_Undo_Manager__destroy), CVS: Added Files: (impl_Nautilus_Undo_Manager__create), CVS: libnautilus/nautilus-undo.idl (impl_Nautilus_Undo_Manager__append), CVS: Removed Files: (impl_Nautilus_Undo_Manager__forget), CVS: libnautilus/nautilus-undo-manager-component.idl (nautilus_undo_manager_initialize), CVS: ---------------------------------------------------------------------- (nautilus_undo_manager_initialize_class), (nautilus_undo_manager_begin_transaction), (nautilus_undo_manager_end_transaction), (nautilus_undo_manager_undo), (nautilus_undo_manager_redo), (nautilus_undo_manager_add_transaction), (nautilus_undo_manager_unregister_object), (nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo), (get_current_transaction_name), (nautilus_undo_manager_get_current_undo_transaction_name), (nautilus_undo_manager_get_current_redo_transaction_name), (destroy), (nautilus_undo_manager_enable_redo), (nautilus_undo_manager_set_queue_depth), (free_undo_manager_list_data), (prune_undo_manager_list): Changes to support new IDL and new undo manager mechanism. * libnautilus/nautilus-undo.idl: New undo manager IDL file * libnautilus/nautilus-undo-manager-component.idl: Removed old undo manager IDL file * src/file-manager/fm-properties-window.c: (create_basic_page): Modified to use gtk_object_get_data() mechanism to locate undo manager * src/nautilus-bookmarks-window.c: (create_bookmarks_window), (on_text_field_focus_in_event), (on_window_delete_event): Modified to use gtk_object_get_data() mechanism to locate undo manager * src/nautilus-location-bar.c: (nautilus_location_bar_set_location), (nautilus_location_bar_enable_undo): Modified to use gtk_object_get_data() mechanism to locate undo manager * src/nautilus-window-menus.c: (edit_menu_undo_callback), (edit_menu_cut_callback), (bookmarks_menu_edit_bookmarks_callback), (get_bookmarks_window), (nautilus_bookmarks_exiting), (nautilus_window_edit_bookmarks), (nautilus_window_initialize_menus), (update_undo_menu_item): Modified to use gtk_object_get_data() mechanism to locate undo manager * src/ntl-app.c: (impl_Nautilus_Application__get_view_windows), (impl_Nautilus_Application_new_view_window), (impl_Nautilus_Application_supports), (impl_Nautilus_Application_create_object), (impl_Nautilus_Application__create), (nautilus_app_get_type), (nautilus_app_class_init), (nautilus_app_init), (nautilus_app_new), (nautilus_app_destroy), (nautilus_app_startup), (nautilus_app_create_window): Modified to use gtk_object_get_data() mechanism to locate undo manager. Added and modified IDL C stubs to match new IDL interface. * src/ntl-window.c: (nautilus_window_constructed), (nautilus_window_set_arg): Changed order that arguments are set at time of main window create so the app instance variable is valid when the main window is contructed.
Diffstat (limited to 'src/nautilus-location-bar.h')
-rw-r--r--src/nautilus-location-bar.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/nautilus-location-bar.h b/src/nautilus-location-bar.h
index 4e6ef131f..7f001dd1f 100644
--- a/src/nautilus-location-bar.h
+++ b/src/nautilus-location-bar.h
@@ -29,6 +29,7 @@
#include <gtk/gtkhbox.h>
#include <gtk/gtklabel.h>
#include <gtk/gtkentry.h>
+#include <libnautilus/nautilus-undo-manager.h>
#define NAUTILUS_LOCATION_BAR(obj) \
GTK_CHECK_CAST (obj, nautilus_location_bar_get_type (), NautilusLocationBar)
@@ -54,9 +55,13 @@ typedef struct {
const char *location);
} NautilusLocationBarClass;
-GtkType nautilus_location_bar_get_type (void);
-GtkWidget* nautilus_location_bar_new (void);
-void nautilus_location_bar_set_location (NautilusLocationBar *bar,
- const char *location);
+GtkType nautilus_location_bar_get_type (void);
+GtkWidget* nautilus_location_bar_new (void);
+void nautilus_location_bar_set_location (NautilusLocationBar *bar,
+ const char *location);
+void nautilus_location_bar_enable_undo (NautilusLocationBar *bar,
+ NautilusUndoManager *manager,
+ gboolean value);
+
#endif /* NAUTILUS_LOCATION_BAR_H */