org.openmoko.dev: 1083e788a2468ce8b166e28df9378796146f0fae
oe at monotone.openmoko.org
oe at monotone.openmoko.org
Fri Apr 18 16:32:13 CEST 2008
revision: 1083e788a2468ce8b166e28df9378796146f0fae
date: 2008-04-18T13:46:40
author: xora at openembedded.org
branch: org.openmoko.dev
changelog:
notification-daemon_0.3.7.bb : patch from thos to fix colors.
manifest:
format_version "1"
new_manifest [05e0a53f8231073db07174464fa033f61573497f]
old_revision [a087de1b034f51c0c94b8d94197cefb8e2185b5f]
add_file "packages/notification-daemon/files/notification-daemon-fix-text-color.diff"
content [4dd28f5a824b69e10af37851a3ddb38462a9e6bd]
patch "packages/notification-daemon/notification-daemon_0.3.7.bb"
from [2651b1bc5c5efb73799947ba1466e4ad1dec44cc]
to [a7ebdf98090ed6e927affd6bbb3854a3ee53174d]
-------------- next part --------------
#
#
# add_file "packages/notification-daemon/files/notification-daemon-fix-text-color.diff"
# content [4dd28f5a824b69e10af37851a3ddb38462a9e6bd]
#
# patch "packages/notification-daemon/notification-daemon_0.3.7.bb"
# from [2651b1bc5c5efb73799947ba1466e4ad1dec44cc]
# to [a7ebdf98090ed6e927affd6bbb3854a3ee53174d]
#
============================================================
--- packages/notification-daemon/files/notification-daemon-fix-text-color.diff 4dd28f5a824b69e10af37851a3ddb38462a9e6bd
+++ packages/notification-daemon/files/notification-daemon-fix-text-color.diff 4dd28f5a824b69e10af37851a3ddb38462a9e6bd
@@ -0,0 +1,44 @@
+--- notification-daemon-0.3.7.orig/src/themes/standard/theme.c 2007-01-26 04:20:15.000000000 +0000
++++ notification-daemon-0.3.7/src/themes/standard/theme.c 2008-04-18 12:14:33.000000000 +0100
+@@ -653,6 +653,23 @@
+ return FALSE;
+ }
+
++
++static void
++style_set_cb (GtkWidget *label, GtkStyle *previous_style, WindowData *windata)
++{
++ static gboolean in_style_set_cb;
++
++ if (in_style_set_cb)
++ return;
++
++ in_style_set_cb = TRUE;
++
++ gtk_widget_modify_fg (label, GTK_STATE_NORMAL,
++ &label->style->text[GTK_STATE_NORMAL]);
++
++ in_style_set_cb = FALSE;
++}
++
+ GtkWindow *
+ create_notification(UrlClickedCb url_clicked)
+ {
+@@ -753,6 +770,8 @@
+ gtk_widget_set_size_request(spacer, SPACER_LEFT, -1);
+
+ windata->summary_label = gtk_label_new(NULL);
++ g_signal_connect(windata->summary_label, "style-set",
++ G_CALLBACK(style_set_cb), windata);
+ gtk_widget_show(windata->summary_label);
+ gtk_box_pack_start(GTK_BOX(hbox), windata->summary_label, TRUE, TRUE, 0);
+ gtk_misc_set_alignment(GTK_MISC(windata->summary_label), 0, 0);
+@@ -800,6 +819,8 @@
+ gtk_box_pack_start(GTK_BOX(windata->content_hbox), vbox, TRUE, TRUE, 0);
+
+ windata->body_label = sexy_url_label_new();
++ g_signal_connect(windata->body_label, "style-set",
++ G_CALLBACK(style_set_cb), windata);
+ gtk_box_pack_start(GTK_BOX(vbox), windata->body_label, TRUE, TRUE, 0);
+ gtk_misc_set_alignment(GTK_MISC(windata->body_label), 0, 0);
+ gtk_label_set_line_wrap(GTK_LABEL(windata->body_label), TRUE);
============================================================
--- packages/notification-daemon/notification-daemon_0.3.7.bb 2651b1bc5c5efb73799947ba1466e4ad1dec44cc
+++ packages/notification-daemon/notification-daemon_0.3.7.bb a7ebdf98090ed6e927affd6bbb3854a3ee53174d
@@ -3,8 +3,10 @@ DEPENDS = "gettext dbus gtk+ libsexy gco
SECTION = "x11"
LICENSE = "GPL"
DEPENDS = "gettext dbus gtk+ libsexy gconf libwnck"
+PR = "r1"
-SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz"
+SRC_URI = "http://www.galago-project.org/files/releases/source/${PN}/${P}.tar.gz \
+ file://notification-daemon-fix-text-color.diff;patch=1"
EXTRA_OECONF = "--disable-binreloc"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/commitlog/attachments/20080418/02306a33/attachment.htm
More information about the commitlog
mailing list