diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2012-12-23 17:10:58 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2012-12-23 17:10:58 +0000 |
commit | 1c2f0e4b0d5decbcc520fa9cf38cddcefb0cde04 (patch) | |
tree | 1a57c194c012d5b728e6f412e911c9f1b0600230 /gnome-extra/gnome-screensaver/files | |
parent | marked x86 per bug 447744 (diff) | |
download | gentoo-2-1c2f0e4b0d5decbcc520fa9cf38cddcefb0cde04.tar.gz gentoo-2-1c2f0e4b0d5decbcc520fa9cf38cddcefb0cde04.tar.bz2 gentoo-2-1c2f0e4b0d5decbcc520fa9cf38cddcefb0cde04.zip |
Version bump for Gnome 3.6. Switch to EAPI=5. Fix licence. Drop old revisions.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'gnome-extra/gnome-screensaver/files')
-rw-r--r-- | gnome-extra/gnome-screensaver/files/gnome-screensaver-3.4.2-gtkrc.patch | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/gnome-extra/gnome-screensaver/files/gnome-screensaver-3.4.2-gtkrc.patch b/gnome-extra/gnome-screensaver/files/gnome-screensaver-3.4.2-gtkrc.patch deleted file mode 100644 index 41f9512d8e12..000000000000 --- a/gnome-extra/gnome-screensaver/files/gnome-screensaver-3.4.2-gtkrc.patch +++ /dev/null @@ -1,80 +0,0 @@ -From 43ee32edaddb9b9b9f4b43c47ca73d7b4eea9fae Mon Sep 17 00:00:00 2001 -From: Cosimo Cecchi <cosimoc@gnome.org> -Date: Mon, 25 Jun 2012 18:10:23 -0400 -Subject: [PATCH] window: don't use GtkRC to override drawing area's - background - -That won't work correctly with GTK3, even more so given that we set -app_paintable = TRUE on the drawing area. -Instead, set the background GdkRGBA to black directly on the -GtkDrawingArea's GdkWindow. ---- - src/gs-window-x11.c | 33 +++++---------------------------- - 1 files changed, 5 insertions(+), 28 deletions(-) - -diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c -index 43d383d..c278612 100644 ---- a/src/gs-window-x11.c -+++ b/src/gs-window-x11.c -@@ -192,32 +192,6 @@ gs_window_override_user_time (GSWindow *window) - } - - static void --force_no_pixmap_background (GtkWidget *widget) --{ -- static gboolean first_time = TRUE; -- -- if (first_time) { -- gtk_rc_parse_string ("\n" -- " style \"gs-theme-engine-style\"\n" -- " {\n" -- " bg_pixmap[NORMAL] = \"<none>\"\n" -- " bg_pixmap[INSENSITIVE] = \"<none>\"\n" -- " bg_pixmap[ACTIVE] = \"<none>\"\n" -- " bg_pixmap[PRELIGHT] = \"<none>\"\n" -- " bg[NORMAL] = { 0.0, 0.0, 0.0 }\n" -- " bg[INSENSITIVE] = { 0.0, 0.0, 0.0 }\n" -- " bg[ACTIVE] = { 0.0, 0.0, 0.0 }\n" -- " bg[PRELIGHT] = { 0.0, 0.0, 0.0 }\n" -- " }\n" -- " widget \"gs-window-drawing-area*\" style : highest \"gs-theme-engine-style\"\n" -- "\n"); -- first_time = FALSE; -- } -- -- gtk_widget_set_name (widget, "gs-window-drawing-area"); --} -- --static void - gs_window_reset_background_surface (GSWindow *window) - { - cairo_pattern_t *pattern; -@@ -2309,6 +2283,8 @@ create_panel (GSWindow *window) - static void - gs_window_init (GSWindow *window) - { -+ GdkRGBA black = { 0.0, 0.0, 0.0, 1.0 }; -+ - window->priv = GS_WINDOW_GET_PRIVATE (window); - - window->priv->geometry.x = -1; -@@ -2353,13 +2329,14 @@ gs_window_init (GSWindow *window) - gtk_widget_show (window->priv->drawing_area); - gtk_widget_set_app_paintable (window->priv->drawing_area, TRUE); - gtk_box_pack_start (GTK_BOX (window->priv->vbox), window->priv->drawing_area, TRUE, TRUE, 0); -+ gtk_widget_realize (window->priv->drawing_area); -+ gdk_window_set_background_rgba (gtk_widget_get_window (window->priv->drawing_area), &black); -+ - create_info_bar (window); - - window->priv->clock_tracker = g_object_new (GNOME_TYPE_WALL_CLOCK, NULL); - g_signal_connect (window->priv->clock_tracker, "notify::clock", G_CALLBACK (on_clock_changed), window); - update_clock (window); -- -- force_no_pixmap_background (window->priv->drawing_area); - } - - static void --- -1.7.8.6 - |