Debian Codegraph @

debian/patches/appid.patch

raw
1 Description: Align application id with desktop file name
2 Author: Sébastien Villemot <[email protected]>
3 Bug-Debian: https://bugs.debian.org/1019754
4 Forwarded: not-needed
5
6 --- a/gtk/shell_main.cc
7 +++ b/gtk/shell_main.cc
8 @@ -204,8 +204,10 @@
9
10 #ifdef BCD_MATH
11 #define TITLE "Free42 Decimal"
12 +#define APPID "com.thomasokken.Free42dec"
13 #else
14 #define TITLE "Free42 Binary"
15 +#define APPID "com.thomasokken.Free42bin"
16 #endif
17
18 static const char *mainWindowXml =
19 @@ -429,7 +431,7 @@
20
21 GtkApplication *app;
22 int status;
23 - app = gtk_application_new("com.thomasokken.free42", G_APPLICATION_FLAGS_NONE);
24 + app = gtk_application_new(APPID, G_APPLICATION_FLAGS_NONE);
25
26 GValue gv = G_VALUE_INIT;
27 g_value_init(&gv, G_TYPE_BOOLEAN);