~ubuntu-branches/ubuntu/wily/rootstock/wily

« back to all changes in this revision

Viewing changes to gui/lib/rootstock-tasksel

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-03-05 10:31:56 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100305103156-7183iluikgdbrbv0
Tags: 0.1.99.2-0ubuntu1
* New upstream bugfix release
 - use ext3 for qemu images if --keepimage is used (LP: #437619)
 - use proper apt caret syntax for tasks
 - set proper application icons for gtk windows
 - make rootstock-gtk build in (LP: #532342) $TMPDIR or fall back to /tmp
 - rework strings of error and success dialogs
 - make output directory selectable (LP: #532342)
 - split progress handling into its various stages in  GUI
 - handle term signal in trap code in rootstock script
 - enable archive kernel for lucid builds in rootstock script and use it for
   all distro releases
 - determine UUID of image and write to fstab inside the rootfs if
   --keepimage is used
 - do not use a swapfile by default (changes --noswap to --do-swap)
 - move .desktop file to System->Settings category (LP: #532343)
 - disable profile load/save UI entries, the feature is not there yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
pygtk.require("2.0")
26
26
import gtk, gobject
27
27
 
28
 
iconpath="../images/rootstock_icon.png"
 
28
icon_theme = gtk.icon_theme_get_default()
29
29
retval = []
30
30
 
31
31
class GUI:
34
34
        self.root.set_title("Select Tasks for installation")
35
35
        self.root.connect("destroy", self.destroy_cb)
36
36
        self.root.set_default_size(400, 300)
37
 
        self.root.set_icon_from_file(iconpath)
 
37
 
 
38
        try:
 
39
            pixbuf = icon_theme.load_icon("rootstock_64", 24, 0)
 
40
        except:
 
41
            pass
 
42
        gtk.window_set_default_icon_list(pixbuf)
 
43
 
38
44
        self.scroll = gtk.ScrolledWindow(hadjustment=None, vadjustment=None)
39
45
        self.box = gtk.VBox()
40
46
        self.box2 = gtk.VBox()