From 581f7e6b508c43250c4191ad740dd1b31a4ca9af Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 27 Jan 2009 22:00:12 +0100 Subject: Remove the cluttering section names; rename main session section from 'window' to 'gui' --- portato/gui/windows/preference.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'portato/gui/windows/preference.py') diff --git a/portato/gui/windows/preference.py b/portato/gui/windows/preference.py index fe1947b..87a1860 100644 --- a/portato/gui/windows/preference.py +++ b/portato/gui/windows/preference.py @@ -82,13 +82,13 @@ class PreferenceWindow (AbstractDialog): self.cfg = cfg # the size - height = self.cfg.get_session("prefheight", "window") + height = self.cfg.get_session("prefheight", "GUI") if height is None: height = int(gtk.gdk.screen_height() * 0.8) # see 4/5 * screen_height as maximum else: height = int(height) - width = self.cfg.get_session("prefwidth", "window") + width = self.cfg.get_session("prefwidth", "GUI") if width is None: width = -1 # default else: @@ -233,5 +233,5 @@ class PreferenceWindow (AbstractDialog): return True def cb_size_changed (self, widget, event, *args): - self.cfg.set_session("prefheight", "window", event.height) - self.cfg.set_session("prefwidth", "window", event.width) + self.cfg.set_session("prefheight", "GUI", event.height) + self.cfg.set_session("prefwidth", "GUI", event.width) -- cgit v1.2.3-70-g09d2 &id=1e9ddc03e5667e5a9297508f7bec8b7f3ea46dc9&follow=1'>commitdiff
path: root/doc/AUTHORS (unfollow)
Commit message (Expand)AuthorFilesLines
2006-10-05Changed changelog / added config-filenecoro2-0/+10
2006-10-05Added preference windownecoro4-49/+155
2006-10-02Corrected comments, structure, bad algorithms etcnecoro4-176/+209
2006-10-02Corrected indention in commentnecoro1-8/+6
2006-10-010.3.3necoro1-0/+6
2006-10-01Implemented an internal db; removed unmerge-bugnecoro2-26/+43
2006-09-30Implemented some new backend functions which speed up the package-list-creati...necoro2-12/+37
2006-09-300.3.2 release; changed font in terminal; added new "masking"-dialognecoro3-11/+36
2006-09-29fixed bugsnecoro4-13/+23
2006-09-29Corrected setup.pynecoro1-1/+1