Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=cd44b13d175a4c29e3b18c19225c55834d8e0ddd

commit cd44b13d175a4c29e3b18c19225c55834d8e0ddd
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Sun Feb 6 12:44:35 2011 +0100

gdm-2.91.6-3-i686
*added combo fix

diff --git a/source/gnome/gdm/FrugalBuild b/source/gnome/gdm/FrugalBuild
index 7d0739c..bd41285 100644
--- a/source/gnome/gdm/FrugalBuild
+++ b/source/gnome/gdm/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=gdm
pkgver=2.91.6
-pkgrel=2
+pkgrel=3
pkgdesc="GNOME Display Manager"
url="http://www.gnome.org/";
backup=(etc/gdm/custom.conf etc/pam.d/gdm etc/pam.d/gdm-autologin)
@@ -17,9 +17,10 @@ groups=('gnome')
archs=('i686' 'x86_64' 'ppc')
Finclude gnome
source=(${source[@]} \
-       polkit-gnome-authentication-agent-1.desktop)
+       polkit-gnome-authentication-agent-1.desktop gtktheme.diff)
sha1sums=('96a1559e5912030f70f34e818727f4d4146f6ce9' \
-          '93d1f9a7d068dd8e70c930abea9acf5b770a3485')
+          '93d1f9a7d068dd8e70c930abea9acf5b770a3485' \
+          '7e35229d533a0c5321f4fc3815732d7273777d75')

conflicts=('fast-user-switch-applet')
provides=('fast-user-switch-applet' 'gdm-themes' 'somatic-gdm-themes' 
'arc-colors-gdm-themes')
diff --git a/source/gnome/gdm/gtktheme.diff b/source/gnome/gdm/gtktheme.diff
new file mode 100644
index 0000000..a7f6cf6
--- /dev/null
+++ b/source/gnome/gdm/gtktheme.diff
@@ -0,0 +1,31 @@
+From 6bb88258c9ce7c9b2a0477c697d64e2a36f42dfd Mon Sep 17 00:00:00 2001
+From: Ray Strode <rstr...@redhat.com>
+Date: Fri, 4 Feb 2011 15:06:11 -0500
+Subject: [PATCH] greeter: don't call render_frame if there's no frame
+
+If the theme lacks a frame gtk_render_frame will throw
+a fit and make the greeter nose dive.
+---
+ gui/simple-greeter/gdm-scrollable-widget.c |    6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/gui/simple-greeter/gdm-scrollable-widget.c 
b/gui/simple-greeter/gdm-scrollable-widget.c
+index 8a9ea25..1f8e807 100644
+--- a/gui/simple-greeter/gdm-scrollable-widget.c
++++ b/gui/simple-greeter/gdm-scrollable-widget.c
+@@ -598,8 +598,10 @@ gdm_scrollable_widget_draw (GtkWidget *widget,
+         height = widget_allocation.height;
+         height -= padding.top + padding.bottom;
+
+-        gtk_render_frame (context, cr,
+-                          x, y, width, height);
++        if (width > 0 && height > 0) {
++                gtk_render_frame (context, cr,
++                                  x, y, width, height);
++        }
+
+         return GTK_WIDGET_CLASS (gdm_scrollable_widget_parent_class)->draw 
(widget, cr);
+ }
+--
+1.7.4
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to