rpms/lock-keys-applet/devel unreported-bug.patch, NONE, 1.1 lock-keys-applet.spec, 1.23, 1.24

Jorge Torres jorge at fedoraproject.org
Fri Oct 2 02:19:20 UTC 2009


Author: jorge

Update of /cvs/pkgs/rpms/lock-keys-applet/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27543

Modified Files:
	lock-keys-applet.spec 
Added Files:
	unreported-bug.patch 
Log Message:


unreported-bug.patch:
 lock-keys-applet.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- NEW FILE unreported-bug.patch ---
diff -Naur lock-keys-applet-1.0.orig/src/lock-keys-applet.c lock-keys-applet-1.0/src/lock-keys-applet.c
--- lock-keys-applet-1.0.orig/src/lock-keys-applet.c	2008-10-05 15:02:57.000000000 -0500
+++ lock-keys-applet-1.0/src/lock-keys-applet.c	2008-10-05 15:02:12.000000000 -0500
@@ -394,7 +394,11 @@
 	{
 		answer = gtk_dialog_run(applet->settings);
 		
-		if (answer == GTK_RESPONSE_ACCEPT)
+		if (answer == GTK_RESPONSE_HELP) 
+		{
+			help_cb(NULL, NULL, NULL);
+		}
+		else
 		{
 			panel_applet_gconf_set_bool(PANEL_APPLET(applet->applet), "capslock_show", applet->show[CAPSLOCK], NULL);
 			panel_applet_gconf_set_bool(PANEL_APPLET(applet->applet), "numlock_show", applet->show[NUMLOCK], NULL);
@@ -404,7 +408,6 @@
 			applet->settings = NULL;
 			break;
 		}
-		help_cb(NULL, NULL, NULL);
 	}
 }
 


Index: lock-keys-applet.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lock-keys-applet/devel/lock-keys-applet.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- lock-keys-applet.spec	25 Jul 2009 11:12:54 -0000	1.23
+++ lock-keys-applet.spec	2 Oct 2009 02:19:18 -0000	1.24
@@ -1,6 +1,6 @@
 Name:           lock-keys-applet
 Version:        1.0
-Release:        17%{?dist}
+Release:        18%{?dist}
 
 Summary:        A GNOME panel applet that shows the status of the lock keys
 Group:          Applications/System
@@ -9,6 +9,7 @@ URL:            http://mfcn.ilo.de/led_a
 Source0:        http://www.wh-hms.uni-ulm.de/~mfcn/shared/lock-keys/lock-keys-applet-1.0.tar.gz
 patch0:		new-tooltips-api.patch	
 patch1:		fix-deprecated.patch
+patch2:     unreported-bug.patch 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libgnomeui-devel gnome-panel-devel scrollkeeper gettext
 Requires(post): scrollkeeper
@@ -25,6 +26,7 @@ the lock keys and restores them when sta
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure
@@ -54,6 +56,9 @@ scrollkeeper-update -q || :
 %{_libexecdir}/%{name}
 
 %changelog
+* Thu Oct 1 2009
+- Fix segmentation fault
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list