Detect External Modifications
Registered by
Yuri Malheiros
Show a warning if a file opened in TextFlow was modified by another program.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- High
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Yuri Malheiros
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Beta Available
- Milestone target:
- 0.3.1
- Started by
- Yuri Malheiros
- Completed by
Whiteboard
A warning like gedit external modification warning. No dialogs.
Components:
- A message warning the user.
- A option to update the file with external modifications (a button)
- A option to close and don't load modifications (a "x" button)
use GIO monitor_file ?
Tasks:
* Create a widget to display warning message
* Monitoring every open document
- When open a new tab monitor the file
* Create a class FileMonitor and instance it in DocumentManager
* Create operations to do the file monitoring (FileMonitor Class)
- start monitoring
- stop monitoring
- load external modification
(?)