From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QdleJ-0001YM-GJ for garchives@archives.gentoo.org; Mon, 04 Jul 2011 16:05:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 653A821C078; Mon, 4 Jul 2011 16:04:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2608B21C078 for ; Mon, 4 Jul 2011 16:04:39 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D27B1B4016 for ; Mon, 4 Jul 2011 16:04:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id BE64B8003D for ; Mon, 4 Jul 2011 16:04:37 +0000 (UTC) From: "Wiktor W Brodlo" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" Message-ID: <48a22c0559e39d4d0affed78130160a62d86d579.wiktor@gentoo> Subject: [gentoo-commits] proj/anaconda:master commit in: /, iw/ X-VCS-Repository: proj/anaconda X-VCS-Files: dispatch.py gui.py installclass.py iw/systools_gui.py X-VCS-Directories: / iw/ X-VCS-Committer: wiktor X-VCS-Committer-Name: Wiktor W Brodlo X-VCS-Revision: 48a22c0559e39d4d0affed78130160a62d86d579 Date: Mon, 4 Jul 2011 16:04:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: a468cc092c50fa9e2510a8261d243695 commit: 48a22c0559e39d4d0affed78130160a62d86d579 Author: wiktor w brodlo brodlo net> AuthorDate: Mon Jul 4 16:04:23 2011 +0000 Commit: Wiktor W Brodlo brodlo net> CommitDate: Mon Jul 4 16:04:23 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3D48a22c05 Yirst version of systools --- dispatch.py | 2 +- gui.py | 1 + installclass.py | 1 + iw/systools_gui.py | 47 ++++++++++++++++++++++++++++++++++++++++++++++= + 4 files changed, 50 insertions(+), 1 deletions(-) diff --git a/dispatch.py b/dispatch.py index ff469d9..ec7a447 100644 --- a/dispatch.py +++ b/dispatch.py @@ -110,7 +110,7 @@ installSteps =3D [ ("accounts", ), =20 # Installing Necessary System Tools - # syslog and cron + ("systools", ), =20 # Configuring the Bootloader ("upgbootloader", ), diff --git a/gui.py b/gui.py index 0a5b161..6188182 100755 --- a/gui.py +++ b/gui.py @@ -93,6 +93,7 @@ stepToClass =3D { "accounts" : ("account_gui", "AccountWindow"), =20 # Installing Necessary System Tools + "systools" : ("systools_gui", "SystoolsWindow"), =20 # Configuring the Bootloader "bootloader": ("bootloader_main_gui", "MainBootloaderWindow"), diff --git a/installclass.py b/installclass.py index fe39e3a..6efe31b 100644 --- a/installclass.py +++ b/installclass.py @@ -117,6 +117,7 @@ class BaseInstallClass(object): "accounts", =20 # Installing Necessary System Tools + "systools", =20 # Configuring the Bootloader "bootloadersetup", =20 diff --git a/iw/systools_gui.py b/iw/systools_gui.py new file mode 100644 index 0000000..f1e3773 --- /dev/null +++ b/iw/systools_gui.py @@ -0,0 +1,47 @@ +# +# systools_gui.py: gui cron and system logger selection. +# +# Copyright (C) 2011 wiktor w brodlo +# Copyright (C) 2011 Gentoo Foundation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +import string +import gtk +import gtk.glade +import gtk.gdk +import gobject +import pango +import sys +import gui + +from iw_gui import * + +from constants import * +import gettext +_ =3D lambda x: gettext.ldgettext("anaconda", x) + +class SystoolWindow(InstallWindow): + def getNext(self): + return None + + def getScreen(self, anaconda): + self.anaconda =3D anaconda + self.intf =3D anaconda.intf =20 + + (self.xml, self.align) =3D gui.getGladeWidget("systool.glade", "systoo= l_align") + =09 + return self.align +