summarylogtreecommitdiffstats
path: root/02_change_gconf-keys_path.patch
blob: 6df8bc903d5f4b2f1058231426514db5f74a6a80 (plain)
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_change_gconf-keys_path.dpatch.dpatch by Mohammed Adnène Trojette <adn+deb@diwi.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Replace path to gnome-alsamixer's gconf keys

@DPATCH@

--- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-slider.c
+++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-slider.c
@@ -481,7 +481,7 @@
 
     disp_name = g_strndup (gam_slider_get_name (gam_slider), 8);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_display_names/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/slider_display_names/%s-%s",
                            gam_mixer_get_config_name (GAM_MIXER (priv->mixer)),
                            gam_slider_get_config_name (gam_slider));
 
@@ -508,7 +508,7 @@
 
     priv = GAM_SLIDER_GET_PRIVATE (gam_slider);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_display_names/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/slider_display_names/%s-%s",
                            gam_mixer_get_config_name (GAM_MIXER (priv->mixer)),
                            gam_slider_get_config_name (gam_slider));
 
@@ -533,7 +533,7 @@
 
     priv = GAM_SLIDER_GET_PRIVATE (gam_slider);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_sliders/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/display_sliders/%s-%s",
                            gam_mixer_get_config_name (GAM_MIXER (priv->mixer)),
                            gam_slider_get_config_name (gam_slider));
 
@@ -557,7 +557,7 @@
 
     priv = GAM_SLIDER_GET_PRIVATE (gam_slider);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_sliders/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/display_sliders/%s-%s",
                            gam_mixer_get_config_name (GAM_MIXER (priv->mixer)),
                            gam_slider_get_config_name (gam_slider));
 
--- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-toggle.c
+++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-toggle.c
@@ -410,7 +410,7 @@
 
     priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/toggle_display_names/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/toggle_display_names/%s-%s",
                            gam_mixer_get_config_name (GAM_MIXER (priv->mixer)),
                            gam_toggle_get_config_name (gam_toggle));
 
@@ -433,7 +433,7 @@
 
     priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/toggle_display_names/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/toggle_display_names/%s-%s",
                            gam_mixer_get_config_name (GAM_MIXER (priv->mixer)),
                            gam_toggle_get_config_name (gam_toggle));
 
@@ -458,7 +458,7 @@
 
     priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_toggles/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/display_toggles/%s-%s",
                            gam_mixer_get_config_name (GAM_MIXER (priv->mixer)),
                            gam_toggle_get_config_name (gam_toggle));
 
@@ -482,7 +482,7 @@
 
     priv = GAM_TOGGLE_GET_PRIVATE (gam_toggle);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_toggles/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/display_toggles/%s-%s",
                            gam_mixer_get_config_name (GAM_MIXER (priv->mixer)),
                            gam_toggle_get_config_name (gam_toggle));
 
--- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-app.c
+++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-app.c
@@ -331,7 +331,7 @@
     gam_app_load_prefs (gam_app);
 
     /*gconf_client_notify_add (priv->gconf_client,
-                             "/apps/PAW/gnomealsamixer/preferences/tab_position",
+                             "/apps/gnomealsamixer/preferences/tab_position",
                              (GConfClientNotifyFunc) pawed_app_gconf_notify_func,
                              pawed_app,
                              NULL,
@@ -351,10 +351,10 @@
     priv = GAM_APP_GET_PRIVATE (gam_app);
 
     width = gconf_client_get_int (priv->gconf_client,
-                                  "/apps/PAW/gnome-alsamixer/geometry/main_window_width",
+                                  "/apps/gnome-alsamixer/geometry/main_window_width",
                                   NULL);
     height = gconf_client_get_int (priv->gconf_client,
-                                   "/apps/PAW/gnome-alsamixer/geometry/main_window_height",
+                                   "/apps/gnome-alsamixer/geometry/main_window_height",
                                    NULL);
 
     if ((height != 0) && (width != 0))
@@ -376,11 +376,11 @@
     gdk_window_get_geometry (GDK_WINDOW (GTK_WIDGET (gam_app)->window), NULL, NULL, &width, &height, NULL);
 
     gconf_client_set_int (priv->gconf_client,
-                          "/apps/PAW/gnome-alsamixer/geometry/main_window_height",
+                          "/apps/gnome-alsamixer/geometry/main_window_height",
                           height,
                           NULL);
     gconf_client_set_int (priv->gconf_client,
-                          "/apps/PAW/gnome-alsamixer/geometry/main_window_width",
+                          "/apps/gnome-alsamixer/geometry/main_window_width",
                           width,
                           NULL);
 
@@ -630,7 +630,7 @@
 gint
 gam_app_get_mixer_slider_style (GamApp *gam_app)
 {
-    const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_style";
+    const gchar *key = "/apps/gnome-alsamixer/geometry/mixer_slider_style";
     gint style = 0;
 
     g_return_if_fail (GAM_IS_APP (gam_app));
@@ -646,7 +646,7 @@
 void
 gam_app_set_mixer_slider_style (GamApp *gam_app, gint style)
 {
-    const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_style";
+    const gchar *key = "/apps/gnome-alsamixer/geometry/mixer_slider_style";
 
     g_return_if_fail (GAM_IS_APP (gam_app));
 
@@ -661,7 +661,7 @@
 gint
 gam_app_get_slider_toggle_style (GamApp *gam_app)
 {
-    const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_toggle_style";
+    const gchar *key = "/apps/gnome-alsamixer/geometry/mixer_slider_toggle_style";
     gint style = 1;
 
     g_return_if_fail (GAM_IS_APP (gam_app));
@@ -677,7 +677,7 @@
 void
 gam_app_set_slider_toggle_style (GamApp *gam_app, gint style)
 {
-    const gchar *key = "/apps/PAW/gnome-alsamixer/geometry/mixer_slider_toggle_style";
+    const gchar *key = "/apps/gnome-alsamixer/geometry/mixer_slider_toggle_style";
 
     g_return_if_fail (GAM_IS_APP (gam_app));
 
--- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-slider-dual.c
+++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-slider-dual.c
@@ -446,7 +446,7 @@
 
     priv = GAM_SLIDER_DUAL_GET_PRIVATE (gam_slider_dual);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/slider_locked/%s-%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/slider_locked/%s-%s",
                            gam_mixer_get_config_name (gam_slider_get_mixer (GAM_SLIDER (gam_slider_dual))),
                            gam_slider_get_config_name (GAM_SLIDER (gam_slider_dual)));
 
--- gnome-alsamixer-0.9.7.cvs20050822.orig/src/gam-mixer.c
+++ gnome-alsamixer-0.9.7.cvs20050822/src/gam-mixer.c
@@ -478,7 +478,7 @@
 
     priv = GAM_MIXER_GET_PRIVATE (gam_mixer);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_names/%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/display_names/%s",
                            gam_mixer_get_config_name (gam_mixer));
 
     name = gconf_client_get_string (gam_app_get_gconf_client (GAM_APP (priv->app)),
@@ -500,7 +500,7 @@
 
     priv = GAM_MIXER_GET_PRIVATE (gam_mixer);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_names/%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/display_names/%s",
                            gam_mixer_get_config_name (gam_mixer));
 
     gconf_client_set_string (gam_app_get_gconf_client (GAM_APP (priv->app)),
@@ -526,7 +526,7 @@
 
     priv = GAM_MIXER_GET_PRIVATE (gam_mixer);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_mixers/%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/display_mixers/%s",
                            gam_mixer_get_config_name (gam_mixer));
 
     if (gconf_client_dir_exists (gam_app_get_gconf_client (GAM_APP (priv->app)), key, NULL))
@@ -549,7 +549,7 @@
 
     priv = GAM_MIXER_GET_PRIVATE (gam_mixer);
 
-    key = g_strdup_printf ("/apps/PAW/gnome-alsamixer/display_mixers/%s",
+    key = g_strdup_printf ("/apps/gnome-alsamixer/display_mixers/%s",
                            gam_mixer_get_config_name (gam_mixer));
 
     gconf_client_set_bool (gam_app_get_gconf_client (GAM_APP (priv->app)),