[gimp] devel-docs: Add a paragraph about sessionrc
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] devel-docs: Add a paragraph about sessionrc
- Date: Tue, 19 Jan 2010 21:23:18 +0000 (UTC)
commit 862ae52d4ee236a78e95cccef70e878ad84bd718
Author: Martin Nordholts <martinn src gnome org>
Date: Sun Jan 17 20:08:32 2010 +0100
devel-docs: Add a paragraph about sessionrc
devel-docs/ui-framework.txt | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/devel-docs/ui-framework.txt b/devel-docs/ui-framework.txt
index f9c1c36..78b4d9d 100644
--- a/devel-docs/ui-framework.txt
+++ b/devel-docs/ui-framework.txt
@@ -44,3 +44,14 @@ One possible design adjustment would be to have GimpWidgetFactory that
takes care of 1), and then have GimpDialogFactory inherit from
GtkWidgetFactory and implementing 2). GimpWidgetFactory could possibly
use GtkBuilder.
+
+
+ sessionrc
+ ---------
+When GIMP starts, the sessionrc file is parsed. This step puts
+GimpSessionInfo:s into GimpDialogFactories. Later when dialogs are
+created, the dialog factory looks up existing session info entries. If
+one exists, it uses the session info to set e.g. the position of the
+created dialog. If it doesn't exist, it creates a new session info
+object for the dialog. When GIMP exists, the current session infos are
+then written back to sessionrc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]