summaryrefslogtreecommitdiff
path: root/src/nautilus-window.h
Commit message (Collapse)AuthorAgeFilesLines
* window: remove unused and confusing codeCosimo Cecchi2011-01-111-1/+0
|
* window: remove unused codeCosimo Cecchi2011-01-111-3/+0
|
* window: remove nautilus_window_get_selection[_count]Cosimo Cecchi2011-01-111-3/+0
| | | | No need to duplicate selection handling between view and window.
* Rework architecture of NautilusView/FMDirectoryViewCosimo Cecchi2011-01-111-26/+3
| | | | | | | | | As a second step after ff5c759b3784db2d0cd71e1cde613dda007c3985, this removes the NautilusView/FMDirectoryView interface split, changing FMDirectoryView to be NautilusView directly. Left to do: complete renaming the public fm_directory_view methods to nautilus_view, and get rid of src/file-manager entirely.
* window: cleanup nautilus_window_reload()Cosimo Cecchi2011-01-111-3/+3
|
* window: remove non existent function declarationCosimo Cecchi2011-01-111-2/+0
|
* window: cleanup nautilus_window_allow_reload()Cosimo Cecchi2011-01-111-2/+0
|
* window: cleanup nautilus_window_go_up()Cosimo Cecchi2011-01-111-3/+0
|
* window: cleanup nautilus_window_go_home()Cosimo Cecchi2011-01-111-1/+0
|
* Rework architecture of NautilusWindow/NautilusWindowSlotInfoCosimo Cecchi2011-01-111-15/+59
| | | | | | | | | | | | | | | | | | | | | | In the past, nautilus was designed keeping in mind the concept that it might not just be a file browser, but a sort of platform to embed various kind of views in it. - libnautilus-private: general lowlevel items, such as the icon container, NautilusFile, I/O and so on - src: general widgets and UI items - src/file-manager: file manager views, agnostic of what's in src/, for the sake of being pluggable enough This is really not applicable anymore, as nautilus won't go in any direction other than being a file manager; at the same time, this complicates code and architecture quite a lot. In this commit, as a first step towards a more clean codebase, we remove the NautilusWindowInfo and NautilusWindowSlotInfo interfaces, using NautilusWindow and NautilusWindowSlot directly. Note that there should be no actual code changes, only moving of pieces around.
* window: update for the removal of sidebar interfacesCosimo Cecchi2010-12-031-1/+0
| | | | | The window now just creates one of the two sidebars, and listens to GSettings changes for toggling between the two.
* window: add _full() versions of _go_to and _open() methodsCosimo Cecchi2010-09-201-0/+4
| | | | These also have a callback to get the result of the operation.
* window: remove dead prototypesCosimo Cecchi2010-08-211-4/+0
|
* window: remove dead functionCosimo Cecchi2010-08-211-1/+0
|
* Adds option to open new tab in tab bar context menu (#590714)Marcus Carlson2010-08-091-0/+1
|
* [src] remove NautilusInformationPanelCosimo Cecchi2010-07-251-1/+0
| | | | It's old, basically unused, and unmaintained.
* Do not use "if (spatial) ..." in window superclassPaolo Borelli2010-04-171-0/+1
| | | | | Delegate behavior specific to the window type to an appopriate subclass method.
* Move sync_search_widgets from window to paneAlexander Larsson2009-12-161-2/+0
| | | | | Since the search widgets are per pane we need only update them for the pane, never for all the window.
* Don't show the window until all views in it are visibleAlexander Larsson2009-12-111-1/+0
| | | | | | For the dual-pane at startup case we want to delay window change until all views are loaded. Also when switching to split view we want to delay showing until the view is loaded.
* Associate basic slot functions to panes instead of windows.Alexander Larsson2009-12-101-3/+5
|
* Remove all traces of old view-as and zoom widgetsAlexander Larsson2009-12-101-3/+0
|
* Remove deprecated GDK/GTK+ symbolsCosimo Cecchi2009-04-211-6/+11
| | | | | | Remove all uses of deprecated GDK and GTK+ symbols, replacing them with the currently supported equivalents. Based on a patch from Tal Benavidor (#565038).
* Consolidate zoom handling. Add nautilus_window_sync_zoom_level(), andChristian Neumair2008-08-061-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-06 Christian Neumair <cneumair@gnome.org> * src/nautilus-navigation-window.c (real_sync_zoom_widgets), (nautilus_navigation_window_class_init): * src/nautilus-window-manage-views.c (create_content_view), (location_has_really_changed), (update_for_new_location), (free_location_change), (nautilus_window_report_view_failed), (nautilus_window_manage_views_destroy), (nautilus_window_manage_views_close_slot): * src/nautilus-window-private.h: * src/nautilus-window-slot.c (real_active), (title_changed_callback), (nautilus_window_slot_connect_content_view), (nautilus_window_slot_disconnect_content_view), (nautilus_window_slot_set_content_view_widget): * src/nautilus-window-slot.h: * src/nautilus-window.c (nautilus_window_set_active_slot), (real_sync_zoom_widgets), (nautilus_window_sync_zoom_widgets), (zoom_level_changed_callback), (nautilus_window_connect_content_view), (nautilus_window_disconnect_content_view), (nautilus_window_class_init): * src/nautilus-window.h: Consolidate zoom handling. Add nautilus_window_sync_zoom_level(), and sync_zoom_level() method to NautilusWindow. Use it to sync both the menu state, and the toolbar state. Remove NautilusWindow's (dis)connect_content_view(), and use unified code in nautilus_window_(dis)connect_content_view(), wrapped by nautilus_window_slot_(dis)connect_content_view(), which also handles the (notebook) title sync. Fixes #546333. svn path=/trunk/; revision=14454
* fix "parameter has incomplete type" warning by moving the typeJens Granseuer2008-08-051-13/+13
| | | | | | | | | | 2008-08-05 Jens Granseuer <jensgr@gmx.net> * src/nautilus-window.h: fix "parameter has incomplete type" warning by moving the type declarations before the functions that use them (#546310) svn path=/trunk/; revision=14449
* Merge "multiview" tab branch. Fixes #48034.Christian Neumair2008-07-081-35/+48
| | | | | | | | | | 2008-07-08 Christian Neumair <cneumair@gnome.org> * libnautilus-private/*.c: * src/*.c: Merge "multiview" tab branch. Fixes #48034. svn path=/trunk/; revision=14328
* Move all of Nautilus to single Gtk+ includes, because Mitch says so.A. Walton2008-05-211-2/+1
| | | | | | | | | | | 2008-05-21 A. Walton <awalton@gnome.org> * */*.[ch]: Move all of Nautilus to single Gtk+ includes, because Mitch says so. Closes Bug #530315. svn path=/trunk/; revision=14182
* Merge gio-branchAlexander Larsson2007-11-301-4/+5
| | | | svn path=/trunk/; revision=13464
* Don't set the visibility of the "burn CD" action here.Federico Mena Quintero2006-03-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-03-14 Federico Mena Quintero <federico@novell.com> * src/nautilus-window-menus.c: (nautilus_window_initialize_menus): Don't set the visibility of the "burn CD" action here. (nautilus_window_initialize_menus_constructed): New public function. Only disable NAUTILUS_ACTION_GO_TO_BURN_CD if we are in a window which has a menubar. This prevents calling have_burn_uri() unnecessarily for the desktop window, as this is an expensive operation during login (up to 1 second!). The way have_burn_uri() works is by creating a "burn:///" URI and seeing if it is valid, but this makes gnome-vfs load libmapping.so from nautilus-cd-burner; this takes a long time during login. * src/nautilus-window-private.h: Added prototype for nautilus_window_initialize_menus_constructed(). * src/nautilus-window.h: New prototype for nautilus_window_has_menubar_and_statusbar(). * src/nautilus-window.c (nautilus_window_has_menubar_and_statusbar): New function; returns whether the window should have a menubar and statusbar. This depends on the window_type from the class structure. (nautilus_window_constructor): Call nautilus_window_initialize_menus_constructed(). We do it here so that its own call to nautilus_window_has_menubar_and_statusbar() will already have the right value for class->window_type.
* Don't shortcut the title change when the bookmark name changes. FixesAlexander Larsson2006-02-271-1/+1
| | | | | | | | | | | 2006-02-27 Alexander Larsson <alexl@redhat.com> * src/nautilus-navigation-window.c: * src/nautilus-spatial-window.c: * src/nautilus-window.[ch]: Don't shortcut the title change when the bookmark name changes. Fixes #331383 Patch from Christian Neumair.
* --- Merged the nautilus-search2 branch ---Alexander Larsson2005-12-121-1/+8
|
* Don't send slash to typeaheadAlexander Larsson2005-10-181-2/+3
| | | | | | | | | | | | | | | | 2005-10-18 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-container.c: (key_press_event): Don't send slash to typeahead * src/nautilus-location-dialog.[ch]: Add nautilus_location_dialog_set_location. * src/nautilus-navigation-window-menus.c: * src/nautilus-navigation-window.c: * src/nautilus-spatial-window.c: * src/nautilus-window.[ch]: Open location dialog/entry when you press '/'.
* Add "reload" and "prompt-for-location" signals. Bind F5 to "reload" andChristian Neumair2005-08-051-0/+1
| | | | | | | | | 2005-08-05 Christian Neumair <chris@gnome-de.org> * src/nautilus-window.c: (nautilus_window_class_init): * src/nautilus-window.h: Add "reload" and "prompt-for-location" signals. Bind F5 to "reload" and Alt-d to "prompt-for-location". Fixes #305252, #312353.
* Use file-manager icon for browser windows. Fixes bug #166516.Martin Wehner2005-07-231-0/+1
| | | | | | | | | | | | | | | | 2005-07-23 Martin Wehner <martin.wehner@gmail.com> * src/nautilus-desktop-window.c: (real_get_icon_name), (nautilus_desktop_window_class_init): * src/nautilus-navigation-window.c: (real_get_icon_name), (nautilus_navigation_window_class_init): * src/nautilus-spatial-window.c: (real_get_icon_name), (nautilus_spatial_window_class_init): * src/nautilus-window.c: (nautilus_window_update_icon): * src/nautilus-window.h: Use file-manager icon for browser windows. Fixes bug #166516. Patch from Christian Neumair <chris@gnome-de.org>
* Fix handling of notification of .gtk-bookmark file changes.Alexander Larsson2005-06-231-0/+1
| | | | | | | | | | | | | | | | | | | | 2005-06-23 Alexander Larsson <alexl@redhat.com> * src/nautilus-bookmark-list.c: Fix handling of notification of .gtk-bookmark file changes. * src/Makefile.am: * src/nautilus-window-bookmarks.[ch]: * src/nautilus-application.c: * src/nautilus-navigation-window-menus.c: * src/nautilus-navigation-window.[ch]: * src/nautilus-spatial-window-ui.xml: * src/nautilus-spatial-window.c: * src/nautilus-window-menus.c: * src/nautilus-window-private.h: * src/nautilus-window.[ch]: Move most bookmark stuff to nautilus-window-bookmarks and put bookmarks in spatial windows too.
* Add set_allow_up method to NautilusWindowClass, make "Close All Parents"Christian Neumair2005-05-171-0/+1
| | | | | | | | | | | | | | 2005-05-17 Christian Neumair <chris@gnome-de.org> * src/nautilus-spatial-window.c: (real_set_allow_up), (nautilus_spatial_window_class_init) * src/nautilus-window.c: * src/nautilus-window.h: (nautilus_window_allow_up), (real_set_allow_up), (nautilus_window_class_init): Add set_allow_up method to NautilusWindowClass, make "Close All Parents" in spatial windows insensitive if there are no parent folders.
* Add nautilus_window_info_show_window call.Alexander Larsson2005-03-221-0/+2
| | | | | | | | | | | | | | | | 2005-03-22 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-window-info.[ch]: Add nautilus_window_info_show_window call. * src/file-manager/fm-directory-view.c: * src/nautilus-window-manage-views.c: * src/nautilus-window.[ch]: Implement and call the new show_window call. This allows us to set up the EelBackground before showing the window, causing less flicker (#169347) Patch from Nickolay V. Shmyrev
* Merge bonobo-slay-branchAlexander Larsson2004-11-221-19/+12
| | | | | 2004-11-22 Alexander Larsson <alexl@redhat.com> * Merge bonobo-slay-branch
* Show the directory as a selection in spatial mode when Alt+Up is selected.Dave Camp2004-10-181-0/+3
| | | | | | | | | | | | | | | | | | 2004-10-18 Dave Camp <dave@novell.com> * src/file-manager/fm-directory-view.c: (selection_changed_callback): * src/nautilus-application.c: (nautilus_application_present_spatial_window), (nautilus_application_present_spatial_window_with_selection): * src/nautilus-application.h: * src/nautilus-window-manage-views.c: (open_location), (load_directory_metadata_callback): * src/nautilus-window.c: (nautilus_window_go_to_with_selection): * src/nautilus-window.h: Show the directory as a selection in spatial mode when Alt+Up is selected. Patch from Jimmy Do <crispyleaves@gmail.com>
* Based on patch by Jamie McCracken <jamiemcc@blueyonder.co.uk>Alexander Larsson2004-06-211-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-21 Alexander Larsson <alexl@redhat.com> Based on patch by Jamie McCracken <jamiemcc@blueyonder.co.uk> * libnautilus-private/nautilus-metadata.h: Add show hidden files metadata name * libnautilus/nautilus-view-component.idl: * libnautilus/nautilus-view.[ch]: * src/file-manager/fm-directory-view.c: * src/file-manager/fm-tree-view.c: * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-spatial-window.[ch]: * src/nautilus-view-frame-corba.c: * src/nautilus-view-frame.[ch]: * src/nautilus-window-manage-views.c: * src/nautilus-window-private.h: * src/nautilus-window.[ch]: Add per-window show hidden files setting, saved per folder in spatial mode. 2004-06-21 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-utilities.c (nautilus_get_vfs_method_display_name): Handle dns-sd name
* Merged from nautilus-extensions-branch.Dave Camp2004-01-111-0/+1
| | | | | | 2004-01-11 Dave Camp <dave@ximian.com> * Merged from nautilus-extensions-branch.
* Virtualize close_windowAlexander Larsson2003-12-171-1/+2
| | | | | | | | | | | | | 2003-12-17 Alexander Larsson <alexl@redhat.com> * src/nautilus-window.h: * src/nautilus-window.c (nautilus_window_close): Virtualize close_window * src/nautilus-spatial-window.c (real_window_close): Save geometry and scroll position on window close, not on delete event. Also, since the timeout geometry save isn't really needed anymore, up that to one second.
* Range selection Clear last double click icon if you click on backgroundAlexander Larsson2003-12-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-12 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-container.c: Range selection Clear last double click icon if you click on background Don't swallow alt-up Ignore tripple clicks Shift-double-click is open-close-parent (of the clicked icon only) * libnautilus-private/nautilus-icon-private.h: Add range_selection_base_icon to icon container * src/file-manager/fm-directory-view.c: handle shift-alt-down * src/file-manager/fm-list-model.c: Implement fm_list_model_file_for_path * src/file-manager/fm-list-view.c: Sync behaviour with icon view. Allow shift-doubleclick * src/file-manager/nautilus-directory-view-ui.xml: * src/nautilus-spatial-window-ui.xml: * src/nautilus-spatial-window.c: Add alt-shift-up keybinding * src/nautilus-window-manage-views.c: * src/nautilus-window-manage-views.h: * src/nautilus-window-menus.c: (go_menu_up_callback): * src/nautilus-window.c: (nautilus_window_go_up): * src/nautilus-window.h: Support for alt-shift-up
* src/nautilus-navigation-window.c (real_get_default_size)Sivaiah Nallagatla2003-12-011-0/+1
| | | | | | | | | | | 2003-12-01 Sivaiah Nallagatla <snallagatla@novell.com> * src/nautilus-navigation-window.c (real_get_default_size) (nautilus_navigation_window_class_init) * src/nautilus-spatial-window.c (real_get_default_size) (nautilus_spatial_window_class_init) * src/nautilus-window-private.h * src/nautilus-window.c (set_initial_window_geometry) * src/nautilus-window.h : make default size of navigation window bigger and different from that of spatial window. #127604 in b.g.o
* Scroll to ICON_PAD_TOP above the icon.Dave Camp2003-10-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-07 Dave Camp <dave@ximian.com> * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_scroll_to_icon): Scroll to ICON_PAD_TOP above the icon. * src/nautilus-navigation-window.c: (nautilus_navigation_window_set_sidebar_panels), (nautilus_navigation_window_class_init): * src/nautilus-spatial-window.c: (nautilus_spatial_window_class_init): * src/nautilus-view-frame.c: (nautilus_view_frame_new), (nautilus_view_frame_get_prop), (create_ambient_properties): * src/nautilus-view-frame.h: * src/nautilus-window-manage-views.c: (load_content_view): * src/nautilus-window.h: * libnautilus/nautilus-view-component.idl: * libnautilus/nautilus-view.c: (nautilus_view_set_listener_mask), (nautilus_view_get_window_type): * libnautilus/nautilus-view.h: Added a window type property to the view frame. * src/file-manager/fm-directory-view.c: (can_use_component_for_file), (reset_bonobo_open_with_menu), (showing_trash_directory), (should_show_empty_trash), (file_list_all_can_use_components), (real_update_menus), (activate_callback), (fm_directory_view_accepts_dragged_files): * src/file-manager/nautilus-directory-view-ui.xml: Don't use file views in spatial windows. Use Browse Folder in spatial windows and Open in New Window in navigation windows. Don't show "Empty Trash" in non-trash spatial windows.
* Merge the nautilus-spatial-playground branch to HEAD.Dave Camp2003-09-301-56/+30
| | | | | | 2003-09-30 Dave Camp <dave@ximian.com> * Merge the nautilus-spatial-playground branch to HEAD.
* Add the nautilus-cd-burner integration patch from RH.Alexander Larsson2003-04-161-0/+2
| | | | | | | | | | | | | | | | | | 2003-04-16 Alexander Larsson <alexl@redhat.com> * src/nautilus-information-panel.c: (burn_cd_callback), (nautilus_information_panel_update_buttons): * src/nautilus-shell-ui.xml: * src/nautilus-window-manage-views.c: (update_burn_cd_items), (update_for_new_location): * src/nautilus-window-menus.c: (file_menu_burn_cd_callback), (go_menu_go_to_burn_cd_callback), (nautilus_window_initialize_menus_part_1): * src/nautilus-window-private.h: * src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_allow_reload), (nautilus_window_allow_burn_cd): * src/nautilus-window.h: Add the nautilus-cd-burner integration patch from RH.
* Don't save the location bar enabled prefs when showing it temporarily.Alexander Larsson2003-03-271-2/+4
| | | | | | | | | | 2003-03-27 Alexander Larsson <alexl@redhat.com> * src/nautilus-window.h: * src/nautilus-window.c: * src/nautilus-window-menus.c: Don't save the location bar enabled prefs when showing it temporarily.
* s/GtkType/GType/Alexander Larsson2003-02-041-1/+1
|
* Removed statusbar timeoutAlex Duggan2003-01-071-2/+1
| | | | | | | | | | | | 2003-01-06 Alex Duggan <aldug@gnome.org> * src/nautilus-window.c: * src/nautilus-window.h: Removed statusbar timeout * libnautilus-private/nautilus-global-preferences.c: Removed unnecessary include. Patch from Dave Bordoley <bordoley@msu.edu>
* New files, container for the side panels.Dave Camp2002-09-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | 2002-09-21 Dave Camp <dave@ximian.com> * src/nautilus-side-pane.c: * src/nautilus-side-pane.h: New files, container for the side panels. * src/nautilus-information-panel.c: * src/nautilus-information-panel.h: Moved nautilus-sidebar.[ch] here, converted it into just another panel, instead of a container. * src/Makefile.am: Build nautilus-information-panel.[ch] and nautilus-side-pane.[ch]. * src/nautilus-window-manage-views.c: (update_title), (update_for_new_location), (handle_view_failure), (nautilus_window_set_sidebar_panels): * src/nautilus-window-private.h: * src/nautilus-window.h: * src/nautilus-window.c: (side_pane_close_requested_callback), (side_pane_size_allocate_callback), (setup_side_pane_width), (nautilus_window_set_up_sidebar), (nautilus_window_add_sidebar_panel), (nautilus_window_remove_sidebar_panel): Use the new information panel and side pane.