5
def __init__(self, Prefix, MainClass, MainWindow):
6
self.WindowGlade = gtk.glade.XML(Prefix + '/glade/main.glade', 'feedback_report')
7
self.Window = self.WindowGlade.get_widget('feedback_report')
8
self.Window.set_transient_for(MainWindow)
9
self.Window.set_icon_from_file(Prefix + '/scalable/alarm-clock.svg')
11
OkButton = self.WindowGlade.get_widget('ok_button')
12
CancelButton = self.WindowGlade.get_widget('cancel_button')
13
Event = self.WindowGlade.get_widget('event')
15
Event.modify_bg(gtk.STATE_NORMAL, gtk.gdk.Color(65535, 65535, 65535))
16
self.WindowGlade.get_widget('ACIcon').set_from_file(Prefix + '/scalable/alarm-clock.svg')
17
CancelButton.connect('clicked', self.Cancel)
22
def Cancel(self, Button):