Commit Graph

49 Commits

Author SHA1 Message Date
Marco Trevisan 593f260722 Build with meson and add CI 2019-01-31 17:15:27 +00:00
Emmanuele Bassi 43aac613f1 Conditionall call g_type_init() after a version check
There's no need to call g_type_init() since GLib 2.36, so let's hide it
when building against newer versions of GLib.
2017-07-17 10:16:06 +01:00
William Jon McCann e8ecbfb036 Add simple test for notification removal 2011-06-16 14:46:52 -04:00
William Jon McCann cdc6f37dd8 Add another test with symbolic icons 2011-03-15 00:09:25 -04:00
Martin Pitt b2020b7f2a Add Python test script for GIR
https://bugzilla.gnome.org/show_bug.cgi?id=635169
2010-11-18 14:21:10 +01:00
William Jon McCann 5e9614637d Make actions test more like a real scenario 2010-11-15 14:57:03 -05:00
William Jon McCann a096a24337 Add a negative case to the action-icons test 2010-10-29 19:07:21 -04:00
William Jon McCann 8ae0b6e908 Add test for action-icons 2010-10-29 18:32:46 -04:00
William Jon McCann 714c29afcc Enhance the resident test 2010-10-29 18:16:31 -04:00
William Jon McCann 4026faf46b Add tests for transient and resident 2010-10-28 14:55:08 -04:00
William Jon McCann cff2c03c51 use the non-deprecated api in the test 2010-10-15 00:13:14 -04:00
William Jon McCann 0c34eb565e Use a less hacky way to get a stock pixbuf 2010-10-15 00:11:58 -04:00
Christian Persch f63e8ab8b1 Port to gdbus
Bug #622891.
2010-10-12 15:57:33 +02:00
William Jon McCann cb6f92ce5b Port to gtk3 for the tests 2010-10-09 01:26:38 -04:00
William Jon McCann b6c1835fcf Don't need to fuss with gtk symbols since we don't use gtk at all anymore 2010-10-09 00:32:31 -04:00
William Jon McCann 27e05d0f95 Remove the ability to attach notifications to widgets or positions 2010-10-08 22:47:06 -04:00
William Jon McCann 8c180aa49e Add a test for the persistence server capability 2010-10-08 21:29:28 -04:00
Bastien Nocera 0eb56b2fcf Don't link against a particular version of GTK+
Instead, open ourselves through GModule, and check whether
we have all the GTK+ and GDK functions required for us to
work correctly.

This means that the front-end application cannot rely on
libnotify linking against GTK+, which would only be a problem
for edge-cases.

https://bugzilla.gnome.org/show_bug.cgi?id=622550
2010-06-28 23:34:50 +01:00
William Jon McCann eed6a066cf Add a never expires test case 2010-06-23 23:16:00 -04:00
William Jon McCann d521157ec6 Add test-rtl.c
Missing from 3de71571ea
2010-06-23 19:06:42 -04:00
William Jon McCann 3de71571ea Add rtl test case
https://bugzilla.gnome.org/show_bug.cgi?id=608082
2010-04-02 19:20:53 -04:00
William Jon McCann 80952af10e Add pango's .gitignore generation foo 2010-01-31 14:33:46 -05:00
William Jon McCann 86b806c71e Add two more cases to basic test
Add summary only and long summary
2010-01-29 04:43:07 -05:00
William Jon McCann ac8fe12f9a Fix mode lines 2010-01-29 03:46:42 -05:00
William Jon McCann 5d5a284ca6 Use consistent style in the tests 2010-01-29 02:59:26 -05:00
William Jon McCann 7b4a0ce00b Allow to compile on Hurd
From http://trac.galago-project.org/ticket/166
2010-01-09 13:19:21 -05: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 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 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 26a32c06ee Patch by jensgr to fix some C99 usage in the tests code. 2006-04-21 21:36:21 +00:00
Christian Hammond 22ba935534 Add test-xy-actions. 2006-02-04 21:29:34 +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
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 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 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 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 28e0463e75 Remove the config.h include from notifynotification.h. 2006-01-19 06:25:16 +00:00
Christian Hammond 85981b247c Add back notify_get_server_info() and notify_get_server_caps(). 2006-01-16 01:53:06 +00:00
Christian Hammond 959eeb5bcd Fix some C99 usage. 2006-01-11 06:56:38 +00:00
Christian Hammond fb513c854d Clean up lots of warnings. 2006-01-09 18:16:48 +00:00
John (J5) Palmieri 5cd10607b1 * Release 0.3.0
* tests/Makefile.am, tools/Makefile.am: patch from Rodney
  Dawes <dobey at novell.com> fixing make distcheck

* tools/notify-send.c: use show_and_forget
2005-12-13 22:42:48 +00:00
John (J5) Palmieri 9c670744bd - must have just checked in the src directory
here is the rest
2005-12-13 22:16:51 +00:00
John (J5) Palmieri 38c83b0ef5 * libnotify/notifynotification.c (SIGNAL_TYPE_CLOSED): "closed" glib
signal added
  (notify_notification_clear_hints): New API for clearing out the 
  hints hash
  (notify_notification_ref, notify_notification_unref): removed - use
  g_object_ref/unref

* tests/*: Various changes to the test binaries
2005-12-02 20:36:46 +00:00
John (J5) Palmieri 6017d6af7b First import of the next generation libnotify API 2005-11-10 19:18:10 +00:00