summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
Diffstat (limited to 'portato')
-rw-r--r--portato/gui/windows/main.py4
-rw-r--r--portato/gui/windows/preference.py12
2 files changed, 8 insertions, 8 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index d996526..30f31a1 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -714,7 +714,7 @@ class MainWindow (Window):
# notebooks
self.sysNotebook = self.tree.get_widget("systemNotebook")
self.pkgNotebook = self.tree.get_widget("packageNotebook")
- self.set_notebook_tabpos(map(PreferenceWindow.tabpos.get, map(int, (self.cfg.get("packageTabPos", "GTK"), self.cfg.get("systemTabPos", "GTK")))))
+ self.set_notebook_tabpos(map(PreferenceWindow.tabpos.get, map(int, (self.cfg.get("packageTabPos", "GUI"), self.cfg.get("systemTabPos", "GUI")))))
# the different scrolls
ebuildScroll = self.tree.get_widget("ebuildScroll")
@@ -790,7 +790,7 @@ class MainWindow (Window):
self.console.set_scrollback_lines(1024)
self.console.set_scroll_on_output(True)
- self.console.set_font_from_string(self.cfg.get("consolefont", "GTK"))
+ self.console.set_font_from_string(self.cfg.get("consolefont", "GUI"))
self.console.connect("button-press-event", self.cb_right_click)
self.termHB.pack_start(self.console, True, True)
diff --git a/portato/gui/windows/preference.py b/portato/gui/windows/preference.py
index 079a80d..a312d4b 100644
--- a/portato/gui/windows/preference.py
+++ b/portato/gui/windows/preference.py
@@ -103,7 +103,7 @@ class PreferenceWindow (AbstractDialog):
# the console font button
self.consoleFontBtn = self.tree.get_widget("consoleFontBtn")
- self.consoleFontBtn.set_font_name(self.cfg.get("consolefont", section = "GTK"))
+ self.consoleFontBtn.set_font_name(self.cfg.get("consolefont", section = "GUI"))
# the comboboxes
self.systemTabCombo = self.tree.get_widget("systemTabCombo")
@@ -115,8 +115,8 @@ class PreferenceWindow (AbstractDialog):
for i in (_("Top"), _("Bottom"), _("Left"), _("Right")):
m.append((i,))
- self.systemTabCombo.set_active(int(self.cfg.get("systemTabPos", section = "GTK"))-1)
- self.pkgTabCombo.set_active(int(self.cfg.get("packageTabPos", section = "GTK"))-1)
+ self.systemTabCombo.set_active(int(self.cfg.get("systemTabPos", section = "GUI"))-1)
+ self.pkgTabCombo.set_active(int(self.cfg.get("packageTabPos", section = "GUI"))-1)
self.window.show_all()
@@ -136,14 +136,14 @@ class PreferenceWindow (AbstractDialog):
self.cfg.set(val,self.tree.get_widget(edit).get_text())
font = self.consoleFontBtn.get_font_name()
- self.cfg.set("consolefont", font, section = "GTK")
+ self.cfg.set("consolefont", font, section = "GUI")
self.console_fn(font)
pkgPos = self.pkgTabCombo.get_active()+1
sysPos = self.systemTabCombo.get_active()+1
- self.cfg.set("packageTabPos", str(pkgPos), section = "GTK")
- self.cfg.set("systemTabPos", str(sysPos), section = "GTK")
+ self.cfg.set("packageTabPos", str(pkgPos), section = "GUI")
+ self.cfg.set("systemTabPos", str(sysPos), section = "GUI")
self.tabpos_fn(map(self.tabpos.get, (pkgPos, sysPos)))
=48fa7e6ef10bcc87e263f1c52d7430bafa23fe21&follow=1'>Second level of "emerge --update"necoro5-15/+120 2006-10-15Implemented emerge --syncnecoro2-0/+10 2006-10-15First implementation of "emerge --update world"necoro4-17/+100 2006-10-14Wah - I'm tired ...necoro1-3/+3 2006-10-14and now another bug -.-necoro1-2/+2 2006-10-14forgot one returnnecoro1-0/+2 2006-10-14Set min height to 600 if maxHeight is smaller then 800necoro2-4/+7 2006-10-13Some more documentationnecoro2-82/+298 2006-10-13Documentation worknecoro2-154/+160 2006-10-12Enabled oneshotnecoro3-32/+103 2006-10-12Layout updatenecoro1-16/+38 2006-10-12Fixed bugsnecoro2-15/+16 2006-10-12Migrated to UIManagernecoro1-33/+64 2006-10-10Fixed bug not showing the use-flag-list in some casesnecoro1-3/+5 2006-10-09bla - prepared 0.4.0 ; added dialogs.py; extended some commentsnecoro9-125/+293 2006-10-08Made the testing stuff working too ... I hope ^^ ... removed obsolete-dirnecoro7-145/+113 2006-10-05Added first support for the masking stuff ... and hoping that it is going to ...necoro5-79/+135 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