summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add a symbolic icon to Location and use it in the pathbarreroot-viewStefano Facchini2020-06-302-2/+18
|
* Adjust FolderWidget for being visible while scanningStefano Facchini2020-06-302-1/+3
|
* Report progress also for item numberStefano Facchini2020-06-302-2/+8
|
* Drop the "scanning" page and report progress in FolderDisplayStefano Facchini2020-06-303-30/+19
| | | | We reduce a bit the amount of transitiong, and it looks better when rescanning.
* More styling of FolderDisplayStefano Facchini2020-06-301-0/+5
| | | | | Add a border below and an icon suggesting that clicking there will take you up one level.
* Use the busy mouse cursor while mountingStefano Facchini2020-06-301-0/+2
| | | | It could take a while so better show that something is going on.
* Tweak the scanning page transitionStefano Facchini2020-06-301-1/+2
|
* Improve the scanning progress labelStefano Facchini2020-06-301-0/+1
|
* Use a GtkTreeView as FolderDisplay and wire up sortingStefano Facchini2020-06-302-27/+71
|
* Bring sorting backStefano Facchini2020-06-301-8/+25
|
* Start styling the pathbarStefano Facchini2020-06-301-0/+4
|
* Go up one level when FolderDisplay is clickedStefano Facchini2020-06-302-1/+22
|
* Put FolderDisplay class in its own source fileStefano Facchini2020-06-303-69/+91
|
* Throw only on errors for the location, not subdirectoriesStefano Facchini2020-06-302-17/+21
|
* Report the progress while scanningStefano Facchini2020-06-301-0/+13
|
* Add a way to retrieve the scanning progressStefano Facchini2020-06-301-0/+5
|
* Delay showing the result page until the scan is completedStefano Facchini2020-06-301-7/+16
| | | | | | | It seems that the combination GtkTreeView + GtkModelFilter chokes on directories with many entries. Show a simple "scanning page" instead.
* Reset active_location on cancelStefano Facchini2020-06-301-0/+2
|
* Start styling the FolderDisplay widgetStefano Facchini2020-06-302-6/+18
|
* Use the same formatting function everywhere in the UIStefano Facchini2020-06-303-41/+50
|
* Update the folder display after scanStefano Facchini2020-06-301-1/+3
|
* Fold two functions togetherStefano Facchini2020-06-301-17/+13
| | | | scan_active_location was now called only by scan_location.
* Split out a long anonymous functionStefano Facchini2020-06-301-34/+38
|
* Do not reroot at empty rowsStefano Facchini2020-06-302-8/+14
|
* Make sure a location has always a nameStefano Facchini2020-06-301-0/+7
|
* Re-root the treeview on row activationStefano Facchini2020-06-301-32/+44
| | | | In this way we can avoid horizontal scrolling in the treeview, at last.
* Clear pathbar and folder display when setting new locationStefano Facchini2020-06-302-2/+16
|
* Add a Pathbar widgetStefano Facchini2020-06-303-0/+97
| | | | Again, just a stub.
* Add a FolderDisplay widgetStefano Facchini2020-06-301-0/+59
| | | | Just a stub, lacks a ton of styling.
* Minor refactoringStefano Facchini2020-06-303-44/+45
|
* Fix the cancellation logicStefano Facchini2020-06-301-12/+5
| | | | | | | | | The cancellation error was actually never reported because the Results object carrying it was discarded in cancel_and_reset() when draining the async queue, so it never had a chance of being processed. Instead we synthetize a cancellation error ourselves and properly emit the completed() signal.
* Tweak color paletteStefano Facchini2020-06-281-1/+1
| | | | Rearrange the colors so that we start with red again, and remove brown.
* Update chart color paletteStefano Facchini2020-06-271-4/+4
| | | | Following https://developer.gnome.org/hig/stable/icon-design.html
* Invert default flag when scanning from command lineStefano Facchini2020-06-251-4/+4
| | | | Better to keep our old behaviour as default, it's simpler and more useful.
* Add -x command line option similar to duStefano Facchini2020-06-201-1/+9
|
* Split out a functionStefano Facchini2020-06-151-39/+43
|
* Decide early whether allocated or apparent size is usedStefano Facchini2020-06-144-85/+27
| | | | | | | We do this consistently in the scanner, then everyone else follows. As a bonus, percentages are now also consistent with this choice. As further bonus, we can do away with a column in the model.
* Move color definitions to the CSSStefano Facchini2020-06-132-22/+15
| | | | And do some cleanup.
* Reorganize source filesStefano Facchini2020-06-1310-1019/+0
|
* Add files to the modelStefano Facchini2020-06-121-46/+49
|
* Create the display name column only if neededStefano Facchini2020-06-122-10/+15
| | | | | For directories it doesn't change much because the 'elements' and 'state' columns will always be set, but when we add files this should help saving some memory.
* Remove unused information from the scannerStefano Facchini2020-06-121-7/+2
|
* Do not store the entire path of each fileStefano Facchini2020-06-125-23/+54
| | | | It is a waste of memory and it can be rebuilt when needed.
* Do not sort model until the scan is completedStefano Facchini2020-06-121-2/+4
| | | | Ordered insertion becomes too slow for directories with many entries.
* Stop scanning when crossing device boundaries, not mount pointsStefano Facchini2020-06-122-21/+8
| | | | | | | | | | | | | The previous behavior was: if the EXCLUDE_MOUNTS flag is set, stop scanning whenever a mount point is encountered, or any of the paths listed in the 'excluded-uris' setting; otherwise, scan the directory. Now the scanner *always* excludes the locations listed in 'excluded-uris'. If the EXCLUDE_MOUNTS flag is set, it stops when a directory is on a different unix device. This is more consistent with other similar tools, and behaves better in an OSTree system. Closes: https://gitlab.gnome.org/GNOME/baobab/-/issues/32
* Remove redundant checkStefano Facchini2020-06-121-12/+8
| | | | We already check for volume != null in the mount_volume method.
* Add the possibility to clear the list of recent locationsStefano Facchini2020-06-103-2/+24
| | | | Closes: https://gitlab.gnome.org/GNOME/baobab/-/issues/6
* Cleanup unused codeStefano Facchini2020-06-101-17/+0
|
* Do not use deprecated GtkStyleContext methodsStefano Facchini2020-06-103-14/+18
|
* Do not use deprecated popup functionsStefano Facchini2020-06-102-8/+4
|