1. 26 Aug, 2018 1 commit
    • Ernestas Kulik's avatar
      pathbar: Make type final · 77ed1f5c
      Ernestas Kulik authored
      There is absolutely no reason for it to be derivable at this time, plus
      the extra typing is endlessly annoying.
  2. 19 Jul, 2018 1 commit
    • Carlos Soriano's avatar
      pathbar: Extend button menu with extensions and templates · 544c1cca
      Carlos Soriano authored
      One of the benefits of the new menu on the path bar buttons is that we
      show the background menu.
      This was the intended design since the start, but we didn't come to
      finalize it earlier on.
      Now with the 3.30 approaching, this work implements that.
      Closes #405
  3. 19 Mar, 2018 1 commit
    • Alexandru Fazakas's avatar
      general: Remove include guards in favor of pragma once · 95ecfc8e
      Alexandru Fazakas authored
      The traditional include guards are not as easy to handle
      and require extra thought into the names.
      Pragma once is an easier, more contributor friendly approach.
      Closes #294
      general: Remove include guards in favor of pragma once
      The traditional include guards are not as easy to handle
      and require extra thought into the names.
      Pragma once is an easier, more contributor friendly approach.
      Closes #294
  4. 24 Aug, 2017 2 commits
  5. 04 Apr, 2016 1 commit
    • Carlos Soriano Sánchez's avatar
      general: remove vim modelines · 1ffb8ca5
      Carlos Soriano Sánchez authored
      Vim and emacs modelines are used to specify some of the code style in the code.
      However, this is misleading and poorly supported since nautilus had a mix of
      code style for some time.
      Also, the mode lines doesn't specify the whole code style, so we will need to
      use a different tool as well to specify the whole code style.
      For that, we can just use a different tool for everything.
      So remove the mode lines, and in a short future we will reestyle the nautilus
      code to have a single code style, and use a tool like editorconfig to specify
      the whole code style.
  6. 04 Aug, 2015 1 commit
    • Georges Basile Stavracas Neto's avatar
      pathbar: handle context menu · 5edca92b
      Georges Basile Stavracas Neto authored
      NautilusView is an abstract class that manages
      various context menus, depending on the view's
      location, the clicked point and the implementation
      While this in theory provides a good isolation
      from other classes, in practice NautilusView
      manages the pathbar context menu, which is not
      necessary, as it doesn't depend on the current
      view anymore after the GAction rework.
      Fix that by making NautilusPathBar manage the
      context menu by itself instead of the view. To
      cleanly implement that, add a new signal that
      matches GtkPlacesSidebar::open-location signature,
      and adapt NautilusWindow to reuse the existing
      methods to handle pathbar's new signal.
  7. 31 Jan, 2014 1 commit
  8. 24 Aug, 2013 2 commits
  9. 01 Sep, 2012 1 commit
  10. 29 Apr, 2012 3 commits
  11. 27 Apr, 2012 1 commit
  12. 05 Mar, 2012 1 commit
  13. 18 Feb, 2011 1 commit
  14. 17 Feb, 2011 1 commit
  15. 10 Dec, 2009 1 commit
    • Holger Berndt's avatar
      Make location bar more reactive: path bar, toggle button and zoom control · 689fd8e7
      Holger Berndt authored
      The buttons in the directory button bar are made inactive when the
      corresponding pane is inactive. This means that the buttons have an
      insensitive appearance, but are in fact clickable. Clicking on them
      will make the corresponding pane active while changing into the
      respective directory.
      This required the pathbar to export the button widget, done with the
      new function nautilus_path_bar_get_button_from_button_list_entry().
  16. 02 Aug, 2008 1 commit
    • Christian Neumair's avatar
      Handle moves in the path bar hierarchy. Fixes #545941. Thanks to Diego · e213b0a3
      Christian Neumair authored
      2008-08-02  Christian Neumair  <cneumair@gnome.org>
      	* src/nautilus-pathbar.c (update_button_types),
      	(button_data_file_changed), (nautilus_path_bar_check_parent_path),
      	(nautilus_path_bar_update_path), (nautilus_path_bar_set_path):
      	* src/nautilus-pathbar.h:
      	Handle moves in the path bar hierarchy. Fixes #545941.
      	Thanks to Diego Escalante Urrelo.
      svn path=/trunk/; revision=14434
  17. 15 Jul, 2008 1 commit
    • Christian Neumair's avatar
      Dynamically update buttons on file changes instead of hard-coding them · 30d7f677
      Christian Neumair authored
      2008-07-16  Christian Neumair  <cneumair@gnome.org>
      	* src/nautilus-pathbar.c (desktop_location_changed_callback),
      	(nautilus_path_bar_finalize), (reload_icons),
      	(get_custom_user_icon_info), (get_type_icon_info),
      	(button_data_file_changed), (make_directory_button),
      	* src/nautilus-pathbar.h:
      	Dynamically update buttons on file changes instead of hard-coding them
      	once, both labels and icons. Refactor icon code.
      	Add TODO notice about reaction to XDG directory changes.
      	Comment out usage of custom icons for path bar buttons, due to
      	GDK pixbuf issues when scaling down large images #80925.
      svn path=/trunk/; revision=14365
  18. 13 Jul, 2008 1 commit
    • Christian Neumair's avatar
      Add simple slot drop proxy API to libnautilus-private, centered around · d4f08bc0
      Christian Neumair authored
      2008-07-13  Christian Neumair  <cneumair@gnome.org>
      	* libnautilus-private/nautilus-dnd.c
      	(nautilus_drag_uri_list_from_array), (slot_proxy_drag_motion),
      	(drag_info_clear), (slot_proxy_drag_leave), (slot_proxy_drag_drop),
      	(slot_proxy_handle_drop), (slot_proxy_drag_data_received),
      	* libnautilus-private/nautilus-dnd.h:
      	Add simple slot drop proxy API to libnautilus-private, centered
      	around nautilus_drag_slot_proxy_init().
      	The notebook tab label drop targets will later be ported to this API.
      	Add API for converting URI lists to URI arrays, and for constructing
      	URI lists and arrays from selection lists.
      	* src/nautilus-notebook.c (notebook_tab_drag_data_received):
      	Use nautilus_drag_uri_array_from_selection_list().
      	* src/nautilus-pathbar.c (slider_timeout),
      	(nautilus_path_bar_slider_drag_leave), (nautilus_path_bar_init),
      	(nautilus_path_bar_finalize), (button_data_free),
      	(button_drag_data_get_cb), (setup_button_drag_source),
      	* src/nautilus-pathbar.h:
      	Add path bar drop targets, use nautilus_drag_slot_proxy_init() for
      	Also offer GNOME icon lists as drag target.
      	Reveal hidden paths when hovering over the up/down sliders for some
      	time. Fixes #309842.
      svn path=/trunk/; revision=14356
  19. 21 May, 2008 1 commit
  20. 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
      	* libnautilus-private/nautilus-view.h:
      	* src/file-manager/fm-actions.h:
      	* src/file-manager/fm-directory-view.c
      	(action_location_cut_callback), (action_location_copy_callback),
      	(real_update_location_menu_volumes), (real_update_location_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
      	(path_bar_button_pressed_callback), (path_bar_path_set_callback):
      	* src/nautilus-pathbar.c (nautilus_path_bar_class_init),
      	* 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
  21. 14 Dec, 2007 1 commit
    • Alexander Larsson's avatar
      Only use <gio/gio.h> include · 6559286c
      Alexander Larsson authored
      2007-12-14  Alexander Larsson  <alexl@redhat.com>
              * libnautilus-private/nautilus-bookmark.c:
              * libnautilus-private/nautilus-bookmark.h:
              * libnautilus-private/nautilus-desktop-icon-file.c:
              * libnautilus-private/nautilus-desktop-link-monitor.c:
              * libnautilus-private/nautilus-desktop-link.c:
              * libnautilus-private/nautilus-desktop-link.h:
              * libnautilus-private/nautilus-directory-private.h:
              * libnautilus-private/nautilus-directory.h:
              * libnautilus-private/nautilus-emblem-utils.h:
              * libnautilus-private/nautilus-file-changes-queue.h:
              * libnautilus-private/nautilus-file-operations.c:
              * libnautilus-private/nautilus-file-operations.h:
              * libnautilus-private/nautilus-file-utilities.c:
              * libnautilus-private/nautilus-file-utilities.h:
              * libnautilus-private/nautilus-file.c:
              * libnautilus-private/nautilus-file.h:
              * libnautilus-private/nautilus-icon-info.c:
              * libnautilus-private/nautilus-icon-info.h:
              * libnautilus-private/nautilus-link.c:
              * libnautilus-private/nautilus-mime-actions.h:
              * libnautilus-private/nautilus-mime-application-chooser.c:
              * libnautilus-private/nautilus-monitor.c:
              * libnautilus-private/nautilus-monitor.h:
              * libnautilus-private/nautilus-open-with-dialog.c:
              * libnautilus-private/nautilus-open-with-dialog.h:
              * libnautilus-private/nautilus-program-choosing.c:
              * libnautilus-private/nautilus-program-choosing.h:
              * libnautilus-private/nautilus-progress-info.h:
              * libnautilus-private/nautilus-recent.h:
              * libnautilus-private/nautilus-search-directory.c:
              * libnautilus-private/nautilus-search-engine-simple.c:
              * libnautilus-private/nautilus-trash-monitor.c:
              * libnautilus-private/nautilus-trash-monitor.h:
              * libnautilus-private/nautilus-ui-utilities.c:
              * libnautilus-private/nautilus-view-factory.h:
              * src/file-manager/fm-directory-view.c:
              * src/file-manager/fm-directory-view.h:
              * src/file-manager/fm-icon-container.c:
              * src/file-manager/fm-icon-view.c:
              * src/file-manager/fm-tree-model.h:
              * src/file-manager/fm-tree-view.c:
              * src/nautilus-application.c:
              * src/nautilus-application.h:
              * src/nautilus-bookmark-list.c:
              * src/nautilus-bookmark-list.h:
              * src/nautilus-desktop-window.c:
              * src/nautilus-image-properties-page.c:
              * src/nautilus-location-entry.c:
              * src/nautilus-navigation-window.c:
              * src/nautilus-pathbar.c:
              * src/nautilus-pathbar.h:
              * src/nautilus-places-sidebar.c:
              * src/nautilus-property-browser.c:
              * src/nautilus-query-editor.c:
              * src/nautilus-window-menus.c:
      	Only use <gio/gio.h> include 
      svn path=/trunk/; revision=13529
  22. 30 Nov, 2007 1 commit
  23. 08 Jul, 2006 1 commit
    • Christian Neumair's avatar
      Add nautilus_find_existing_uri_in_hierarchy. Remove undefined · 092c35cb
      Christian Neumair authored
      2006-07-08  Christian Neumair  <chris@gnome-de.org>
      	* libnautilus-private/nautilus-file-utilities.c:
      	* libnautilus-private/nautilus-file-utilities.h:
      	Add nautilus_find_existing_uri_in_hierarchy.
      	Remove undefined in_gnome_path helper declarations.
      	* src/nautilus-pathbar.c:
      	* src/nautilus-pathbar.h:
      	Make nautilus_path_bar_clear_buttons public.
      	* src/nautilus-window-manage-views.c: (viewed_file_changed_callback):
      	If the displayed location was removed, and it has an existing parent,
      	navigate window to this parent. Fixes #336724.
  24. 08 Jul, 2005 1 commit
    • Alexander Larsson's avatar
      Patch from Jamie McCracken <jamiemcc@blueyonder.co.uk> · 5d20d56e
      Alexander Larsson authored
      2005-07-08  Alexander Larsson  <alexl@redhat.com>
              Patch from Jamie McCracken <jamiemcc@blueyonder.co.uk>
      	* src/Makefile.am:
      	* src/nautilus-pathbar.[ch]:
      	New pathbar widget. Based on code from gtk.
      	* src/nautilus-navigation-window.[ch]:
      	* src/nautilus-window-manage-views.c:
      	* src/nautilus-window-private.h:
      	Use pathbar in browser window.
      	* libnautilus-private/apps_nautilus_preferences.schemas.in:
      	* libnautilus-private/nautilus-global-preferences.[ch]:
      	Add always_use_location_entry prefs.
      	* src/nautilus-navigation-window-menus.c:
      	Whitespace fixup.