mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
parent
69267e8b40
commit
8b7d57116b
2 changed files with 23 additions and 1 deletions
22
srcpkgs/dino/patches/quote.patch
Normal file
22
srcpkgs/dino/patches/quote.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
From 1309d7e2e42a1fdced3127c641f108fb72cc2fdd Mon Sep 17 00:00:00 2001
|
||||||
|
From: fiaxh <git@lightrise.org>
|
||||||
|
Date: Mon, 14 Feb 2022 23:49:45 +0100
|
||||||
|
Subject: [PATCH] Fix quote formating to not (partially) expect a space after >
|
||||||
|
|
||||||
|
---
|
||||||
|
main/src/ui/util/helper.vala | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala
|
||||||
|
index 51f0cc9c1..427c2d3a2 100644
|
||||||
|
--- a/main/src/ui/util/helper.vala
|
||||||
|
+++ b/main/src/ui/util/helper.vala
|
||||||
|
@@ -259,7 +259,7 @@ public static string parse_add_markup_theme(string s_, string? highlight_word, b
|
||||||
|
theme_dependent = true;
|
||||||
|
quote_match_info.fetch_pos(0, out start, out end);
|
||||||
|
return parse_add_markup_theme(s[0:start], highlight_word, parse_links, parse_text_markup, parse_quotes, dark_theme, ref theme_dependent, already_escaped) +
|
||||||
|
- @"<span color='$dim_color'>$gt " + parse_add_markup_theme(s[start + gt.length + 1:end], highlight_word, parse_links, parse_text_markup, false, dark_theme, ref theme_dependent, already_escaped) + "</span>" +
|
||||||
|
+ @"<span color='$dim_color'>$gt" + parse_add_markup_theme(s[start + gt.length:end], highlight_word, parse_links, parse_text_markup, false, dark_theme, ref theme_dependent, already_escaped) + "</span>" +
|
||||||
|
parse_add_markup_theme(s[end:s.length], highlight_word, parse_links, parse_text_markup, parse_quotes, dark_theme, ref theme_dependent, already_escaped);
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dino'
|
# Template file for 'dino'
|
||||||
pkgname=dino
|
pkgname=dino
|
||||||
version=0.3.0
|
version=0.3.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DDINO_PLUGIN_ENABLED_notification-sound=ON"
|
configure_args="-DDINO_PLUGIN_ENABLED_notification-sound=ON"
|
||||||
hostmakedepends="cmake ninja gettext unzip pkg-config vala glib-devel"
|
hostmakedepends="cmake ninja gettext unzip pkg-config vala glib-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue