Comment 9 for bug 204908

Revision history for this message
D. Charles Pyle (dcharlespyle) wrote :

Here is a workaround:

1. Open /usr/share/libgweather/Locations.xml as an Administrator using gedit or your other favorite text editor.

2. Find the following text:

    <country>

      <name>Iraq</name>

      <iso-code>IQ</iso-code>
      <fips-code>IZ</fips-code>
      <timezones>
        <timezone id="Asia/Baghdad"/>
      </timezones>
      <tz-hint>Asia/Baghdad</tz-hint>
     </country>

3. Insert the following just between <tx-hint>Asia/Baghdad</tz-hint> and </country>:

     <city>

        <name>Baghdad</name>
        <coordinates>29.561111 34.951667</coordinates>
        <location>
          <name>Baghdad International Air</name>
          <code>SDA</code>
          <coordinates>33.318279 44.416667</coordinates>
        </location>
      </city>

4. Save the file.

This will give you at least Baghdad and gnome-clocks will display the correct time and allow you to find the city in the list. Others can be created and inserted as needed. I am also adding the XML Iraq entry in my location file as an attachment in case the text does not display correctly above when posted.