Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fun.git;a=commitdiff;h=6aabddcf9453d8c98e7aafe4e94f5d15a6665cdd

commit 6aabddcf9453d8c98e7aafe4e94f5d15a6665cdd
Author: James Buren <r...@frugalware.org>
Date:   Tue Sep 6 00:10:50 2011 -0500

fun-tooltip.c: fix libnotify building

diff --git a/src/fun-tooltip.c b/src/fun-tooltip.c
index 322c6f7..1a932b4 100644
--- a/src/fun-tooltip.c
+++ b/src/fun-tooltip.c
@@ -35,12 +35,10 @@ void fun_tooltip_new (GtkStatusIcon *icon)
notify_init ("fun");
tooltip = notify_notification_new ("Frugalware Update Notifier",
NULL,
-                                               "fun",
-                                               NULL);
+                                               "fun");
notify_notification_set_category (tooltip, "information");
notify_notification_set_timeout (tooltip, 
(fun_config_get_value_int("notification_timeout")*1000));
notify_notification_set_urgency (tooltip, NOTIFY_URGENCY_NORMAL);
-       notify_notification_attach_to_status_icon (tooltip, icon);
notify_notification_add_action (tooltip, "view_updates", _("View Updates"), 
(NotifyActionCallback)fun_tooltip_callback, NULL, NULL);

return;
@@ -69,7 +67,6 @@ void fun_tooltip_show (GtkStatusIcon *icon)
GdkRectangle area;

gtk_status_icon_get_geometry (icon, &screen, &area, NULL);
-               notify_notification_set_geometry_hints (tooltip, screen, 
area.x, area.y);
notify_notification_show (tooltip, NULL);
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to