1. 31 May, 2012 1 commit
  2. 25 Apr, 2012 1 commit
  3. 23 Apr, 2012 1 commit
  4. 09 Jan, 2012 1 commit
  5. 05 Oct, 2011 2 commits
  6. 21 Jul, 2011 1 commit
  7. 16 Jun, 2011 1 commit
  8. 13 Jun, 2011 1 commit
  9. 24 May, 2011 1 commit
  10. 17 Feb, 2011 7 commits
  11. 11 Jan, 2011 1 commit
    • Cosimo Cecchi's avatar
      Rework architecture of NautilusWindow/NautilusWindowSlotInfo · ad0d377a
      Cosimo Cecchi authored
      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.
      ad0d377a
  12. 06 Dec, 2010 1 commit
  13. 30 Sep, 2010 1 commit
  14. 11 Jun, 2010 1 commit
  15. 07 Jun, 2010 1 commit
  16. 10 Dec, 2009 3 commits
    • Holger Berndt's avatar
      Make location bar more reactive, part 2: navigation bar · c3da9152
      Holger Berndt authored
      Followup to the last commit: The location bar of the inactive pane now
      has an insensitive apprearance, but is in fact clickable/focusable. A
      click makes the corresponding pane active via the focus-in event of
      the entry widget.
      c3da9152
    • Alexander Larsson's avatar
      Move location bar entries to pane · f14e7d47
      Alexander Larsson authored
      Location bar entries are pane-specific, not window
      specific. Therefore, it is neccessary to move significant parts of the
      logic around, mainly from NautilusWindow to NautilusWindowPane, and
      NautilusNavigationWindow to NautilisNavigationWindowPane.
      
      In particular, the following functions have been moved into the pane:
      
      bookmark_list_get_uri_index
      restore_focus_widget
      search_bar_activate_callback
      search_bar_cancel_callback
      navigation_bar_cancel_callback
      navigation_bar_location_changed_callback
      location_button_should_be_active
      location_button_toggled_cb
      path_bar_location_changed_callback
      path_bar_button_pressed_callback
      path_bar_button_released_callback
      path_bar_button_drag_begin_callback
      path_bar_path_set_callback
      nautilus_navigation_window_show_location_bar_temporarily
      nautilus_navigation_window_show_navigation_bar_temporarily
      nautilus_navigation_window_path_bar_showing
      nautilus_navigation_window_set_bar_mode
      nautilus_navigation_window_search_bar_showing
      nautilus_navigation_window_hide_location_bar
      nautilus_navigation_window_show_location_bar
      nautilus_navigation_window_location_bar_showing
      nautilus_window_zoom_{in,out,to_level,to_default}
      
      The location bar setup parts of nautilus_navigation_window_init() have
      been moved to nautilus_navigation_window_pane_setup_location_bar.
      
      The following fuctions have been made public:
      
      hide_temporary_bars
      load_view_as_menu
      unset_focus_widget
      update_up_button
      
      Much logic of the following functions has been moved to the pane, but
      the functions themselves have been left in the window as triggers:
      
      nautilus_navigation_window_hide_temporary_bars
      nautilus_window_sync_location_widgets
      f14e7d47
    • Alexander Larsson's avatar
      Move slots from NautilusWindow to NautilusWindowPane · e7f2144e
      Alexander Larsson authored
      A window does not hold lists of slots anymore, but lists of panes, which
      in turn hold lists of slots, making a slot effectively a layer between
      a window and a slot. Much of the remaining part of the patch is
      simply replacing "window->details->active_slot" with
      "window->details->active_pane->active_slot" and similar changes. Commits
      to move corresponding parts of the logic out of the window into the pane
      are to follow.
      e7f2144e
  17. 17 Nov, 2009 1 commit
  18. 06 Oct, 2008 1 commit
    • Cosimo Cecchi's avatar
      Remove unnecessary includes of libgnome · c9aff00e
      Cosimo Cecchi authored
      2008-10-06  Cosimo Cecchi  <cosimoc@gnome.org>
      
              * libnautilus-private/nautilus-customization-data.c:
              * libnautilus-private/nautilus-dnd.c:
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-global-preferences.c:
              * libnautilus-private/nautilus-icon-dnd.c:
              * libnautilus-private/nautilus-icon-private.h:
              * libnautilus-private/nautilus-monitor.c:
              * src/file-manager/fm-desktop-icon-view.c:
              * src/file-manager/fm-ditem-page.c:
              * src/file-manager/fm-error-reporting.h:
              * src/file-manager/fm-list-view.c:
              * src/file-manager/fm-properties-window.c:
              * src/nautilus-history-sidebar.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-information-panel.c:
              * src/nautilus-location-bar.c:
              * src/nautilus-location-entry.c:
              * src/nautilus-main.c:
              * src/nautilus-navigation-window-menus.c:
              * src/nautilus-navigation-window.c:
              * src/nautilus-places-sidebar.c:
              * src/nautilus-window-manage-views.c:
              * src/nautilus-window-toolbars.c:
      	Remove unnecessary includes of libgnome
      
      
      svn path=/trunk/; revision=14689
      c9aff00e
  19. 21 Jul, 2008 1 commit
  20. 08 Jul, 2008 1 commit
  21. 21 May, 2008 1 commit
  22. 13 May, 2008 1 commit
    • Christian Neumair's avatar
      Allow to open location popup menu for any location, and not just for · c3670555
      Christian Neumair authored
      2008-05-13  Christian Neumair  <cneumair@gnome.org>
      
      	* libnautilus-private/nautilus-view.c
      	(nautilus_view_pop_up_location_context_menu):
      	* libnautilus-private/nautilus-view.h:
      	* src/file-manager/fm-actions.h:
      	* src/file-manager/fm-directory-view.c
      	(action_self_properties_callback),
      	(action_location_properties_callback),
      	(fm_directory_view_finalize),
      	(action_location_mount_volume_callback),
      	(action_location_unmount_volume_callback),
      	(action_location_eject_volume_callback),
      	(action_location_format_volume_callback),
      	(action_location_open_folder_window_callback),
      	(action_location_cut_callback), (action_location_copy_callback),
      	(action_location_trash_callback),
      	(action_location_delete_callback),
      	(real_update_location_menu_volumes), (real_update_location_menu),
      	(fm_directory_view_pop_up_background_context_menu),
      	(real_pop_up_location_context_menu),
      	(location_popup_file_attributes_ready),
      	(unschedule_pop_up_location_context_menu),
      	(schedule_pop_up_location_context_menu),
      	(fm_directory_view_pop_up_location_context_menu), (load_directory):
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/nautilus-location-bar.c (label_button_pressed_callback):
      	* src/nautilus-navigation-window.c
      	(nautilus_navigation_window_init),
      	(path_bar_button_pressed_callback), (path_bar_path_set_callback):
      	* src/nautilus-pathbar.c (nautilus_path_bar_class_init),
      	(nautilus_path_bar_update_path),
      	(nautilus_path_bar_get_path_for_button):
      	* src/nautilus-pathbar.h:
      	* src/nautilus-spatial-window.c (location_button_pressed_callback):
      	Allow to open location popup menu for any location, and not just for
      	currently open folder. Enable location popup menu for all path bar
      	buttons. Add volume operations to location context menu. Fix
      	separators in location context menu. Fixes #309844.
      	Do not unref file when opening properties dialog from background
      	context menu.
      
      svn path=/trunk/; revision=14156
      c3670555
  23. 30 Nov, 2007 1 commit
  24. 18 Oct, 2006 1 commit
    • Alexander Larsson's avatar
      Share target list for all instances (#357573) · b5023c72
      Alexander Larsson authored
      2006-10-18  Alexander Larsson  <alexl@redhat.com>
      
      	* src/file-manager/fm-list-view.c:
      	Share target list for all instances (#357573)
      
      	* src/nautilus-location-bar.c: (style_set_handler):
      	Don't leak layout (#352693)
      
      	* src/nautilus-zoom-control.c:
      	Fix O(n^2) use of list (#357589)
      
      	All patches from paolo borelli.
      b5023c72
  25. 27 Jul, 2006 1 commit
    • Christian Neumair's avatar
      Rename nautilus_drag_default_drop_action_for_url to · bef04d93
      Christian Neumair authored
      2006-07-25  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-dnd.c:
      	Rename nautilus_drag_default_drop_action_for_url to
      	nautilus_drag_default_drop_action_for_netscape_url.
      	Don't offer netscape URL drags.
      
      	* libnautilus-private/nautilus-dnd.h: Rename
      	NAUTILUS_ICON_DND_URL(_TYPE) to NAUTILUS_ICON_DND_NETSCAPE_URL(_TYPE)
      	and nautilus_drag_default_drop_action_for_url to
      	nautilus_drag_default_drop_action_for_netscape_url.
      
      	* libnautilus-private/nautilus-file-operations.c:
      	(nautilus_file_operations_new_file_from_template):
      	Filter out special URIs, handle gnome_vfs_uri_new() failure.
      
      	* libnautilus-private/nautilus-file-utilities.c:
      	(test_uri_exists), (nautilus_ensure_unique_file_name):
      	Handle gnome_vfs_uri_new() failure by returning NULL.
      
      	* libnautilus-private/nautilus-icon-container.c:
      	* libnautilus-private/nautilus-icon-container.h:
      	Rename HANDLE_URL signal to HANDLE_NETSCAPE_URL.
      
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-icon-dnd.h:
      	* libnautilus-private/nautilus-tree-view-drag-dest.c:
      	* libnautilus-private/nautilus-tree-view-drag-dest.h:
      	Don't offer netscape URL drags, prefer netscape URL drops over
      	"text/uri-list" drops. Also rename DND_URL symbols to DND_NETSCAPE_URL.
      
      	* libnautilus-private/nautilus-link-desktop-file.c:
      	(nautilus_link_desktop_file_local_create):
      	Handle trash, desktop and search URIs, handle
      	NULL retval of nautilus_ensure_unique_file_name.
      
      	* src/nautilus-location-bar.c:
      	* src/nautilus-spatial-window.c:
      	* src/file-manager/fm-list-model.c:
      	Don't offer/handle netscape URL drags.
      
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view:
      	Rename DND_URL symbols to DND_NETSCAPE_URL.
      
      	Should fix #347673.
      bef04d93
  26. 18 Mar, 2006 1 commit
    • Martin Wehner's avatar
      Use gi18n.h instead of deprecated gnome-i18n.h header. · cb131b9c
      Martin Wehner authored
      2006-03-18  Martin Wehner  <martin.wehner@gmail.com>
      
      	* libnautilus-private/*.c:
      	* src/file-manager/*.c:
      	* src/*.c:
      	Use gi18n.h instead of deprecated gnome-i18n.h header.
      
      	* libnautilus-private/nautilus-query.c:
      	(nautilus_query_to_readable_string):
      	Mark string for translation.
      
      	* po/POTFILES.in:
      	Add nautilus-query.c
      
      	Patch from Wouter Bolsterlee <uws+gnome@xs4all.nl>
      cb131b9c
  27. 18 Dec, 2005 1 commit
    • Martin Wehner's avatar
      Adapt callers to eel dialog API changes. Fixes #324262. · 4d2e0862
      Martin Wehner authored
      2005-12-18  Martin Wehner  <martin.wehner@gmail.com>
      
      	* libnautilus-private/nautilus-desktop-link-monitor.c:
      	(volume_delete_dialog):
      	* libnautilus-private/nautilus-file-operations.c:
      	(handle_transfer_overwrite), (nautilus_file_operations_copy_move):
      	* libnautilus-private/nautilus-icon-dnd.c:
      	(confirm_switch_to_manual_layout):
      	* libnautilus-private/nautilus-program-choosing.c:
      	(application_cannot_open_location):
      	* src/file-manager/fm-directory-view.c:
      	(report_broken_symbolic_link):
      	* src/nautilus-location-bar.c: (drag_data_received_callback):
      	Adapt callers to eel dialog API changes. Fixes #324262.
      
      	Patch from Christian Neumair <chris@gnome-de.org>
      	and Claudio Saavedra <csaavedra@alumnos.utalca.cl>
      4d2e0862
  28. 12 Dec, 2005 1 commit
  29. 03 Aug, 2005 1 commit
    • Christian Neumair's avatar
      Be smarter about GtkTreeView-bound expand/collapse characters. Thanks to · 47e628dd
      Christian Neumair authored
      2005-08-03  Christian Neumair  <chris@gnome-de.org>
      
      	* src/file-manager/fm-list-view.c: (handle_typeahead): Be smarter
      	about GtkTreeView-bound expand/collapse characters. Thanks to Wouter
      	Bolsterlee <uws+gnome@xs4all.nl>. Fixes #312046.
      
      	* src/nautilus-location-bar.c: (real_cancel),
      	(nautilus_location_bar_class_init),
      	(nautilus_location_bar_set_location)
      	* src/nautilus-navigation-bar.c: (nautilus_navigation_bar_class_init):
      	* src/nautilus-navigation-bar.h:
      	* src/nautilus-navigation-window.c: (navigation_bar_cancel_callback),
      	(navigation_bar_location_changed_callback): Hide temporary bars when
      	pressing the escape key. Fixes #311652.
      47e628dd
  30. 02 Jun, 2005 1 commit
    • Christian Neumair's avatar
      src/nautilus-emblem-sidebar.c · d4f56052
      Christian Neumair authored
      2005-05-02  Christian Neumair  <chris@gnome-de.org>
      
      	* libnautilus-private/nautilus-clipboard.c:
      	* libnautilus-private/nautilus-icon-dnd.c:
      	* libnautilus-private/nautilus-tree-view-drag-dest.c:
      	* src/file-manager/fm-desktop-icon-view.c:
      	* src/file-manager/fm-ditem-page.c:
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-model.c:
      	* src/file-manager/fm-list-model.h:
      	* src/file-manager/fm-list-view.c:
      	* src/file-manager/fm-properties-window.c:
      	* src/nautilus-emblem-sidebar.c
      	* src/nautilus-file-management-properties.c:
      	* src/nautilus-information-panel.c:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-navigation-window-menus.c:
      	* src/nautilus-spatial-window.c:
      	* src/nautilus-zoom-controls.c:
      	Also declare GtkToggleActionEntry, GtkRadioActionEntry and
      	GtkTargetEntry as well as some char and int arrays const.
      d4f56052
  31. 17 May, 2005 1 commit
    • Alexander Larsson's avatar
      Add nautilus_view_pop_up_location_context_menu · ddecd2b7
      Alexander Larsson authored
      2005-05-17  Alexander Larsson  <alexl@redhat.com>
      
      	* libnautilus-private/nautilus-view.[ch]:
      	Add nautilus_view_pop_up_location_context_menu
      
      	* src/file-manager/fm-actions.h:
      	* src/file-manager/fm-directory-view.c:
      	* src/file-manager/fm-directory-view.h:
      	* src/file-manager/nautilus-directory-view-ui.xml:
      	* src/nautilus-location-bar.c:
      	* src/nautilus-spatial-window.c:
      	Add location context menu to location button/label.
      
      	Patch from Christian Neumair
      ddecd2b7