From b105a2a9e9068463eaad97b402209e3b944b6501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 22 Jun 2008 21:18:29 +0200 Subject: First mail window draft --- portato/gui/windows/mailinfo.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 portato/gui/windows/mailinfo.py (limited to 'portato/gui/windows/mailinfo.py') diff --git a/portato/gui/windows/mailinfo.py b/portato/gui/windows/mailinfo.py new file mode 100644 index 0000000..45b4273 --- /dev/null +++ b/portato/gui/windows/mailinfo.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# +# File: portato/gui/windows/mailinfo.py +# This file is part of the Portato-Project, a graphical portage-frontend. +# +# Copyright (C) 2008 René 'Necoro' Neumann +# This is free software. You may redistribute copies of it under the terms of +# the GNU General Public License version 2. +# There is NO WARRANTY, to the extent permitted by law. +# +# Written by René 'Necoro' Neumann + +from __future__ import absolute_import + +import gtk + +from .basic import AbstractDialog +from ...helper import debug + +class MailInfoWindow (AbstractDialog): + + def __init__ (self, parent, tb): + + AbstractDialog.__init__(self, parent) + self.window.show_all() + + def cb_cancel_clicked (self): + + self.close() + return True -- cgit v1.2.3