/[gli]/branches/overhaul/src/fe/gtk/gtkfe.py
Gentoo

Diff of /branches/overhaul/src/fe/gtk/gtkfe.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1799 Revision 1800
6# of which can be found in the main directory of this project. 6# of which can be found in the main directory of this project.
7 7
8import sys 8import sys
9sys.path.append("../..") 9sys.path.append("../..")
10 10
11import os
11import GLIInstallProfile 12import GLIInstallProfile
12import GLIClientController 13import GLIClientController
13import GLIUtility 14import GLIUtility
14from SplashScreen import SplashScreen 15from SplashScreen import SplashScreen
15import gtk 16import gtk
251 errdlg = gtk.MessageDialog(parent=self.window, type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_OK, message_format=_("An error occured saving the install profile")) 252 errdlg = gtk.MessageDialog(parent=self.window, type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_OK, message_format=_("An error occured saving the install profile"))
252 errdlg.run() 253 errdlg.run()
253 errdlg.destroy() 254 errdlg.destroy()
254 255
255 def log_button(self, widget, data=None): 256 def log_button(self, widget, data=None):
256 GLIUtility.spawn("xterm -e 'tail -f /var/log/installer.log' &") 257 os.system("xterm -e 'tail -f /var/log/installer.log' &")
257 258
258 def delete_event(self, widget, event, data=None): 259 def delete_event(self, widget, event, data=None):
259 msgdlg = gtk.MessageDialog(parent=self.window, type=gtk.MESSAGE_QUESTION, buttons=gtk.BUTTONS_YES_NO, message_format=_("Do you really want to exit the installer before the install is complete?")) 260 msgdlg = gtk.MessageDialog(parent=self.window, type=gtk.MESSAGE_QUESTION, buttons=gtk.BUTTONS_YES_NO, message_format=_("Do you really want to exit the installer before the install is complete?"))
260 resp = msgdlg.run() 261 resp = msgdlg.run()
261 msgdlg.destroy() 262 msgdlg.destroy()

Legend:
Removed from v.1799  
changed lines
  Added in v.1800

  ViewVC Help
Powered by ViewVC 1.1.20