parent
2f61dff8a4
commit
0ec9c1c396
@ -0,0 +1,27 @@
|
||||
From: Will Thompson <wjt@endlessm.com>
|
||||
Date: Fri, 4 Aug 2017 15:20:07 +0100
|
||||
Subject: [PATCH] gtk: use com.transmissionbt.Transmission.* D-Bus names
|
||||
|
||||
Using the com.transmissionbt.Transmission. namespace (with a capital T)
|
||||
is consistent with the Qt frontend using
|
||||
com.transmissionbt.Transmission, and with standard D-Bus naming
|
||||
conventions.
|
||||
---
|
||||
gtk/main.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/gtk/main.c b/gtk/main.c
|
||||
index a164ab439..9fa2690b5 100644
|
||||
--- gtk/main.c
|
||||
+++ gtk/main.c
|
||||
@@ -680,7 +680,7 @@ int main(int argc, char** argv)
|
||||
|
||||
/* init the application for the specified config dir */
|
||||
stat (cbdata.config_dir, &sb);
|
||||
- application_id = g_strdup_printf ("com.transmissionbt.transmission_%lu_%lu", (unsigned long)sb.st_dev, (unsigned long)sb.st_ino);
|
||||
+ application_id = g_strdup_printf ("com.transmissionbt.Transmission._%lu_%lu", (unsigned long)sb.st_dev, (unsigned long)sb.st_ino);
|
||||
app = gtk_application_new (application_id, G_APPLICATION_HANDLES_OPEN);
|
||||
g_signal_connect (app, "open", G_CALLBACK (on_open), &cbdata);
|
||||
g_signal_connect (app, "startup", G_CALLBACK (on_startup), &cbdata);
|
||||
--
|
||||
2.13.3
|
Loading…
Reference in new issue