Commit Graph

55 Commits

Author SHA1 Message Date
c2efdd0842
Add Notification::set_category() 2017-07-09 19:30:49 +02:00
a52c50a318
Add Author 2017-07-09 14:38:55 +02:00
34880d2117
Bump version to 0.5.0 2017-07-09 14:34:45 +02:00
73eb0cc68d
Cosmetics 2017-07-09 14:25:30 +02:00
95263c33f8
Add Notification::set_hint() 2017-07-09 14:23:37 +02:00
cdc4af3be1
Add Notification::update() 2017-07-09 14:22:36 +02:00
8c66220a4e
Add Notification::set_notification_timeout() 2017-07-09 14:22:06 +02:00
923c801814
Fix gtypes version constraint 2017-07-09 14:20:11 +02:00
6e5a9ab5d4
Switch to using glib-sys
We need GVariant and to_glib_none() later,
which must be from the crate glib_sys.
2017-07-09 14:19:48 +02:00
bf90bccef8
Undeprecate 2017-07-09 13:52:54 +02:00
7d80600657
Fix body/icon pointing to garbage
The pattern matching moves 'body' and drops it after
creation of the pointer. We must avoid the move, by using 'ref'.
2017-07-09 12:51:55 +02:00
Mika Attila
5ab8f64e88 Deprecate in favor of notify-rust 2017-04-01 17:55:11 +02:00
Mika Attila
a61230b012 Update dependencies 2016-01-27 23:11:38 +01:00
Mika Attila
a74f4c9888 Add convenience method to context for showing a notification 2015-11-03 10:06:33 +01:00
Mika Attila
69a2d18218 Version bump 2015-11-03 09:19:13 +01:00
Mika Attila
c698097ffd Remove unnecessary return statement 2015-11-03 09:17:20 +01:00
Mika Attila
8daef60a03 Implement From<ffi::NulError> for error types that have this variant 2015-11-03 09:15:16 +01:00
Mika Attila
d282d2cd50 Add remaining missing documentation 2015-11-03 01:04:22 +01:00
Mika Attila
6251e0ad5c Expose ffi::NulError in nul errors 2015-11-03 01:01:49 +01:00
Mika Attila
db2578ea92 Use fmt::Result 2015-11-03 00:55:09 +01:00
Mika Attila
ba947a35f8 Rename InitFailure to InitError and add documentation 2015-11-03 00:54:03 +01:00
Mika Attila
503eee4441 Warn about missing documentation 2015-11-03 00:51:20 +01:00
Mika Attila
4b0aaab709 Update doc example 2015-11-03 00:50:27 +01:00
Mika Attila
94bb46164f Add NotificationShowError 2015-11-03 00:49:12 +01:00
Mika Attila
3dfc03aebd Format source code with rustfmt 2015-11-02 23:55:35 +01:00
Mika Attila
7bc56e4974 Let's try this again, shall we? 2015-11-01 22:07:39 +01:00
Mika Attila
d42152428f Remove some unnecessary stuff from .travis.yml 2015-11-01 22:05:12 +01:00
Mika Attila
619409ffc4 Add travis badge 2015-11-01 22:03:36 +01:00
Mika Attila
8e7b939a78 Add .travis.yml 2015-11-01 22:01:07 +01:00
Mika Attila
d19aadb4d2 Version bump 2015-10-24 14:55:05 +02:00
Mika Attila
7556615e78 Specify exact versions of dependencies 2015-10-24 14:54:47 +02:00
Mika Attila
1636812abc Merge pull request #1 from mzabaluev/rename-glib-sys
Renaming of glib packages
2015-10-23 22:51:28 +02:00
Mikhail Zabaluev
d979d8a2d1 Renamed glib packages
I'm going to normalize the package names in gi-rust, while also switching
to generated code that provides nearly all of the library API. This
package is one of the few that depends on the current name.
2015-10-23 23:34:09 +03:00
Mika Attila
d23eabffea Version bump 2015-09-19 09:42:31 +02:00
Mika Attila
ffd99b67e2 Depend on gtypes 2015-09-19 09:42:17 +02:00
Mika Attila
72df2c0adb Version bump 2015-03-27 08:34:00 +01:00
Mika Attila
dac1075025 Update to new crate naming rules 2015-03-25 19:04:43 +01:00
Mika Attila
d3ad5323fb Update doc example 2015-03-10 19:18:44 +01:00
Mika Attila
445f0b6d13 Implement std::fmt::Display for the error types 2015-03-10 19:14:18 +01:00
Mika Attila
a0955acabd Add example to the documentation 2015-03-10 08:46:54 +01:00
Mika Attila
e9665b08c2 Version bump 2015-03-09 21:18:05 +01:00
Mika Attila
c66aec1c86 Add documentation link 2015-03-09 21:17:41 +01:00
Mika Attila
87de6c375f Add more info to Cargo.toml 2015-03-09 21:06:34 +01:00
Mika Attila
0f65528ba1 Add MIT License 2015-03-09 21:05:03 +01:00
Mika Attila
f6229fed25 Depend on crates.io packages instead of git 2015-03-09 21:04:13 +01:00
Mika Attila
23951a87a8 Temporarily rely on crumblingstatue/glib-sys 2015-03-08 17:34:28 +01:00
Mika Attila
e2a758d947 Update show example 2015-03-08 17:14:52 +01:00
Mika Attila
4fa9d1d959 Add info to doc that there can only be one context at a time 2015-03-08 17:11:44 +01:00
Mika Attila
2e317752c2 Add some documentation 2015-03-08 17:07:50 +01:00
Mika Attila
0e83385a01 Context::new_notification: Make body arg optional, add icon arg 2015-03-08 16:59:15 +01:00