1. 06 Feb, 2019 1 commit
    • Carlos Soriano's avatar
      toolbar: Improve menu actions discoverability and disposition · 7bf3732a
      Carlos Soriano authored
      We have some background menu items available in the pathbar buttons
      such as "Select All" or "New Folder", however we decided to duplicate
      some of them into the hamburguer menu for better discoverability.
      
      Not sure if this is a long term plan, but for now it will fix the issue
      of discoverability of those actions.
      
      Since the hamburguer menu now mixes actions from different contexts, we
      can rearrange a few other menu items from the view menu to the
      hamburguer menu, specially those that are not related to the view like
      "show hidden files".
      7bf3732a
  2. 03 May, 2018 1 commit
    • Carlos Soriano Sánchez's avatar
      general: Add actions to the toolbar · f278574d
      Carlos Soriano Sánchez authored
      Generally actions in Nautilus were accessed through context menus or
      keyboard shorcuts. However, those are not very discoverable and are
      not touch friendly.
      
      Even more, in list view it was not possible to access background actions
      since there is always a selection, making Nautilus UX quite poor in that
      case.
      
      Also some actions were placed in the app menu, which didn't was not as
      clear for some people given that we have most of actions in the toolbar.
      
      In all, we came with a new design that solves the main goals of
      discoverability, touch friendly and accessibility for background actions
      and app actions, and now are placed in the toolbar together with an
      overhaul of the looks of Nautilus path bar and search.
      
      There is still work to do, specifically finding a design that works for
      the selection actions and also to replace the current information
      floating bar. The later might be just a different goal. However this
      goes in the right direction.
      
      See #322
      f278574d
  3. 23 Jan, 2018 1 commit
  4. 29 Jun, 2016 1 commit
  5. 23 Jun, 2016 2 commits
    • Neil Herald's avatar
      toolbar: move undo/redo toolbar menu code into toolbar · a312f565
      Neil Herald authored
      Due to the toolbar menu reorganisation work, the code to create and
      manage the undo/redo items on the menu ended up in files-view.c. This
      isn't the correct place as they don't have much to do with the files
      view. Some refactoring was needed before the code for these items could
      be moved back into the toolbar, which has now been done in a previous
      commit.
      
      This commit moves the undo/redo creation and management code into the
      toolbar.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=764632
      a312f565
    • Neil Herald's avatar
      view: allow view to have more control over the toolbar menu · 35f10147
      Neil Herald authored
      Currently we have this menu structure:
      
      ------------------------------
      1. New Folder/New Tab/Bookmark
      ------------------------------
      2. Zoom controls
      ------------------------------
      3. Undo/Redo
      ------------------------------
      4. Sort options
      ------------------------------
      5. Other view related controls
      ------------------------------
      
      The view creates 2-5, contained in a single GtkWidget - which is then
      passed to the toolbar via the enclosing window slot. The problem is that
      3 shouldn't be created or managed by the view as the controls in that
      section of the menu are not related to the view. We'd like to move this
      responsibility back to the toolbar, but that would mean the view must
      pass multiple menu sections back to the toolbar (as 3 is in the middle
      of the other view controls).
      
      This change allows the view to pass multiple sections back to the
      toolbar, using the new NautilusToolbarMenuSections structure. The files
      view now passes 2 as a separate section to 3-5 (3 will be moved out of
      the view in a future commit).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=764632
      35f10147
  6. 22 Jun, 2016 10 commits
  7. 01 Mar, 2016 1 commit
  8. 24 Feb, 2016 1 commit
    • Carlos Soriano Sánchez's avatar
      general: add another zoom level · fd21c947
      Carlos Soriano Sánchez authored
      In icon view, add a smaller zoom level to be able for dense views,
      and increase the default padding to allow the labels enough space.
      
      Now levels are 48px, 64px, 96px and 128px for icon view, instead of
      only 64px, 96px and 128px, but with the increased padding the 64px and
      48px are useful.
      
      List view also gains a bigger level, and they become 16px, 32px, 48px,
      64px.
      
      Also, adjust the label max width to be larger, but inside the icon
      itself. This fixes the label not taking advantage of all the width the
      icon provides, and also a few cases where icons were misaligned.
      fd21c947
  9. 12 Feb, 2016 1 commit
    • Carlos Soriano Sánchez's avatar
      search: use a separate view setting for search · a88310dd
      Carlos Soriano Sánchez authored
      So we can select what type of view do we want for search independently
      of what we normally use.
      
      This is needed since we default to switch to list view for search, but
      we would like to allow users to select a different view. However,
      instead of adding a preference in the preference dialog, we can do it
      more straightforward and change the setting when we are in search.
      
      On the way, rework all the enums and views id for a saner code...
      a88310dd
  10. 12 Nov, 2015 1 commit
  11. 01 Sep, 2015 1 commit
  12. 22 Aug, 2015 1 commit
  13. 20 Jul, 2015 1 commit
  14. 01 Jul, 2015 1 commit
    • Carlos Soriano Sánchez's avatar
      toolbar: show modified time for all places except Recent · 76c63eb3
      Carlos Soriano Sánchez authored
      We changed to only show access time for sorting in the sort menu
      in 3.16 to avoid having both sorting options always present.
      But for folders like Downloads, the most useful sorting criteria is
      actually modified time, since it orders the files in downloading order.
      Actually modified time is more useful than access time is all cases
      except in "Recent", which what we actually want is the most recent
      accessed or modified file.
      
      For that, show only Modified Time sorting menu item in all places
      except in "Recent", where we will show only Access Time.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=748185
      76c63eb3
  15. 02 Feb, 2015 1 commit
  16. 29 Jan, 2015 1 commit
    • Carlos Soriano Sánchez's avatar
      nautilus-toolbar-view-menu: Add margin to separator · dd0aeac2
      Carlos Soriano Sánchez authored
      Currently the main GtkBox of the view menu has spacing for its sections,
      but we actually want only spacing for each separator, so there is not
      separation between radio items, but there is space between each section.
      
      So just replace the box spacing for margin in each separator.
      dd0aeac2
  17. 26 Jan, 2015 1 commit
  18. 24 Jan, 2015 1 commit
    • Carlos Soriano's avatar
      general: rework menus of nautilus · bb884cb6
      Carlos Soriano authored
      Refresh the nautilus menus in the view (context menus) and the menus in
      the toolbar, changin as well in the path the UI of the toolbar to match
      mockups.
      
      In the way, port to GAction and GMenu every action and menu of nautilus
      and some clean ups thanks to this port.
      bb884cb6