summaryrefslogtreecommitdiff
path: root/src/nautilus-location-bar.h
diff options
context:
space:
mode:
authorRebecca Schulman <rebecka@eazel.com>2000-10-13 23:47:08 +0000
committerRebecca Schulman <rebecka@src.gnome.org>2000-10-13 23:47:08 +0000
commit49a7f147b269accb15e0d6aad27f78c18dfe173d (patch)
tree1ab3328c2596b3c559ee0ca16ee2f01941d8eec1 /src/nautilus-location-bar.h
parent53b4f343e94d238053ea346131bb3cca4f894fc1 (diff)
downloadnautilus-49a7f147b269accb15e0d6aad27f78c18dfe173d.tar.gz
Fixed the names of these files to match the menu items in shell-ui
2000-10-13 Rebecca Schulman <rebecka@eazel.com> * libnautilus/nautilus-clipboard-ui.xml: Fixed the names of these files to match the menu items in shell-ui * libnautilus/nautilus-clipboard.h: * libnautilus/nautilus-clipboard.c: (add_menu_items_callback), (container_copy_free), (ui_component_remove_container_and_unref), (finish_setting_up_editable), (finish_setting_up_editable_from_bonobo_control_callback), (nautilus_clipboard_set_up_editable_from_bonobo_control), (nautilus_clipboard_set_up_editable_from_bonobo_ui_container): Added the from_ui_container function for local editable widgets to use, and changed the function sequence around so that the two clipboard set up functions share an api except for the initial calling functions * src/nautilus-window-private.h: * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_show), (nautilus_window_get_bonobo_ui_container), (nautilus_window_get_bonobo_ui_component): added the new nautilus-window_get_bonobo_ui_component function for local editables to use, and changed the construction order so that menu items would get merged correctly (set up the main window menus before setting up the location bar) * src/nautilus-complex-search-bar.c: (nautilus_complex_search_bar_new): * src/nautilus-complex-search-bar.h: * src/nautilus-location-bar.c: (nautilus_location_bar_get_window), (nautilus_location_bar_initialize), (nautilus_location_bar_new), (nautilus_location_bar_set_location): * src/nautilus-location-bar.h: * src/nautilus-simple-search-bar.c: (nautilus_simple_search_bar_initialize), (nautilus_simple_search_bar_destroy), (nautilus_simple_search_bar_new): * src/nautilus-simple-search-bar.h: * src/nautilus-switchable-navigation-bar.c: (nautilus_switchable_navigation_bar_initialize), (nautilus_switchable_navigation_bar_destroy), (nautilus_switchable_navigation_bar_new): * src/nautilus-switchable-navigation-bar.h: * src/nautilus-switchable-search-bar.c: (nautilus_switchable_search_bar_initialize), (nautilus_switchable_search_bar_destroy), (nautilus_switchable_search_bar_new): * src/nautilus-switchable-search-bar.h: Changed the location bar and switchable search bar to take windows in the constructor funciton. These are used to get the local ui component when setting up the clipboard
Diffstat (limited to 'src/nautilus-location-bar.h')
-rw-r--r--src/nautilus-location-bar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nautilus-location-bar.h b/src/nautilus-location-bar.h
index 8ca99fb6d..3175ad890 100644
--- a/src/nautilus-location-bar.h
+++ b/src/nautilus-location-bar.h
@@ -31,6 +31,7 @@
#define NAUTILUS_LOCATION_BAR_H
#include "nautilus-navigation-bar.h"
+#include "nautilus-window.h"
#include <gtk/gtkhbox.h>
#include <gtk/gtklabel.h>
#include <gtk/gtkentry.h>
@@ -59,6 +60,6 @@ typedef struct {
} NautilusLocationBarClass;
GtkType nautilus_location_bar_get_type (void);
-GtkWidget* nautilus_location_bar_new (void);
+GtkWidget* nautilus_location_bar_new (NautilusWindow *window);
#endif /* NAUTILUS_LOCATION_BAR_H */