Detect External Modifications

Registered by Yuri Malheiros on 2009-01-28

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:
milestone icon 0.3.1
Started by
Yuri Malheiros on 2009-07-29

Related branches

Sprints

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

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.