-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindicatorkdeconnect-fixes.patch
116 lines (94 loc) · 4.47 KB
/
indicatorkdeconnect-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
--- indicator-kdeconnect/src/FirstTimeWizard.vala 2017-10-24 13:35:37.447744337 -0200
+++ indicator-kdeconnect/src/FirstTimeWizard.vala 2017-10-24 13:35:26.116043580 -0200
@@ -11,7 +11,7 @@
public FirstTimeWizard (KDEConnectManager manager) {
this.default_width = 600;
this.default_height = 500;
- this.set_icon_name("kdeconnect");
+ this.set_icon_name("com.github.bajoja.indicator-kdeconnect");
this.manager = manager;
var stack = new Gtk.Stack ();
--- indicator-kdeconnect/src/main.vala 2017-07-29 02:53:53.492812341 -0300
+++ indicator-kdeconnect/src/main.vala 2017-07-29 13:28:17.784019292 -0300
@@ -12,7 +12,7 @@
private FirstTimeWizard ftw;
public Application () {
- Object (application_id: "com.bajoja.indicator-kdeconnect",
+ Object (application_id: "com.github.bajoja.indicator-kdeconnect",
flags: ApplicationFlags.FLAGS_NONE);
}
--- indicator-kdeconnect/src/StartupManager.vala 2017-07-29 13:59:59.751564867 -0300
+++ indicator-kdeconnect/src/StartupManager.vala 2017-07-29 14:00:59.863372685 -0300
@@ -5,7 +5,7 @@
*/
namespace KDEConnectIndicator {
public class StartupManager {
- private const string desktop_file = "indicator-kdeconnect.desktop";
+ private const string desktop_file = "com.github.bajoja.indicator-kdeconnect.desktop";
private string prefix_dir;
private string autostart_folder;
private File startup_file;
--- indicator-kdeconnect/src/settings/Settings.vala 2017-07-29 02:53:53.492812341 -0300
+++ indicator-kdeconnect/src/settings/Settings.vala 2017-07-29 14:27:26.702453963 -0300
@@ -22,12 +22,12 @@
public SettingsDialog () {
- Object (application_id: "com.bajoja.indicator-kdeconnect-settings",
+ Object (application_id: "com.github.bajoja.indicator-kdeconnect.settings",
flags: ApplicationFlags.FLAGS_NONE);
}
protected override void activate () {
this.settings = new GLib.Settings("com.bajoja.indicator-kdeconnect");
create_window ();
}
--- indicator-kdeconnect/src/DeviceIndicator.vala 2017-07-30 18:35:08.073869901 -0300
+++ indicator-kdeconnect/src/DeviceIndicator.vala 2017-07-30 22:45:31.176073120 -0300
@@ -28,7 +28,7 @@
menu = new Gtk.Menu ();
indicator = new AppIndicator.Indicator (path,
- device.icon,
+ "com.github.bajoja.indicator-kdeconnect." + device.icon + "-symbolic",
AppIndicator.IndicatorCategory.HARDWARE);
name_item = new Gtk.MenuItem ();
@@ -134,7 +134,7 @@
try{
Process.spawn_async (null,
new string[]{
- "/usr/share/indicator-kdeconnect/Sms.py",
+ "/app/share/indicator-kdeconnect/Sms.py",
"-d",
device.id},
null,
@@ -216,7 +216,7 @@
}
private void update_icon_item() {
- indicator.set_icon_full (device.icon, "");
+ indicator.set_icon_full ("com.github.bajoja.indicator-kdeconnect." + device.icon + "-symbolic", "");
}
private void update_battery_item () {
--- indicator-kdeconnect/src/sms/Sms.py 2017-08-09 20:19:50.201059304 -0300
+++ indicator-kdeconnect/src/sms/Sms.py 2017-08-12 13:35:09.928443571 -0300
@@ -27,7 +27,7 @@
_ = gettext.gettext
locale.setlocale(locale.LC_ALL, '')
-gettext.bindtextdomain('indicator-kdeconnect', '/usr/share/locale')
+gettext.bindtextdomain('indicator-kdeconnect', '/app/share/locale')
gettext.textdomain('indicator-kdeconnect')
parser = argparse.ArgumentParser(
--- indicator-kdeconnect/src/kdeconnectsend/KDEConnectSend.vala 2017-08-09 20:19:50.201059304 -0300
+++ indicator-kdeconnect/src/kdeconnectsend/KDEConnectSend.vala 2017-08-12 12:49:50.547395390 -0300
@@ -25,7 +25,7 @@
private SList<Device> device_list;
public SendDialog () {
- Object (application_id: "com.bajoja.kdeconnect-send",
+ Object (application_id: "com.github.bajoja.kdeconnect-indicator.kdeconnect-send",
flags: ApplicationFlags.HANDLES_OPEN);
}
--- indicator-kdeconnect/data/desktop/indicator-kdeconnect-settings.desktop 2017-07-29 02:07:28.573346739 -0300
+++ indicator-kdeconnect/data/desktop/indicator-kdeconnect-settings.desktop 2017-07-30 20:29:46.927678806 -0300
@@ -5,5 +5,5 @@
Terminal=false
Type=Application
StartupNotify=true
-Icon=kdeconnect
+Icon=com.github.bajoja.indicator-kdeconnect
Categories=Network;System;