From 3fdf22bd4eed33bc78fefc6265b6f0ced4d100f4 Mon Sep 17 00:00:00 2001 From: Kirottu <56396750+Kirottu@users.noreply.github.com> Date: Thu, 27 Apr 2023 07:35:40 +0300 Subject: [PATCH 1/2] Create FUNDING.yml --- .github/FUNDING.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..5c7f8fc --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +github: Kirottu From e11aa3550342cd099370f26308c89645a81b0737 Mon Sep 17 00:00:00 2001 From: Kirottu Date: Thu, 27 Apr 2023 10:56:26 +0300 Subject: [PATCH 2/2] Fixed outdated README.md plugin example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fb8fc8..ac69f67 100644 --- a/README.md +++ b/README.md @@ -227,12 +227,13 @@ fn get_matches(input: RString, data: &mut ()) -> RVec { vec![Match { title: "Test match".into(), icon: ROption::RSome("help-about"), + use_pango: false, description: ROption::RSome("Test match for the plugin API demo"), id: ROption::RNone, // The ID can be used for identifying the match later, is not required }].into() } -fn handler(selection: Match, data: &mut ()) -> HandleResult { +fn handler(selection: Match, input: RString, data: &mut ()) -> HandleResult { // Handle the selected match and return how anyrun should proceed HandleResult::Close }