rpms/gnome-panel/devel gnome-panel-2.18.0-update-clock-immediately.patch, NONE, 1.1 gnome-panel.spec, 1.190, 1.191
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Apr 3 16:59:18 UTC 2007
- Previous message (by thread): rpms/kernel/FC-5 linux-2.6-drivers_pci_no_msi_mmconf.patch,1.1,1.2
- Next message (by thread): rpms/iputils/FC-6 iputils-20020927-arping-infiniband.patch, NONE, 1.1 iputils-20070202-idn.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 iputils-20020927-rh.patch, 1.1, 1.2 iputils-ping_cleanup.patch, 1.1, 1.2 iputils.spec, 1.43, 1.44 sources, 1.12, 1.13 iputils-20020124-ping_sparcfix.patch, 1.2, NONE iputils-20020124-rdisc-server.patch, 1.1, NONE iputils-20020927-headers.patch, 1.2, NONE iputils-20020927-icmp_seq.patch, 1.1, NONE iputils-20020927-inet_pton.patch, 1.1, NONE iputils-20020927-trace_stop.patch, 1.2, NONE iputils-arping.patch, 1.1, NONE iputils-arping_buf_overflow.patch, 1.1, NONE iputils-flood.patch, 1.1, NONE iputils-gcc41.patch, 1.2, NONE iputils-getaddrinfo.patch, 1.1, NONE iputils-glibckernheaders.patch, 1.1, NONE iputils-ipv6-hoplimit.patch, 1.1, NONE iputils-ping-168166.patch, 1.1, NONE iputils-retvals.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rstrode
Update of /cvs/dist/rpms/gnome-panel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27760
Modified Files:
gnome-panel.spec
Added Files:
gnome-panel-2.18.0-update-clock-immediately.patch
Log Message:
- update the clock after timezone changes (bug 230832)
gnome-panel-2.18.0-update-clock-immediately.patch:
clock.c | 29 ++++++++++++++++++++++++-----
1 files changed, 24 insertions(+), 5 deletions(-)
--- NEW FILE gnome-panel-2.18.0-update-clock-immediately.patch ---
--- gnome-panel-2.18.0/applets/clock/clock.c.update-clock-immediately 2007-04-03 20:10:39.000000000 +0400
+++ gnome-panel-2.18.0/applets/clock/clock.c 2007-04-03 20:43:08.000000000 +0400
@@ -2001,14 +2001,30 @@
g_free (utf8);
}
+static void
+on_config_tool_exited (GPid pid,
+ gint status,
+ gpointer data)
+{
+ ClockData *clock;
+
+ clock = (ClockData *) data;
+
+ refresh_clock (clock);
+
+ g_spawn_close_pid (pid);
+}
+
static gboolean
try_config_tool (GdkScreen *screen,
- const char *tool)
+ const char *tool,
+ ClockData *clock)
{
GtkWidget *dialog;
GError *err;
char **argv;
char *path;
+ GPid pid;
if (!tool || tool[0] == '\0')
return FALSE;
@@ -2028,15 +2044,18 @@
NULL,
argv,
NULL,
- G_SPAWN_SEARCH_PATH,
- NULL,
+ G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD,
NULL,
NULL,
+ &pid,
&err)) {
+
+ g_child_watch_add (pid, on_config_tool_exited, clock);
g_strfreev (argv);
return TRUE;
}
+
g_strfreev (argv);
dialog = gtk_message_dialog_new (NULL,
@@ -2070,11 +2089,11 @@
screen = gtk_widget_get_screen (cd->applet);
- if (try_config_tool (screen, cd->config_tool))
+ if (try_config_tool (screen, cd->config_tool, cd))
return;
for (i = 0; i < G_N_ELEMENTS (clock_config_tools); i++)
- if (try_config_tool (screen, clock_config_tools [i]))
+ if (try_config_tool (screen, clock_config_tools [i], cd))
return;
dialog = gtk_message_dialog_new (NULL,
Index: gnome-panel.spec
===================================================================
RCS file: /cvs/dist/rpms/gnome-panel/devel/gnome-panel.spec,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -r1.190 -r1.191
--- gnome-panel.spec 31 Mar 2007 18:18:42 -0000 1.190
+++ gnome-panel.spec 3 Apr 2007 16:59:16 -0000 1.191
@@ -22,7 +22,7 @@
Summary: GNOME panel
Name: gnome-panel
Version: 2.18.0
-Release: 5%{?dist}
+Release: 6%{?dist}
URL: http://www.gnome.org
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/2.18/%{name}-%{version}.tar.bz2
Source1: redhat-panel-default-setup.entries
@@ -98,6 +98,9 @@
# http://bugzilla.gnome.org/show_bug.cgi?id=424545
Patch18: gnome-panel-2.18.0-hide-menu-if-root.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=425910
+Patch19: gnome-panel-2.18.0-update-clock-immediately.patch
+
Conflicts: gnome-power-manager < 2.15.3
%description
@@ -131,6 +134,7 @@
%patch15 -p0 -b .compiz-support
%patch17 -p0 -b .xdg-user-dirs
%patch18 -p1 -b .hide-lock-menu-if-root
+%patch19 -p1 -b .update-clock-immediately
. %{SOURCE4}
@@ -311,6 +315,9 @@
%{_datadir}/gtk-doc
%changelog
+* Tue Apr 3 2007 Ray Strode <rstrode at redhat.com> - 2.18.0-6
+- update the clock after timezone changes (bug 230832)
+
* Sat Mar 31 2007 Matthias Clasen <mclasen at redhat.com> - 2.18.0-5
- Remove the bug-buddy patch again; fixed better in libgnome
- Previous message (by thread): rpms/kernel/FC-5 linux-2.6-drivers_pci_no_msi_mmconf.patch,1.1,1.2
- Next message (by thread): rpms/iputils/FC-6 iputils-20020927-arping-infiniband.patch, NONE, 1.1 iputils-20070202-idn.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 iputils-20020927-rh.patch, 1.1, 1.2 iputils-ping_cleanup.patch, 1.1, 1.2 iputils.spec, 1.43, 1.44 sources, 1.12, 1.13 iputils-20020124-ping_sparcfix.patch, 1.2, NONE iputils-20020124-rdisc-server.patch, 1.1, NONE iputils-20020927-headers.patch, 1.2, NONE iputils-20020927-icmp_seq.patch, 1.1, NONE iputils-20020927-inet_pton.patch, 1.1, NONE iputils-20020927-trace_stop.patch, 1.2, NONE iputils-arping.patch, 1.1, NONE iputils-arping_buf_overflow.patch, 1.1, NONE iputils-flood.patch, 1.1, NONE iputils-gcc41.patch, 1.2, NONE iputils-getaddrinfo.patch, 1.1, NONE iputils-glibckernheaders.patch, 1.1, NONE iputils-ipv6-hoplimit.patch, 1.1, NONE iputils-ping-168166.patch, 1.1, NONE iputils-retvals.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list