1. 26 Jul, 2012 1 commit
  2. 25 Jul, 2012 2 commits
  3. 22 Jul, 2012 3 commits
  4. 18 Jul, 2012 1 commit
  5. 16 Jul, 2012 2 commits
    • Harald Judt's avatar
      Fix compilation warning about event box. · 1cb468a8
      Harald Judt authored
      1cb468a8
    • Harald Judt's avatar
      Do away with the short location name. · ca345ccf
      Harald Judt authored
      Since the forecast data is requested using latitude and longitude,
      we're free to set the location name to something arbitrary. As a
      first step, sanitize the location name returned by the search
      dialog or by auto-detection via IP address and remove the code added
      previously for keeping an extra short location name.
      ca345ccf
  6. 15 Jul, 2012 1 commit
    • Harald Judt's avatar
      Try to make the forecast scrolled window a bit nicer. · 8ba1f238
      Harald Judt authored
      Relying on the automatic gtk widget size management, I was terribly
      unsuccessful producing a nice result. So in a new attempt, let's
      try to do the problematic stuff manually:
      
      * Use a fixed size of 150px for the forecast boxes.
        That makes the table look a bit more homogenous.
      
      * Use a fixed width for the scrolled window:
        - 650 pixel for monitor width <= 720
        - 700 pixel for anything bigger
      
      * Stuff the scrolled window into an event box to make it look more
        consistent with the scroll-less version.
      
      Because of the fixed width, some labels in the forecast boxes can
      now be cut off. If that's the case, we'll need to tweak/enlarge
      the forecast box width, it can't be that much off. I hope the
      current setting works for most translations, though.
      8ba1f238
  7. 13 Jul, 2012 5 commits
  8. 12 Jul, 2012 3 commits
  9. 11 Jul, 2012 8 commits
  10. 10 Jul, 2012 1 commit
  11. 04 Jul, 2012 3 commits
    • Harald Judt's avatar
      Unit conversion: Prepare to use units in get_data(). · d0c0b1c9
      Harald Judt authored
      get_data() will be the place to handle conversions from metric to
      imperial and vice-versa. Prepare this by adding units as a parameter
      similar to get_unit() and changing all function calls appropriately.
      d0c0b1c9
    • Harald Judt's avatar
      Locale support, part 3: Format interval times in summary. · 9467ce9f
      Harald Judt authored
      Format start and end time according to the user's locale setting.
      9467ce9f
    • Harald Judt's avatar
      Locale support, part 1: Duplicate strings. · bbedf98a
      Harald Judt authored
      Values like temperature, wind speed etc. are returned as immutable
      strings. That's bad because those values are not printed in the
      format defined by the user's locale.
      
      As a first step, duplicate the strings in get_data() and free them
      in the calling functions. Remove usage of CHK_NULL from get_unit(),
      as it would create a memory leak.
      bbedf98a
  12. 02 Jul, 2012 3 commits
  13. 27 Jun, 2012 3 commits
  14. 26 Jun, 2012 1 commit
    • Harald Judt's avatar
      Make available XML location data. · feb84145
      Harald Judt authored
      Add altitude, latitude and longitude from the XML feed.
      We may already know latitude and longitude from the location the
      user selected, but it might be a bit different in the XML document.
      feb84145
  15. 25 Jun, 2012 3 commits