Fix build without app indicators
Fixes LP: #666806
(bzr r130.1.1)
Rodrigo Moya
13 years ago
|
0 |
gnome-settings-daemon (2.32.1-0ubuntu7) UNRELEASED; urgency=low
|
|
1 |
|
|
2 |
[ Maciej Katafiasz ]
|
|
3 |
* debian/patches/06_use_application_indicator.patch:
|
|
4 |
- Fix building without appindicators (LP: #666806)
|
|
5 |
|
|
6 |
-- Rodrigo Moya <rodrigo.moya@canonical.com> Thu, 24 Feb 2011 18:18:18 +0100
|
|
7 |
|
0 | 8 |
gnome-settings-daemon (2.32.1-0ubuntu6) natty; urgency=low
|
1 | 9 |
|
2 | 10 |
* debian/patches/32-datetime-service-add-ntp-support.patch:
|
19 | 19 |
+
|
20 | 20 |
+AC_ARG_ENABLE([appindicator],
|
21 | 21 |
+ AS_HELP_STRING([--enable-appindicator[=@<:@no/auto/yes@:>@]],[Build support for application indicators]),
|
22 | |
+ [enable_appindicator="yes"],
|
|
22 |
+ [enable_appindicator=$enableval],
|
23 | 23 |
+ [enable_appindicator="auto"])
|
24 | 24 |
+
|
25 | 25 |
+
|
|
1008 | 1008 |
}
|
1009 | 1009 |
}
|
1010 | 1010 |
|
1011 | |
@@ -561,6 +782,14 @@
|
|
1011 |
@@ -561,6 +782,16 @@
|
1012 | 1012 |
gkbd_keyboard_config_load_from_x_current (¤t_sys_kbd_config,
|
1013 | 1013 |
NULL);
|
1014 | 1014 |
|
|
1015 |
+#ifdef HAVE_APPINDICATOR
|
1015 | 1016 |
+ gkbd_indicator_config_init (¤t_ind_config, conf_client,
|
1016 | 1017 |
+ xkl_engine);
|
1017 | 1018 |
+ gkbd_indicator_config_load_from_gconf (¤t_ind_config);
|
|
1019 | 1020 |
+ gkbd_indicator_config_load_image_filenames (¤t_ind_config,
|
1020 | 1021 |
+ ¤t_kbd_config);
|
1021 | 1022 |
+ gkbd_indicator_config_activate (¤t_ind_config);
|
|
1023 |
+#endif /* HAVE_APPINDICATOR */
|
1022 | 1024 |
+
|
1023 | 1025 |
if (!try_activating_xkb_config_if_new (¤t_sys_kbd_config)) {
|
1024 | 1026 |
if (filter_xkb_config ()) {
|