]> Pileus Git - ~andy/gtk/commit
toolbar: Don't special-case RTL toolbar child positions anymore
authorBenjamin Otte <otte@redhat.com>
Tue, 18 Dec 2012 17:18:24 +0000 (18:18 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 18 Dec 2012 17:25:42 +0000 (18:25 +0100)
commit821a675013e04598503d3c5ea23ab91607f98e70
tree9cfdabdcbe63ca0475057a7b2d8c17787ab51fe7
parent6f86e57c4fb2cd76549910302b3a7145e7fd0e8b
toolbar: Don't special-case RTL toolbar child positions anymore

If you want to get rounded corners on an hbox, instead of
  :first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  :last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
you now need to write:
  :first-child, :last-child:dir(rtl) {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  :last-child, :first-child:dir(rtl)
  {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
gtk/gtktoolbar.c