diff -Naur gnome-panel.orig/na-style-realize.patch gnome-panel/na-style-realize.patch --- gnome-panel.orig/na-style-realize.patch 1970-01-01 00:00:00.000000000 +0000 +++ gnome-panel/na-style-realize.patch 2013-02-11 17:49:07.251852516 +0000 @@ -0,0 +1,47 @@ +From f1652b60a9fa0580c5fc60758c3ccdfcf691b5c2 Mon Sep 17 00:00:00 2001 +From: Daniel Drake +Date: Mon, 17 Dec 2012 14:58:20 +0000 +Subject: [PATCH] na: apply style after realize + +Under Fedora 18 (GTK-3.6.2), notification icons such as the battery/power +icon from gnome-settings-daemon are appearing all-black on top of a black +background. + +This is because style_updated is being called before the tray applet +is realized, meaning that the following code in +na_tray_applet_style_updated() causes a bail-out: + + if (!applet->priv->tray) + return; + +and the style is never applied. + +Fix this by updating the style explicitly after realizing the widget. +--- + applets/notification_area/main.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/applets/notification_area/main.c b/applets/notification_area/main.c +index 5fc4d1d..0d5de70 100644 +--- a/applets/notification_area/main.c ++++ b/applets/notification_area/main.c +@@ -36,6 +36,8 @@ + + #define NOTIFICATION_AREA_ICON "gnome-panel-notification-area" + ++static void na_tray_applet_style_updated (GtkWidget *widget); ++ + struct _NaTrayAppletPrivate + { + NaTray *tray; +@@ -79,6 +81,7 @@ na_tray_applet_realize (GtkWidget *widget) + + gtk_container_add (GTK_CONTAINER (widget), GTK_WIDGET (applet->priv->tray)); + gtk_widget_show (GTK_WIDGET (applet->priv->tray)); ++ na_tray_applet_style_updated (widget); + } + + static void +-- +1.8.0.1 + diff -Naur gnome-panel.orig/PKGBUILD gnome-panel/PKGBUILD --- gnome-panel.orig/PKGBUILD 2013-02-11 17:52:19.757575401 +0000 +++ gnome-panel/PKGBUILD 2013-02-11 17:52:42.994127629 +0000 @@ -3,7 +3,7 @@ pkgname=gnome-panel pkgver=3.6.2 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') license=('GPL') pkgdesc="The GNOME Panel" @@ -15,11 +15,17 @@ groups=('gnome') provides=("gnome-panel-bonobo=${pkgver}") options=('!libtool' '!emptydirs') -source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) -sha256sums=('a41c45c5512e796b8602ce50bf0d205993eab364c860aae31afa582d77b77079') +source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz + na-style-realize.patch) +sha256sums=('a41c45c5512e796b8602ce50bf0d205993eab364c860aae31afa582d77b77079' + '6792f81edc2b8601f7cb11d15b2b1f3814fcea4c37d8f93435b3c4b7e41580f9') build() { cd "$pkgname-$pkgver" + + # https://bugzilla.gnome.org/show_bug.cgi?id=690353 + patch -Np1 -i "$srcdir/na-style-realize.patch" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static \ --libexecdir=/usr/lib/gnome-panel \