Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Lachu:SystemServices
Lachu-PackageKit
0032-Amend.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0032-Amend.patch of Package Lachu-PackageKit
From b2f4e89907c4642632d6ff0d79b40f71ed9fe560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Lach?= <slawek@lach.art.pl> Date: Wed, 26 May 2021 10:07:08 +0200 Subject: [PATCH 32/46] - Amend --- helpers/dependency-solving-helper.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/helpers/dependency-solving-helper.cpp b/helpers/dependency-solving-helper.cpp index 6cb36819c..14a743acd 100644 --- a/helpers/dependency-solving-helper.cpp +++ b/helpers/dependency-solving-helper.cpp @@ -11,6 +11,9 @@ #include <dbus/dbus.h> +static const char *app_name_real = "PackageKit - dependency solver"; +static char *app_name[] = {"title", NULL, NULL}; + struct reader_info { char *buffer; int curr_old; @@ -119,6 +122,7 @@ static bool show_solutions(int fd, struct reader_info *in_ch_reader) xmlDocPtr a = bonsole_window(nullptr); root = xmlDocGetRootElement(a); + bonsole_set_context_params(0, app_name); form = xmlNewNode(NULL, BAD_CAST "form"); xmlSetProp(form, BAD_CAST "action",BAD_CAST "app:update"); @@ -679,6 +683,9 @@ int main(int argc, char **argv) int argc = 1; char *argv[2] = {(char*)"packagekitd", (char*)NULL}; + + app_name[1] = bonsole_escape_quotes(app_name_real); + if (0 != bonsole_client_init(&argc, argv)) exit(1); } -- 2.32.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor