| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
No need to duplicate selection handling between view and window.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The window now just creates one of the two sidebars, and listens to
GSettings changes for toggling between the two.
|
|
|
|
| |
These also have a callback to get the result of the operation.
|
| |
|
| |
|
| |
|
|
|
|
| |
It's old, basically unused, and unmaintained.
|
|
|
|
|
| |
Delegate behavior specific to the window type to an appopriate subclass
method.
|
|
|
|
|
| |
Since the search widgets are per pane we need only update them
for the pane, never for all the window.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
Remove all uses of deprecated GDK and GTK+ symbols, replacing them
with the currently supported equivalents.
Based on a patch from Tal Benavidor (#565038).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
2008-07-08 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/*.c:
* src/*.c:
Merge "multiview" tab branch. Fixes #48034.
svn path=/trunk/; revision=14328
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=13464
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 '/'.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
2004-11-22 Alexander Larsson <alexl@redhat.com>
* Merge bonobo-slay-branch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
2004-01-11 Dave Camp <dave@ximian.com>
* Merged from nautilus-extensions-branch.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2003-09-30 Dave Camp <dave@ximian.com>
* Merge the nautilus-spatial-playground branch to HEAD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|