rpms/control-center/devel no-gdmsetup.patch, NONE, 1.1 control-center.spec, 1.356, 1.357

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Tue Apr 8 13:43:23 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/control-center/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25167

Modified Files:
	control-center.spec 
Added Files:
	no-gdmsetup.patch 
Log Message:
remove a pointless button


no-gdmsetup.patch:

--- NEW FILE no-gdmsetup.patch ---
diff -up gnome-control-center-2.22.1/capplets/accessibility/at-properties/main.c.gdmsetup gnome-control-center-2.22.1/capplets/accessibility/at-properties/main.c
--- gnome-control-center-2.22.1/capplets/accessibility/at-properties/main.c.gdmsetup	2008-04-08 09:29:44.000000000 -0400
+++ gnome-control-center-2.22.1/capplets/accessibility/at-properties/main.c	2008-04-08 09:32:22.000000000 -0400
@@ -39,6 +39,10 @@ create_dialog (void)
 
 		gtk_image_set_from_file (GTK_IMAGE (WID ("at_applications_image")),
 					 PIXMAPDIR "/at-support.png");
+
+		if (!g_find_program_in_path ("gdmsetup")) {
+			gtk_widget_hide (WID ("login_button"));
+		}
 	}
 
 	return dialog;


Index: control-center.spec
===================================================================
RCS file: /cvs/extras/rpms/control-center/devel/control-center.spec,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -r1.356 -r1.357
--- control-center.spec	8 Apr 2008 12:53:29 -0000	1.356
+++ control-center.spec	8 Apr 2008 13:42:36 -0000	1.357
@@ -22,7 +22,7 @@
 Summary: GNOME Control Center
 Name: control-center
 Version: 2.22.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 License: GPLv2+ and GFDL
 Group: User Interface/Desktops
@@ -37,6 +37,8 @@
 Patch6: gnome-control-center-2.19.90-no-warnings.patch
 # http://bugzilla.gnome.org/show_bug.cgi?id=524813
 Patch7: gnome-control-center-2.22.0-caps-lock-bindables.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=526944 
+Patch8: no-gdmsetup.patch
 
 # call the Fedora/RHEL graphical passwd changing apps
 Patch95: control-center-2.21.92-passwd.patch
@@ -166,6 +168,7 @@
 %patch6 -p0 -b .warnings
 popd
 %patch7 -p0 -b .esc-backspace-bindables
+%patch8 -p1 -b .no-gdmsetup
 
 # vendor configuration patches
 %patch95 -p1 -b .passwd
@@ -350,8 +353,11 @@
 %dir %{_datadir}/gnome-control-center/keybindings
 
 %changelog
-* Tue Apr 08 2008 - Bastien Nocera <bnocera at redhat.com> - 2.20.1-1
-- Update to 2.20.1
+* Tue Apr  8 2008 Matthias Clasen <mclasen at redhat.com> - 2.22.1-2
+- Remove a nonfunctional button from the a11y preferences
+
+* Tue Apr 08 2008 - Bastien Nocera <bnocera at redhat.com> - 2.22.1-1
+- Update to 2.22.1
 
 * Mon Apr 7 2008 Soren Sandmann <sandmann at redhat.com> - 2.22.0-7
 - Add window title, improve wording in label




More information about the scm-commits mailing list