1. 25 Feb, 2019 1 commit
  2. 13 Jul, 2018 1 commit
  3. 18 May, 2018 1 commit
    • Ernestas Kulik's avatar
      general: Clean up headers and their inclusions · e686c297
      Ernestas Kulik authored
      This commit removes redundant header inclusions and tries to optimize
      headers by using forward declarations of types in headers. Such
      optimization should generally make builds speedier in that changes in
      certain headers will not cause unrelated sources to be rebuilt.
  4. 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
  5. 30 Jan, 2018 2 commits
    • António Fernandes's avatar
      canvas-container: Drop get_selected_icons_bounding_box API · 42e86583
      António Fernandes authored
      This is not used anymore.
      We only need one bounding box, which is provided by the new
      So remove unused API. We can always revert this if we need it.
    • António Fernandes's avatar
      files-view: Pop up context menu near selection · 29cf64bd
      António Fernandes authored
      Context menus pop up where the pointer is, which is at the
      selection if the pointing device is used to open the menu.
      However, if the <Menu> key or <Shift>+<F10> keyboard shortcut
      are used, context menus still shows up wherever the pointer is,
      which may not be near the selected item at all.
      Instead, when the context menu is activated from the keyboard,
      show it next to the selected item. If multiple items are selected,
      show it next to the focused item. If the focus is not on a selected
      item, show it next to the selected item which is sorted the lowest.
      In all cases, scroll as necessary to make sure the whole item is
      Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=102666
  6. 02 Jan, 2018 1 commit
  7. 25 Apr, 2016 1 commit
    • Carlos Soriano Sánchez's avatar
      general: merge libnautilus-private to src · 7e24f1b2
      Carlos Soriano Sánchez authored
      And fix make distcheck.
      Although libnautilus-private seem self contained, it was actually
      depending on the files on src/ for dnd.
      Not only that, but files in libnautilus-private also were depending on
      dnd files, which you can guess it's wrong.
      Before the desktop split, this was working because the files were
      distributed, but now was a problem since we reestructured the code, and
      now nautilus being a library make distcheck stop working.
      First solution was try to fix this inter dependency of files, but at
      some point I realized that there was no real point on splitting some of
      those files, because for example, is perfectly fine for dnd to need to
      access the window functions, and it's perfectly fine for the widgets
      in the private library to need to access to all dnd functions.
      So seems to me the private library of nautilus is somehow an artificial
      split, which provides more problems than solutions.
      We needed libnautilus-private to have a private library that we could
      isolate from extensions, but I don't think it worth given the problems
      it provides, and also, this not so good logical split.
      Right now, since with the desktop split we created a libnautilus to be
      used by the desktop part of nautilus, extensions have access to all
      the API of nautilus. We will think in future how this can be handled if
      we want.
      So for now, merge the libnautilus-private into src, and let's rethink
      a better logic to split the code and the private parts of nautilus than
      what we had.
      Thanks a lot to Rafael Fonseca for helping in get this done.
  8. 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.
  9. 16 Aug, 2015 1 commit
    • Carlos Soriano Sánchez's avatar
      nautilus-view: use popover for renaming · 328348c6
      Carlos Soriano Sánchez authored
      Some users felt it quite disruptive to us a dialog, even
      if the attention has to be on the name entry.
      Also it's the way that GtkFileChooser implemented it
      and it actually feels less disruptive and desigerns agreed
      it works better.
      So continue to use a dialog for the new folder creation, but use
      a popover for renaming.
  10. 23 May, 2015 2 commits
  11. 11 Mar, 2015 1 commit
    • Carlos Soriano Sánchez's avatar
      desktop-canvas-view: reorder if icon size changes · e0081be7
      Carlos Soriano Sánchez authored
      We changed the icons zoom levels icon sizes, which works fine on
      the common nautilus window since the icons are positioned every time
      we create a new view, etc.
      The desktop view save the icon positions, so when we changed to a
      larger size of icons by default the icons overlapped each one, looking
      really bad for the people who update from an older version of nautilus.
      This doesn't happen in clean installs, since there is not saved
      positions of the icons.
      To fix this rearrange the icons every time we found that the icons were
      stored with a icon size different than what we have now or if we don't
      have this metadata available.
      That will only happen the first time the user runs nautilus with this
      patch, since that key of the metadata won't be available; or every time
      we change the hardcoded icon sizes for the zoom levels.
  12. 24 Jan, 2015 1 commit
    • Carlos Soriano's avatar
      nautilus-icon-info: rework zoom levels · 1968379a
      Carlos Soriano authored
      Following a design request and preparing to the port to popovers of
      nautilus, we want to use only 3 zoom levels for each kind of view, so
      the slider makes sense.
      Also, following design guidelines, the new zoom levels sizes for icon
      view are 64, 96, 128, with default to 96 and 16, 32, 48 for list view,
      32 being the default
  13. 22 Dec, 2014 1 commit
  14. 30 Aug, 2014 2 commits
  15. 31 Jan, 2014 1 commit
  16. 06 Mar, 2013 1 commit
  17. 21 Jan, 2013 1 commit
  18. 04 Oct, 2012 1 commit
    • Cosimo Cecchi's avatar
      canvas-container: remove NautilusCanvasLayoutMode · d6c89019
      Cosimo Cecchi authored
      Since we use the vertical layout only for the desktop these days, remove
      NautilusCanvasLayoutMode completely, and just return TRUE from
      nautilus_canvas_container_layout_is_vertical() if we're a desktop
      This allows to remove a lot of unused layouting code.
  19. 07 Aug, 2012 2 commits