fix in case of no url in aur pkg
This commit is contained in:
parent
7266a57664
commit
654a50daf4
@ -331,7 +331,7 @@ namespace Pamac {
|
|||||||
desc_label.set_markup (Markup.escape_text (node.get_string ()));
|
desc_label.set_markup (Markup.escape_text (node.get_string ()));
|
||||||
string url = "";
|
string url = "";
|
||||||
node = all_infos.get_member ("URL");
|
node = all_infos.get_member ("URL");
|
||||||
if (node != null) {
|
if (!node.is_null ()) {
|
||||||
url = Markup.escape_text (node.get_string ());
|
url = Markup.escape_text (node.get_string ());
|
||||||
}
|
}
|
||||||
string aur_url = "http://aur.archlinux.org/packages/" + name;
|
string aur_url = "http://aur.archlinux.org/packages/" + name;
|
||||||
|
Loading…
Reference in New Issue
Block a user