add patch

This commit is contained in:
Matthias Clasen 2008-10-26 19:55:12 +00:00
parent 6bc10f1807
commit 867b3af997
2 changed files with 16 additions and 2 deletions

View File

@ -12,7 +12,7 @@
Summary: GNOME session manager
Name: gnome-session
Version: 2.24.1
Release: 2%{?dist}
Release: 3%{?dist}
URL: http://www.gnome.org
Source0: http://download.gnome.org/sources/gnome-session/2.24/%{name}-%{version}.tar.bz2
Source1: redhat-default-session
@ -187,7 +187,7 @@ fi
%changelog
* Sun Oct 26 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.1-2
* Sun Oct 26 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.1-3
- Make the capplet resizable (#468577)
* Wed Oct 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.24.1-1

14
resizable.patch Normal file
View File

@ -0,0 +1,14 @@
diff -up gnome-session-2.24.1/capplet/gsm-properties-dialog.c.resizable gnome-session-2.24.1/capplet/gsm-properties-dialog.c
--- gnome-session-2.24.1/capplet/gsm-properties-dialog.c.resizable 2008-10-26 15:14:18.000000000 -0400
+++ gnome-session-2.24.1/capplet/gsm-properties-dialog.c 2008-10-26 15:14:46.000000000 -0400
@@ -1463,10 +1463,6 @@ gsm_properties_dialog_init (GsmPropertie
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
gtk_window_set_icon_name (GTK_WINDOW (dialog), "session-properties");
gtk_window_set_title (GTK_WINDOW (dialog), _("Sessions Preferences"));
- g_object_set (dialog,
- "allow-shrink", FALSE,
- "allow-grow", FALSE,
- NULL);
}
static void