Commit Graph

28 Commits

Author SHA1 Message Date
06b96eecea
GTK: restructure modules a bit 2015-12-23 16:14:38 +01:00
f55572542f
GTK: minor cleanup 2015-12-23 16:09:51 +01:00
4d2a4fd1fc
GTK: implement file move callbacks 2015-12-23 16:09:37 +01:00
9288be7ff7
GTK: readd copy mode dialog 2015-12-22 19:50:07 +01:00
0b41fee237
GTK: improve error dialog system 2015-12-22 17:56:37 +01:00
6a9d408925
GTK: remove debug prints 2015-12-22 17:50:31 +01:00
2486d83260
LIB/GTK: use AnchoredFile in IO.File
What's the point of having it anyway if we don't?
2015-12-22 14:15:48 +01:00
433cb164a6
LIB: improve symlink handling 2015-12-21 18:32:53 +01:00
0867c8b2e3
LIB/GTK: add '.' and '..' files, remove fsState and improve safety
We use canonicalizePaths where we need well-formed paths and cannot
rely on the input being sane.
2015-12-21 05:41:12 +01:00
fe6145d5be
LIB/GTK: change DirTree again
we now have:
* AnchoredFile -- for representing a file with context
* File         -- for representing a file only

Both representations mean "file" in the broader sense, including
directories.
2015-12-21 00:41:02 +01:00
5bfea0db10
GUI: clean up copyFinal
Don't show CopyModeChooserDialog for file copy operations.
2015-12-20 05:32:11 +01:00
3ba647d172
LIB/GTK: rewrite to use more atomic operations/data structures
This is a little bit less fancy, but avoids lazy IO. It depends a
little bit more on FilePath, but that also allows for a more general
interface.
2015-12-20 00:30:52 +01:00
ff40102fbe
GUI: allow deletion of non-empty directories 2015-12-18 17:15:53 +01:00
58665d7b29
LIB/GTK: enhance FileOperation type so we can have partial functions
This also add a copy mode dialog to the copy operations.
2015-12-18 16:55:46 +01:00
074ee45961
GTK: allow to start gui with specific directory 2015-12-18 14:11:26 +01:00
94095ec28b
GUI: minor cleanup 2015-12-18 04:22:21 +01:00
87ad7d02f0
LIB/GTK: refactor File API and add copyFile 2015-12-17 23:08:02 +01:00
d5c6eef49e
GTK: Refactor onRow
We name it withRow now and move the specific functions out of it.
2015-12-17 19:41:45 +01:00
8d9a6d7fb0
GTK: rename setBindings to setCallbacks 2015-12-17 17:48:35 +01:00
826ec65a68
LIB/GTK: use System.FilePath instead of System.FilePath.Posix 2015-12-17 17:46:55 +01:00
585a9fcc38
GTK: refactor 'onRow' and split out 'getSelectedRow' 2015-12-17 17:46:24 +01:00
82a4269cf7
GTK: remove redundant imports 2015-12-17 17:10:43 +01:00
78b6d5e52b
GTK: fix some callbacks to listen on the treeView instead of rootWin 2015-12-17 17:10:03 +01:00
41f47eea1e
GTK: Refresh treeview after deletion 2015-12-17 17:02:25 +01:00
4227921402
GTK: refactor updateTreeView
Move it to 'constructTreeView' and use 'refreshTreeView' instead
for updating the TreeView.
2015-12-17 17:02:25 +01:00
725744514b
GTK: add delete file/dir 2015-12-17 17:02:20 +01:00
0f1301622b
GTK: add statusBar
No text yet. Probably needs to be reflected in mygui or myview state.
2015-12-17 14:47:30 +01:00
d13cdac9e0
Initial commit 2015-12-17 04:42:22 +01:00