Christian Hammond
6b40617e90
Add support for sending the closed reason in the signal handler. Closes ticket #139 .
2008-03-19 04:53:30 +00:00
Christian Hammond
8ee3f0d77b
Patch by Lucas Rocha to add GObject property accessors for notification IDs.
2007-04-29 07:43:55 +00:00
Christian Hammond
024008efc7
Prevent a crash when the handler for a notification's closed signal removes the last reference to the notification. We attempted to set the ID of the notification after emitting this signal, but the notification was destroyed already. So, keep a reference while doing all this. This fixes bug #116 .
2007-02-15 10:45:40 +00:00
Christian Hammond
89d870259f
Fix some memory leaks when appending data to a message. Scary, horrible, traumatizing memory leaks. Actually it's pretty bad, though, so new release coming up soon. This fixes bug #112 .
2007-02-15 10:10:32 +00:00
Christian Hammond
c0c861e473
Fix a bug in notify_notification_add_action where the function to free the user data was never called, causing memory leaks. This fixes bug #119 .
2007-02-15 08:54:39 +00:00
Christian Hammond
4eaae59a68
Patch by jylefort to only reset a notification's ID to 0 if it was the notification closed. This fixes bug #94 .
2006-11-05 19:52:25 +00:00
Christian Hammond
4d601b61b1
Patch by lucasr to fix an invalid assertion in notify_notification_new_with_status_icon. This closes bug #85 .
2006-09-04 06:49:15 +00:00
Christian Hammond
ed9bc42c6f
Emit the property change notification for "status-icon" and not "attach-icon". This closes bug #81 .
2006-08-01 02:40:51 +00:00
Christian Hammond
b0dad66b71
Patch by Ed Catmur to reset a notification's ID if notify_notification_show() is called on a notification that had already been closed. This causes the notification to receive a new ID. This closes ticket #78 .
2006-07-29 10:06:22 +00:00
Christian Hammond
1d95f7d3c3
- Patch by mderezynski to send an array of UCHARs as expected by notification-daemon rather than an array of CHARs. This closes ticket #68 .
...
- Bump to version 0.4.2.90.
2006-07-13 07:43:50 +00:00
Christian Hammond
02442e7e8c
Fix a build error on gtk 2.9.2+. This fixes bug #65 .
2006-06-15 09:15:02 +00:00
Christian Hammond
629f6e08ca
Provide more documentation.
2006-06-06 08:29:32 +00:00
Christian Hammond
2ef25f78f9
Update notify_notification_set_geometry_hints() to take a x, y instead of a GdkRectangle. We don't need the width and height information.
2006-06-06 07:28:21 +00:00
Christian Hammond
cc13b1892f
Add some gtk-doc documentation.
2006-06-06 07:14:42 +00:00
Christian Hammond
d986aaf233
Patch by chpe to add support for using the new GtkStatusIcon in GTK+ 2.9.x. These functions are #ifdef'd to only be provided in supported versions of GTK. The patch also added support for GObject properties on the NotifyNotification objects. This closes ticket #60 .
2006-06-05 00:48:56 +00:00
Christian Hammond
cb2ee86909
Don't complain about an unknown action when the action is "default"
2006-02-05 01:18:54 +00:00
Christian Hammond
626c43f126
More Doxygen happiness. Still no NotifyNotification docs yet though.
2006-01-29 21:26:57 +00:00
Christian Hammond
18d8f305d0
Make a best attempt at clearing away notifications that require actions or that exist until clicked when the calling application exits. This doesn't always work.
2006-01-23 09:10:55 +00:00
Christian Hammond
df803f9d01
Fix some errors in the spec file. Some pieces were not updated when the specification was changed, and some pieces were invalid XML.
2006-01-23 07:47:03 +00:00
Christian Hammond
85d5df3cbd
Raw images are broken in D-BUS versions less than 0.60. Don't crash under this case, and warn the user.
2006-01-22 21:22:27 +00:00
Christian Hammond
c587295cdd
Use one D-BUS connection, one GProxy, total. This is better than the one per notification, and fixes a few bugs.
2006-01-21 08:38:35 +00:00
Christian Hammond
2676d3aa8b
I have no clue what this function is.
2006-01-20 10:23:55 +00:00
Christian Hammond
ab651643eb
Remove notify_notification_show_and_forget(). It's less confusing to have one show function, and require that the user unref. It also simplifies the code quite a bit.
2006-01-20 10:19:44 +00:00
Christian Hammond
8297e321bf
Implement per-action user data.
2006-01-20 10:11:23 +00:00
Christian Hammond
85342c8619
- Fix some weird argument ordering in the calls to dbus_g_proxy_call_*().
...
- Re-order the arguments as per the spec.
- Change NOTIFY_TIMEOUT_* to NOTIFY_EXPIRES_*.
- Update the spec to 0.9.
2006-01-20 10:00:32 +00:00
Christian Hammond
a834c839fc
- Clean up a lot of the API. Several functions returned gboolean when there was very little point in doing so.
...
- Add assertions to all the functions.
- Remove the notify_notification_{set,get}_user_data() functions. These are useless, since this is a GObject, and we get it for free.
2006-01-20 09:39:25 +00:00
Christian Hammond
78db57f7f2
Rename notify_notification_set_icon_data_from_pixbuf to notify_notification_set_icon_from_pixbuf.
2006-01-20 06:11:53 +00:00
Christian Hammond
3dac8b3d66
Do some rearranging of the files in libnotify, and include things properly so people can actually use the library without fudging with include paths.
2006-01-20 06:08:58 +00:00