-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good work Basem, It is a highly needed patch, I hope other developers to merge it in Anaconda Going to test it soon with RLC2Beta1 On Sunday 01 August 2004 8:13 am, Basem Narmok wrote: > Hi all, > Sorry I was busy last days, this patch will fix the problem ... it is a > small hack that I use to fix the RTL/LTR buttons direction in anaconda, > I have another one for firstboot (I have more I will post them soon): > > diff -Naur anaconda-10.0.1/gui.py anaconda-10.0.1-new/gui.py > --- anaconda-10.0.1/gui.py 2004-06-21 21:51:17.000000000 +0300 > +++ anaconda-10.0.1-new/gui.py 2004-08-01 08:04:33.705498976 +0300 > @@ -741,6 +741,21 @@ > self.updateStockButtons() > self.loadReleaseNotes() > self.refreshHelp(recreate = 1) > + self.chkRtLButtons() > + > + def chkRtLButtons(self): > + ltrrtl = gettext.dgettext("gtk20", "default:LTR") > + if ltrrtl == "default:RTL": > + self.buttonBox.remove (self.nextButtonStock) > + self.buttonBox.remove (self.prevButtonStock) > + self.buttonBox.add (self.nextButtonStock) > + self.buttonBox.add (self.prevButtonStock) > + else: > + self.buttonBox.remove (self.prevButtonStock) > + self.buttonBox.remove (self.nextButtonStock) > + self.buttonBox.add (self.prevButtonStock) > + self.buttonBox.add (self.nextButtonStock) > + > > def setLtR(self): > ltrrtl = gettext.dgettext("gtk20", "default:LTR") > @@ -1350,6 +1365,7 @@ > > self.buttonBox.add (self.prevButtonStock) > self.buttonBox.add (self.nextButtonStock) > + self.chkRtLButtons() > > self.hbox = gtk.HBox () > self.hbox.set_border_width(5) > > > _______________________________________________ > Anaconda-devel-list mailing list > Anaconda-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/anaconda-devel-list - -- Mohamed Eldesoky Systems Engineer RedHat Certified Engineer TE Data -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBDKNJ2FHsOWMJBKMRAhAxAKDJqMGx1XHED86EH0urWfyJ3ABrGgCfSH/M Egp8IfdaKSaKpcx9BdVwcq0= =5qsS -----END PGP SIGNATURE-----