Remove manually added :rtl pseudo classes

To deal with different CSS in RTL locales, we used to manually add
an :rtl pseudo class to some actors. With automatically assigned
:ltr/:rtl selectors this is no longer necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=643835
This commit is contained in:
Florian Müllner
2011-03-03 22:38:24 +01:00
parent fefe2df6b5
commit 8ed191283a
3 changed files with 0 additions and 16 deletions

View File

@ -402,10 +402,6 @@ ThumbnailsBox.prototype = {
// for the border and padding of the background actor.
this._background = new St.Bin({ style_class: 'workspace-thumbnails-background' });
// This will eventually be automatic, see https://bugzilla.gnome.org/show_bug.cgi?id=584662
if (St.Widget.get_default_direction () == St.TextDirection.RTL)
this._background.add_style_pseudo_class('rtl');
this.actor.add_actor(this._background);
let indicator = new St.Bin({ style_class: 'workspace-thumbnail-indicator' });