Commit Graph

368 Commits

Author SHA1 Message Date
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 d43f911108 Get rid of format_func. 2007-02-15 10:29:16 +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 f482d2ef94 Use a more common (I hope) icontheme icon for the test. 2007-02-15 09:59:13 +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 bdf8640cab Added a test program that displays three notifications and then changes the amount of text in one of them. 2006-11-14 07:42:35 +00:00
Christian Hammond 9362dbd6bd Patch by Giacomo Lozito to fix a problem where the dbus proxy was not being freed on notify_uninit, which led to problems when libnotify was used in a loadable module. This fixes bug #92. 2006-11-05 20:07:37 +00:00
Christian Hammond c037f63ca9 Bump to version 0.4.3.90. 2006-11-05 19:54:20 +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 cfdf35c002 Woops. 2006-10-08 17:35:20 +00:00
Christian Hammond e4acc71f61 - Bump the version to 0.4.3.
- Add the release datestamp.
2006-10-08 17:23:30 +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 fead26f260 Patch by berndth to stop using g_atexit, as this can fail in the case of a dynamically loaded module. Applications should now call notify_uninit() on exit or on plugin unload. This closes bug #86. 2006-09-04 06:45:34 +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 761ad2b8c7 Patch by compnerd to check for glib 2.6+ during configure, as that is now required. This closes ticket #69. 2006-07-13 07:45:34 +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 f3cd7baba9 Bump to version 0.4.2. 2006-06-18 02:18:18 +00:00
Christian Hammond e447e0e186 Add G_BEGIN_DECLS and G_END_DECLS to notify.h, so that libnotify can be used in C++ applications properly. 2006-06-18 02:17:56 +00:00
Christian Hammond 87098904da Grr, timestamp. I always forget the timestamp. 2006-06-18 01:25:15 +00:00
Christian Hammond 4de529a056 - Fix make distcheck and remove the old RPM spec file.
- Update the news.
- Bump the version to 0.4.1.
2006-06-18 01:20:40 +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 7b7b44e64e Shush. 2006-06-09 02:54:53 +00:00
Christian Hammond 304e0ab4a8 Small random fixes. 2006-06-06 19:45:19 +00:00
Christian Hammond bc0afaba4d More fixes.. 2006-06-06 09:17:21 +00:00
Christian Hammond ebda20522d Fix up some references to files. 2006-06-06 08:46:01 +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 51ecbc7a2b Set _initted to FALSE in notify_uninit(), so that notify_is_initted() won't return TRUE. 2006-06-04 23:12:30 +00:00
Christian Hammond a70c8b7256 - Improve libnotify.pc by pushing dependencies into Requires: instead of Cflags: and Libs:. This closes ticket #58.
- Bump the version to 0.4.0.90.
2006-06-02 22:58:39 +00:00
Christian Hammond 575d12a3cf Add the release marker and the news timestamp. 2006-04-26 08:31:06 +00:00
Christian Hammond 58edddd670 Bundle applet-critical.png. 2006-04-26 08:15:30 +00:00
Christian Hammond 0e1236f8c6 Set the second, replaced notification to have a default expiration. 2006-04-26 08:07:54 +00:00
Christian Hammond d5bc37978f Shush. 2006-04-26 06:54:00 +00:00
Christian Hammond a42dbbb198 - Add GTypes for the enums.
- Bump to version 0.4.0.
2006-04-26 06:53:25 +00:00
Christian Hammond 870f6923ab Use fprintf instead of g_warning. 2006-04-21 22:35:52 +00:00
Christian Hammond 5d9fd84226 Add some names to the patch writers list. 2006-04-21 21:39:06 +00:00
Christian Hammond 26a32c06ee Patch by jensgr to fix some C99 usage in the tests code. 2006-04-21 21:36:21 +00:00
Christian Hammond d4768ac937 Patch by M.S. to switch notify-send to use GOption instead of popt, to add -v, --version, -h, and --hint options, and to rename -T, --type to -c, --category. This also fixes assertions when calling notify-send "". This closes ticket #41. 2006-04-21 21:27:46 +00:00
Christian Hammond 30961cc1a6 - Change the help for notify-send to indicate that --expire-timeout requires milliseconds, not seconds. This fixes bug #28.
- Fixed the short flag for --type to be -T. This fixes bug #18.
2006-03-20 22:17:10 +00:00
Christian Hammond 69547a286e Fix notify-send on PPC. 2006-03-18 22:48:08 +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 d87a3fec52 Ignore test-xy-actions. 2006-02-04 21:29:50 +00:00
Christian Hammond 22ba935534 Add test-xy-actions. 2006-02-04 21:29:34 +00:00
Christian Hammond 8da44e5b1e Ignore test-urgency. 2006-02-04 20:43:29 +00:00
Christian Hammond 257aaf99d3 Running out of disk space is a critical notification. Set the urgency level in test-multi-actions. 2006-02-04 20:41:26 +00:00
Christian Hammond 931065204c It's a good thing to actually set the urgency levels in the urgency test. 2006-02-04 10:04:27 +00:00
Christian Hammond 8705b75a63 Add a test-urgency testcase. 2006-02-04 09:47:18 +00:00