[PATCH 09/16] Support differrent title on the summary hub (or it's descendants)

Martin Sivak msivak at redhat.com
Fri Dec 14 10:26:10 UTC 2012


It was removed in later patch in favour of distributionText (during the merge, because the code was older than distributionText)

As I said in the cover letter.. I kept some patches to document the development ideas and progress.

----- Original Message -----
> >  pyanaconda/ui/gui/__init__.py | 3 +++
> >  1 file changed, 3 insertions(+)
> 
> In the commit message, "it's" should be "its".
> 
> > diff --git a/pyanaconda/ui/gui/__init__.py
> > b/pyanaconda/ui/gui/__init__.py
> > index 748a614..15df8db 100644
> > --- a/pyanaconda/ui/gui/__init__.py
> > +++ b/pyanaconda/ui/gui/__init__.py
> > @@ -44,6 +44,9 @@ class GraphicalUserInterface(UserInterface):
> >      """This is the standard GTK+ interface we try to steer
> >      everything to using.
> >         It is suitable for use both directly and via VNC.
> >      """
> > +
> > +    TITLE = "%(productName)s %(productVersion)s INSTALLATION"
> > +
> >      def __init__(self, storage, payload, instclass,
> >                   distributionText = distributionText, isFinal =
> >                   isFinal):
> 
> Why the all-caps "TITLE"?  Also, you'll need to mark this string for
> translation, and make sure pyanaconda/ui/gui/__init__.py is included
> in
> po/POTFILES.in.
> 
> Also, curious.  This is the same as product.distributionText.  Can
> you
> give me an example of why this is needed?
> 
> - Chris
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 


More information about the anaconda-patches mailing list