grim/guifications2

disapproval of revision '4efa66b5f2ee9d5ace3cfbf8d3854650493bd51f'
org.guifications.gf2
2009-04-05, Gary Kramlich
f02c9fc1f3b3
Parents 82f5c1e7c1d0
Children 42aa4009a621
disapproval of revision '4efa66b5f2ee9d5ace3cfbf8d3854650493bd51f'
--- a/ChangeLog Sat Dec 27 04:15:37 2008 -0500
+++ b/ChangeLog Sun Apr 05 05:17:18 2009 -0400
@@ -4,7 +4,6 @@
grimmy.
* Memory leak fixes
* Added a new notification "new-emails" for handling multiple new emails.
- * Gave priority to use_gtk over a background image in themes.
Version 2.16 12/16/07:
* Really fixed the G_GNUC_NULL_TERMINATED errors on non-Windows platforms.
--- a/src/gf_notification.c Sat Dec 27 04:15:37 2008 -0500
+++ b/src/gf_notification.c Sun Apr 05 05:17:18 2009 -0400
@@ -95,22 +95,17 @@
if(data)
notification->use_gtk = atoi(data);
- /* if we're supposed to use the gtktheme, look for the width and height
- * attributes. If not, look for the background attribute.
- */
- if(notification->use_gtk) {
- data = xmlnode_get_attrib(node, "width");
- if(data)
- notification->width = atoi(data);
+ data = xmlnode_get_attrib(node, "background");
+ if(data)
+ notification->background = g_strdup(data);
- data = xmlnode_get_attrib(node, "height");
- if(data)
- notification->height = atoi(data);
- } else {
- data = xmlnode_get_attrib(node, "background");
- if(data)
- notification->background = g_strdup(data);
- }
+ data = xmlnode_get_attrib(node, "width");
+ if(data)
+ notification->width = atoi(data);
+
+ data = xmlnode_get_attrib(node, "height");
+ if(data)
+ notification->height = atoi(data);
data = xmlnode_get_attrib(node, "alias");
if(data)