FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 01-14-2012, 08:06 PM
Chris Lumens
 
Default Make text on disks summary button underlined and blue.

> diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
> index a531d96..18c9ba1 100644
> --- a/pyanaconda/ui/gui/spokes/storage.py
> +++ b/pyanaconda/ui/gui/spokes/storage.py
> @@ -371,6 +371,9 @@ class StorageSpoke(NormalSpoke):
> def populate(self):
> NormalSpoke.populate(self)
>
> + summary_label = self.builder.get_object("summary_button").get_chil dren()[0]
> + summary_label.set_use_markup(True)
> +
> local_disks_box = self.builder.get_object("local_disks_box")
> #specialized_disks_box = self.builder.get_object("specialized_disks_box")
>
> @@ -430,7 +433,9 @@ class StorageSpoke(NormalSpoke):
> summary = (P_(("%d disk selected; %s capacity; %s free ..."),
> ("%d disks selected; %s capacity; %s free ..."),
> count) % (count, size_str(capacity), size_str(free)))
> - self.builder.get_object("summary_button").set_labe l(summary)
> + markup = "<span foreground='blue'><u>%s</u></span>" % summary
> + summary_label = self.builder.get_object("summary_button").get_chil dren()[0]
> + summary_label.set_markup(markup)
>
> if count == 0:
> self.window.set_info(Gtk.MessageType.WARNING, _("No disks selected; please select at least one disk to install to."))

This (and the previous several) look good to me.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org