[gnome-screensaver/gnome-3-0] gs-window-x11: Properly set background to black
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-screensaver/gnome-3-0] gs-window-x11: Properly set background to black
- Date: Tue, 6 Sep 2011 19:37:59 +0000 (UTC)
commit 65a041cbb99be54837733ec99678904ac4045701
Author: Marc Deslauriers <marc deslauriers ubuntu com>
Date: Thu Aug 25 13:25:20 2011 -0400
gs-window-x11: Properly set background to black
This fixes an issue where if the lock dialog is cancelled by hitting
the escape key, or times out, the screen turns white instead of black.
https://bugzilla.gnome.org/show_bug.cgi?id=657358
src/gs-window-x11.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index 5120476..40f1554 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -271,6 +271,7 @@ clear_widget (GtkWidget *widget)
gdk_window_set_background (gtk_widget_get_window (widget),
&color);
+ gtk_widget_modify_bg (widget, GTK_STATE_NORMAL, &color);
gtk_widget_queue_draw (GTK_WIDGET (widget));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]