summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2008-06-20 21:36:26 -0400
committerSøren Sandmann <sandmann@redhat.com>2008-06-20 21:36:26 -0400
commit02a89709e71384a4f6ef54bfd97eb2c4100d8136 (patch)
treed90e6fed03df943dc68dd03f12b3293d6acd0bbe /TODO
parent8111bc0c9600e42a96b01d6f6ad630f4bb06c970 (diff)
Don't cache the meta data
Diffstat (limited to 'TODO')
-rw-r--r--TODO34
1 files changed, 34 insertions, 0 deletions
diff --git a/TODO b/TODO
index ec000f6..879a0ca 100644
--- a/TODO
+++ b/TODO
@@ -5,12 +5,46 @@
- Statusbar
- Size, position, color
+- One-instance
+ - Make it one-instance with d-bus so that if you try to open the
+ same image twice, you will get the old window.
+
+ - Own the "siv.gnome.org" name, have a method to open a new
+ window (or present an existing one).
+
+ - On startup:
+ if (!own_name())
+ get_name().open (filename);
+ else
+ open (filename);
+
+ - Look at evince.
+
+ - "Open a copy"
+
+ - At that point, caching the meta data should be feasible (though it
+ should still deal with the case where someone presses Ctrl-C).
+
- Metadata
- Keep track of when files are used
- Limit size to 1000 most recently used files
Done:
+- If more than one instance of the application is
+ open, then things go haywrite.
+
+ Either only allow one open instance, or monitor the metadata file.
+
+ Or only write out the ones we have changed - ie., write-out
+ consists of reading the file into hash table, then modifying, then
+ writing out.
+
+ In fact, maybe we should just never cache the table in memory.
+ Just read it every time we need data from it.
+
+ If people put .gnome2 on NFS, then they lose.
+
- Set mimetypes in open dialog
- Dragging