summaryrefslogtreecommitdiff
path: root/src/nautilus-object-window.h
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-05-31 19:21:04 +0000
committerDarin Adler <darin@src.gnome.org>2000-05-31 19:21:04 +0000
commit91fc8d2178b8f69968c4f7ac099ba68955e9e25e (patch)
treebc4091b027a8bbe2fa97dc99d6bbbeb2eb1428d6 /src/nautilus-object-window.h
parent0cc9cbd2ba458ae524e5065ff008a2a2fe497e75 (diff)
downloadnautilus-91fc8d2178b8f69968c4f7ac099ba68955e9e25e.tar.gz
Another cut on the desktop. Way closer.
* libnautilus-extensions/Makefile.am: * libnautilus-extensions/nautilus-generous-bin.h: * libnautilus-extensions/nautilus-generous-bin.c: Added a new class NautilusGenerousBin. This is a GtkBin subclass that gives its entire allocation to its child. Used both in the widgetry for desktop windows and as a base class for NautilusViewFrame for now. * libnautilus-extensions/nautilus-gnome-extensions.c: (turn_on_line_wrap_flag), (turn_on_line_wrap_flag_callback): Changed to use gtk_container_foreach instead of the old gtk_container_children, since I now understand that the latter is just a convenience cover for the former. * src/Makefile.am: * src/nautilus-window-state.c: [removed] * src/nautilus-window-state.h: [removed] The only function in here was a wonky one that did goto_uri of go_home depending on the parameter. Changed the callers and things got clearer anyway. * src/nautilus-application.h: * src/nautilus-application.c: (display_caveat), (nautilus_app_startup): * src/nautilus-main.c: (main): Changed rules about which windows are created on startup. This puts us into a slightly bad state because it's now easy to create a desktop window with no way to get rid of it. * src/nautilus-desktop-window.h: * src/nautilus-desktop-window.c: (nautilus_desktop_window_initialize_class), (nautilus_desktop_window_initialize), (destroy), (realize): A better cut at the desktop window creation that now mostly works. * src/nautilus-main.c: (main): Changed the "--desktop" option's name to "--manage-desktop". * src/nautilus-view-frame.h: * src/nautilus-view-frame.c: (nautilus_view_frame_initialize_class), (nautilus_view_frame_initialize), (nautilus_view_frame_destroy_client), (nautilus_view_frame_destroy), (nautilus_view_frame_construct_arg_set): Changed to use NautilusGenerousBin as base class. Also use the Nautilus boilerplate macros. * src/nautilus-window-manage-views.c: (nautilus_window_request_location_change): Use goto_uri instead of set_initial_state. * src/nautilus-window-private.h: * src/nautilus-window.h: * src/nautilus-window.c: (nautilus_window_go_home): Make go_home public and move the actual code needed to go to the home package into the function. * src/nautilus-window.c: (nautilus_window_constructed): Reduced the amount of hackery on behalf of the desktop window and used the NautilusGenerousBin class.
Diffstat (limited to 'src/nautilus-object-window.h')
-rw-r--r--src/nautilus-object-window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-object-window.h b/src/nautilus-object-window.h
index 43e665427..6775fb4f5 100644
--- a/src/nautilus-object-window.h
+++ b/src/nautilus-object-window.h
@@ -141,6 +141,7 @@ void nautilus_window_remove_sidebar_panel (NautilusWindow *window
NautilusViewFrame *sidebar_panel);
void nautilus_window_goto_uri (NautilusWindow *window,
const char *uri);
+void nautilus_window_go_home (NautilusWindow *window);
void nautilus_window_display_error (NautilusWindow *window,
const char *error_msg);
const char * nautilus_window_get_requested_uri (NautilusWindow *window);