Commit ee01d5b4 authored by Kalev Lember's avatar Kalev Lember

Don't override prgname with org.gnome.Software

Just use the default, so that --help shows 'gnome-software' instead of
'org.gnome.Software' as the binary name.

Incidentally, this also fixes Dogtail tests to run on my machine.
parent d04287fd
......@@ -741,7 +741,6 @@ gs_application_class_init (GsApplicationClass *class)
GsApplication *
gs_application_new (void)
{
g_set_prgname("org.gnome.Software");
return g_object_new (GS_APPLICATION_TYPE,
"application-id", "org.gnome.Software",
"flags", G_APPLICATION_HANDLES_OPEN,
......
......@@ -20,7 +20,7 @@ from dogtail.rawinput import keyCombo
try:
run('gnome-software')
app = root.application('org.gnome.Software')
app = root.application('gnome-software')
bus = Gio.bus_get_sync(Gio.BusType.SESSION, None)
proxy = Gio.DBusProxy.new_sync(bus, Gio.DBusProxyFlags.NONE,
......
......@@ -21,7 +21,7 @@ from dogtail.procedural import *
try:
run('gnome-software')
app_name = 'org.gnome.Software'
app_name = 'gnome-software'
app = root.application(app_name)
all_button = app.child('All')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment