From e48009dd2d10edc54ee83e209b5083375553b36e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Oct 08 2009 02:39:05 +0000 Subject: Add a default location --- diff --git a/clock-home.patch b/clock-home.patch new file mode 100644 index 0000000..a4a60e3 --- /dev/null +++ b/clock-home.patch @@ -0,0 +1,21 @@ +diff -up gnome-panel-2.28.0/applets/clock/clock.schemas.in.clock-home gnome-panel-2.28.0/applets/clock/clock.schemas.in +--- gnome-panel-2.28.0/applets/clock/clock.schemas.in.clock-home 2009-07-01 09:06:23.000000000 -0400 ++++ gnome-panel-2.28.0/applets/clock/clock.schemas.in 2009-10-07 22:36:12.298466938 -0400 +@@ -211,7 +211,7 @@ + /schemas/apps/clock_applet/prefs/expand_locations + clock-applet + bool +- false ++ true + + Expand list of locations + +@@ -271,7 +271,7 @@ + clock-applet + list + string +- [] ++ [<location name="" city="Boston" timezone="America/New_York" latitude="42.360558" longitude="-71.010559" code="KBOS" current="true"/>] + + List of locations + diff --git a/gnome-panel.spec b/gnome-panel.spec index 62e5cda..624a105 100644 --- a/gnome-panel.spec +++ b/gnome-panel.spec @@ -22,7 +22,7 @@ Summary: GNOME panel Name: gnome-panel Version: 2.28.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.gnome.org Source0: http://download.gnome.org/sources/gnome-panel/2.28/%{name}-%{version}.tar.bz2 @@ -111,6 +111,8 @@ Patch35: clock-wakeups.patch # http://bugzilla.gnome.org/show_bug.cgi?id=579092 Patch38: clock-network.patch +Patch40: clock-home.patch + Conflicts: gnome-power-manager < 2.15.3 %description @@ -156,6 +158,7 @@ Panel Applets using the libpanel-applet library. %patch24 -p1 -b .allow-spurious-view-done-signals %patch35 -p1 -b .clock-wakeups %patch38 -p1 -b .clock-network +%patch40 -p1 -b .clock-home . %{SOURCE6} @@ -354,6 +357,9 @@ fi %{_datadir}/gtk-doc/html/* %changelog +* Wed Oct 7 2009 Matthias Clasen 2.28.0-2 +- Add a default location to the clock applet + * Wed Sep 23 2009 Matthias Clasen 2.28.0-1 - Update to 2.28.0