1. 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
      95ecfc8e
  2. 09 Feb, 2018 1 commit
    • Ernestas Kulik's avatar
      general: refactor extension library · 7e2605c6
      Ernestas Kulik authored
      The changes include:
      
        * adding a single-include header and deprecating
          nautilus-extension-types.h and direct inclusions of individual
          headers;
      
        * type definition simplifications - this causes some breakages in
          nautilus-file, because NautilusFile used to be typedefed to
          NautilusFileInfo, and that is no longer possible, so the interface
          implementation was moved to static functions and the public
          NautilusFile API provides thin wrappers for them to maintain
          compatibility;
      
        * documentation cleanups and reorganization;
      
        * general build rule and code cleanups: mostly g_auto* sprinkled
          around and style changes (sorry)
      7e2605c6
  3. 02 Sep, 2017 1 commit
  4. 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.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=765543
      7e24f1b2
  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.
      1ffb8ca5
  6. 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
  7. 23 May, 2015 1 commit
  8. 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
      1968379a
  9. 31 Jan, 2014 1 commit
  10. 22 Jan, 2013 1 commit
  11. 11 Jan, 2011 1 commit