1. 29 Oct, 2018 1 commit
    • ionbabalau's avatar
      eel-string: Add description to some eel-string functions · d4983562
      ionbabalau authored
      The eel_str_double_underscores and eel_str_capitalize
      functions didn't have documentation.
      Added importance of eel_str_double_underscores as well.
      
      It's good practice to have documentation for functions
      in the long term.
      d4983562
  2. 30 May, 2018 1 commit
    • Ernestas Kulik's avatar
      canvas-item: Drop gtk_style_context_get_background_color() · 487213ad
      Ernestas Kulik authored
      Even though more convoluted than the previous solution, this one
      should last longer. Canvas item icons are now colorized by first drawing
      the background to a Cairo surface and then multiplying the color values
      of the original icon pixbuf and the ones from the newly created one.
      487213ad
  3. 28 May, 2018 1 commit
  4. 22 May, 2018 2 commits
  5. 18 May, 2018 1 commit
  6. 21 Mar, 2018 1 commit
  7. 19 Mar, 2018 2 commits
  8. 18 Mar, 2018 1 commit
    • Ernestas Kulik's avatar
      general: Allow running in separate instance · df583c2e
      Ernestas Kulik authored
      When hacking on Nautilus, it is very inconvenient to have to close any
      running instance before running the built version. This commit enables
      running three different instances by changing the application ID.
      Beside the default “profile” is one crafted for stable flatpak
      releases and one for development. The stable flatpak profile adds an
      identifying mark to the about dialog to aid collecting information in
      bug reports. The development profile is that plus additional styling to
      help visually identify the development instance. It also will be used
      when generating Flatpak bundles with the help of CI.
      
      Generally, the implementation is slightly hacky to allow all the
      different workflows, spanning from regular installations to GNOME
      Builder flatpak builds, as each comes with its own quirks.
      df583c2e
  9. 16 Mar, 2018 1 commit
  10. 05 Mar, 2018 2 commits
  11. 01 Mar, 2018 1 commit
    • Ernestas Kulik's avatar
      general: don’t shadow variables · 6286e0a0
      Ernestas Kulik authored
      Shadowing variables is error-prone, since one might mean to refer to a
      variable that was declared earlier, but has the same name. Additionally,
      being more strict about variable scoping can help make the code more
      readable.
      6286e0a0
  12. 27 Feb, 2018 1 commit
    • Ernestas Kulik's avatar
      eel: string: refactor middle truncation · 53650572
      Ernestas Kulik authored
      This commit tries to make the function more readable and fixes the allocation of
      the new string: the truncated string is of the same size as the source string.
      This can be fixed by adding a couple of different allocations. :)
      Some comments were trimmed down or removed.
      53650572
  13. 13 Feb, 2018 2 commits
  14. 12 Feb, 2018 1 commit
    • Carlos Soriano Sánchez's avatar
      files-view: Show starring only for indexed (by default) files · c6657af3
      Carlos Soriano Sánchez authored
      Currently the star menu item is shown for every file in the system,
      however when a file is not indexed by tracker this operation fails.
      
      We cannot set Tracker to index the file and wait for Tracker to index
      it, since that happens in an idle and Tracker doesn't queue the
      operation of starring.
      
      There is no easy solution for this, so for now we will show the star
      menu item for indexed (by default) locations, which are the XDG folders,
      otherwise we will hide the item.
      
      A better solution needs to be researched for 3.30, but this will do for
      now.
      
      Related #243
      c6657af3
  15. 06 Feb, 2018 2 commits
  16. 20 Jan, 2018 1 commit
  17. 16 Jan, 2018 1 commit
    • Ernestas Kulik's avatar
      general: only remember window size · f0df1fc5
      Ernestas Kulik authored
      Currently, Nautilus is able to save the last window position when it’s
      closed. That is broken in certain cases (#197 and multi-monitor setups
      in general) and therefore window placement is best left to the window
      manager.
      f0df1fc5
  18. 06 Jan, 2018 1 commit
  19. 04 Jan, 2018 1 commit
  20. 02 Jan, 2018 4 commits
    • Ernestas Kulik's avatar
      eel: remove unused code · d48db627
      Ernestas Kulik authored
      Additionally, this commit makes some unused public functions static.
      d48db627
    • Ernestas Kulik's avatar
      program-choosing: drop eel dependency · e3777b54
      Ernestas Kulik authored
      Terminal applications are launched via eel, and, since this file is the
      only consumer of that API, the code from eel can be moved over.
      e3777b54
    • Ernestas Kulik's avatar
      build: general cleanups · 983892a6
      Ernestas Kulik authored
      This commit does the following:
        * Canonicalize the style:
          * Use two-space indentations.
          * Un-Autotools-ify option names.
          * Don’t align arguments, simply increase indentation.
          * Don’t add a space before opening parenthesis in calls.
        * Remove unused variables.
        * Remove unused dependencies.
        * Remove config.h.meson.
        * Optimize dependencies.
        * Use disabler functionality for libselinux dependency, to save lines.
      983892a6
    • Ernestas Kulik's avatar
      general: remove desktop support · 74dd9c9f
      Ernestas Kulik authored
      74dd9c9f
  21. 23 Dec, 2017 1 commit
    • Ernestas Kulik's avatar
      file-utilities: rework common prefix computation · 61ac48bd
      Ernestas Kulik authored
      Currently, the process for getting the common prefix of a list of file
      names is a tad too greedy:
          1. Find the common prefix of all the strings.
          2. Strip the extension from the prefix.
          3. Strip trailing punctuation.
      
      Step 2 may strip dots if there’s trailing whitespace and step 3 may
      strip useful punctuation (e.g. parentheses). This commit reworks the
      process as such:
          1. Strip the extension from all the file names.
          2. Find the common prefix of all the strings.
          3. Trim trailing whitespace.
      
      Fixes #174.
      61ac48bd
  22. 21 Dec, 2017 1 commit
  23. 19 Dec, 2017 1 commit
    • Alexandru Fazakas's avatar
      eel/eel-gtk-extensions.c: Remove expander showing error details · 28ae2d03
      Alexandru Fazakas authored
      Creating directories within read-only ones is not allowed and appropriate
      error messages pop up.
      
      Trying to create a directory within a read-only directory opens a window
      showing the error. Within the window, an expander shows the error details.
      Whenever the expander is clicked, the window moves unexpectedly.
      We need to fix this as the behaviour is not normal and doesn't look good.
      
      In order to fix the issue, we removed the expander and included the error
      details as a label inside the dialog box itself.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=786212
      28ae2d03
  24. 05 Nov, 2017 1 commit
  25. 17 Aug, 2017 1 commit
  26. 22 Mar, 2017 1 commit
  27. 23 Feb, 2017 2 commits
  28. 21 Sep, 2016 1 commit
  29. 08 Sep, 2016 1 commit
  30. 06 Sep, 2016 1 commit
  31. 29 Aug, 2016 1 commit