1. 13 Apr, 2019 2 commits
    • Florian Müllner's avatar
      dash: Fix messed up icon height · 4e5ca6d3
      Florian Müllner authored
      When determining the biggest icon size that fits the available height,
      we first subtract the additional space requirements of icons (spacing,
      padding, running indicator etc.) and then divide the result by the
      number of icons to get the maximum size available to each icon texture.
      
      In the above, the additional space requirement of each icon is taken
      from the first icon (as all icons are assumed to be the same), and
      calculated as the difference between the icon button's preferred height
      and the currently used icon size.
      
      To make sure that the icon is actually using the dash's current icon
      size (even while animating to a new icon size), we enforce its height
      during the size request and restore its original height afterwards.
      
      However after some recent changes, that step is causing troubles:
      For some reason, the original height may be 0, and when we restore it,
      we end up forcing a fixed non-height that bypasses the regular size
      request machinery.
      
      While it is unclear where exactly the zero height comes from (maybe
      waiting for a valid resource scale?), it is clear that it's best
      to avoid forcing a fixed height. So instead of making the icon
      texture comply with the assumed icon size, adjust the calculations
      to use its current height request.
      
      GNOME/gnome-shell#1053
      4e5ca6d3
    • Florian Müllner's avatar
      dateMenu: Make clock offsets relative to local time · 2fab75f4
      Florian Müllner authored
      We recently added offsets to world clocks that represent the location's
      timezone as UTC offset. However for most users, that representation is
      overly technical and less helpful than the difference to their local time.
      
      GNOME/gnome-shell#1157
      2fab75f4
  2. 12 Apr, 2019 1 commit
    • Florian Müllner's avatar
      dateMenu: Make sure we always display a clock name · 22883f2f
      Florian Müllner authored
      We currently use the city name for all location except named timezones.
      However locations only have a city name if they are of level CITY or
      DETACHED, or if they are of level WEATHER_STATION with a parent of level
      CITY.
      
      So when libgweather commit d7682676ac9 moved weather station locations from
      cities to countries, it broke their names in the world clocks section.
      
      To fix this, stop making assumptions about when we can use the city name
      and simply try it first for all locations and fall back to the plain name
      if its not available.
      
      GNOME/gnome-shell#1150
      22883f2f
  3. 11 Apr, 2019 16 commits
  4. 08 Apr, 2019 2 commits
  5. 03 Apr, 2019 2 commits
  6. 02 Apr, 2019 3 commits
  7. 01 Apr, 2019 8 commits
  8. 31 Mar, 2019 2 commits
  9. 28 Mar, 2019 1 commit
  10. 27 Mar, 2019 3 commits