From 0392a7dcbaa08cbc73e091422bf6f68dbfa8d7f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 23 Jun 2008 22:30:43 +0200 Subject: Finished send_mail work --- portato/gui/templates/MailInfoWindow.glade | 117 +++++++++++++++++------------ portato/gui/windows/mailinfo.py | 3 +- 2 files changed, 68 insertions(+), 52 deletions(-) (limited to 'portato') diff --git a/portato/gui/templates/MailInfoWindow.glade b/portato/gui/templates/MailInfoWindow.glade index 6d72295..743c81c 100644 --- a/portato/gui/templates/MailInfoWindow.glade +++ b/portato/gui/templates/MailInfoWindow.glade @@ -1,10 +1,12 @@ - + Send Bug Mail ... GTK_WIN_POS_CENTER + 450 + 230 True GDK_WINDOW_TYPE_HINT_DIALOG True @@ -17,41 +19,57 @@ True 4 2 + 10 - + True - <b><u>Additional Information</u></b> - -(all optional) - True - GTK_JUSTIFY_CENTER + True + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + + + 50 + True + True + + + 1 2 + 3 + 4 + 5 - + True - True + 0 + Comments / +what did you do to hit the bug? - 1 - 2 - 1 - 2 + 3 + 4 + GTK_FILL + 5 - + True - True + 0 + Name: + True - 1 - 2 - 2 - 3 + 1 + 2 + GTK_FILL + GTK_FILL + 5 @@ -64,62 +82,58 @@ 2 3 + GTK_FILL + GTK_FILL 5 - + True - 0 - Name: - True + True - 1 - 2 + 1 + 2 + 2 + 3 + GTK_FILL + GTK_FILL 5 - + True - 0 - Comments / -what did you do to hit the bug? + True - 3 - 4 + 1 + 2 + 1 + 2 + GTK_FILL 5 - + True - 0 - 0 - GTK_SHADOW_IN - - - True - True - - - - - - label_item - - + <b><u>Additional Information</u></b> + +(all optional) + True + GTK_JUSTIFY_CENTER - 1 2 - 3 - 4 + GTK_FILL + + 5 + @@ -176,6 +190,9 @@ what did you do to hit the bug? + False + False + 5 1 diff --git a/portato/gui/windows/mailinfo.py b/portato/gui/windows/mailinfo.py index 93d2be4..8e476c6 100644 --- a/portato/gui/windows/mailinfo.py +++ b/portato/gui/windows/mailinfo.py @@ -12,13 +12,12 @@ from __future__ import absolute_import -import gtk import smtplib import time from .basic import AbstractDialog from ..utils import GtkThread -from ...helper import debug +from ...helper import debug, info from ...constants import VERSION class MailInfoWindow (AbstractDialog): -- cgit v1.2.3