diff options
author | Richard Farina <zerochaos@gentoo.org> | 2014-11-24 20:33:16 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2014-11-24 20:33:16 +0000 |
commit | 5a435d4c2280b1bab72c3bb70587032696ae6b16 (patch) | |
tree | f0e57f23a3fc56b2b723b02e08e512a09781a7a3 /net-wireless | |
parent | sci-physics/lammps: Added new version lammps-20141123 (diff) | |
download | historical-5a435d4c2280b1bab72c3bb70587032696ae6b16.tar.gz historical-5a435d4c2280b1bab72c3bb70587032696ae6b16.tar.bz2 historical-5a435d4c2280b1bab72c3bb70587032696ae6b16.zip |
reintroduce old patch for blueman 20140717 snapshot
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'net-wireless')
4 files changed, 266 insertions, 21 deletions
diff --git a/net-wireless/blueman/ChangeLog b/net-wireless/blueman/ChangeLog index 328281cec809..2b112784f4b7 100644 --- a/net-wireless/blueman/ChangeLog +++ b/net-wireless/blueman/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/blueman # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.26 2014/11/20 13:09:18 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/ChangeLog,v 1.27 2014/11/24 20:33:12 zerochaos Exp $ + + 24 Nov 2014; Rick Farina <zerochaos@gentoo.org> + +files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch, + blueman-1.23_p20140717-r1.ebuild: + reintroduce old patch for blueman 20140717 snapshot 20 Nov 2014; Michał Górny <mgorny@gentoo.org> files/blueman-9999-set-codeset-for-gettext-to-UTF-8-always.patch: diff --git a/net-wireless/blueman/Manifest b/net-wireless/blueman/Manifest index 07e30bee2209..677e0f456eff 100644 --- a/net-wireless/blueman/Manifest +++ b/net-wireless/blueman/Manifest @@ -1,9 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA512 AUX blueman-1.23-fix-broken-status-icon.patch 1174 SHA256 b6fe3d426d90e2d212a005aaa7bae2f800bb69df407aa90058f7b1029ba7c296 SHA512 7afae388631e8899f32d1e8bbb313ecd3333103a6b2640c0bd200122b4707b6393f8cb40a3d0b13d3293ed14fc64e7206276a9cac4ed932464cced1cb03f1b64 WHIRLPOOL 86ad052cff290eb1f00e04d8ef5aa087e463a82daf327e9fe7ac368d111430b172b2ad00c048be50e64640275ed1984b61d0d68781daf4198a018fccbe17ae3e AUX blueman-1.23-plugins-conf-file.patch 988 SHA256 58132546cf913af396d189503e7e3aee53d6e626486343757169b6f0ec34d913 SHA512 3016a3a9c29fe65b7482091571f8aa6b49f21ea72181a9c7e559943347957c7554a72df4022c43d41ee4f4a10be82a011a9f1918191616acee8587fb0aa3a00a WHIRLPOOL d649ec459310b108eec4f95c68647f53454a4a69aa7ab24baf262c79e1398cc9be593f59e9b61cc7e56afd1175c2c8aa181db7e13a53b25589a2be5b725b0b11 AUX blueman-1.23-set-codeset-for-gettext-to-UTF-8-always.patch 9343 SHA256 6d2cd72f41fc054f023dfeb894bb4049441fc01e6e0f936120603021c305bbcc SHA512 0f264599331b518ce5c6573324fffad9b202b66c993284d907db38b6736a25f3d62d38973ac78adb542381bd0c8d09d710612ba0f373f0ba9153d70fbacb6302 WHIRLPOOL 1e29293f77b919cad790e43391231bee07304d938d44b981a67fd806a392547c8b1c426debf881a0cebb9c0df37e4d43bd97ef237ca76a5d23613e05b20a9096 +AUX blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch 8717 SHA256 91f6351614a8bdbb51155399f77c384a86407deb609c9e7bb61ffac17a56d81d SHA512 524afc7729564b5355f38648840b783426cf5aeaffd1bf157f725100b780d35b7524bc81144d3453e34683ea9f7af6982176d45b4488c8176c10224f74452f4d WHIRLPOOL ed053972b26a018276c221a51893bc0b1ab7b2b15e3900905444cfce03a41dd5eade845cd3e4ce3511ebf724e5a1c4e9dbd1f5024518ad8834fa2779bd1253a1 AUX blueman-9999-plugins-conf-file.patch 1083 SHA256 a97c052b107beaf1c6615f47809ce08c5bd2c0cb1d2096f61f47c3bdb25af654 SHA512 4500b68061fda3672f2261d8035acbd6a3623d5c3d6836a6e06fb3c4c81f8143fc1ad14ee3109fb159aef8e980f494593fdc3a904294d17309d9ad2e0d6ce0b5 WHIRLPOOL b9d5f52a35ec6fd2cfef9b06ff98b3834946412859b30d187f598c883eb8ad235276f60b6cc3cc507c456fd753467f354dc47fd70bf717cce6983d0406920b5c AUX blueman-9999-set-codeset-for-gettext-to-UTF-8-always.patch 8655 SHA256 f6acf4c846d3ccc1168a9dbc7fb31ecebae7488e544cc9778ec15ec5b468d23d SHA512 7d3834476d3a82e05853404733b26408fad76a6a4fa809f7f4eeb2de48fca7820a98fd28022d5e92b401c4c80ff1ea2992b97550172ac4dc4b433a840d32d355 WHIRLPOOL be7a9785a7a80b00f5966423585ace349effbc75a7ed8e77ce251809b5c3a9cae33636274e78175ce9051e4af30c32aca8f29499a7eed32dfb69336568e678fe DIST blueman-1.21.tar.gz 1086099 SHA256 86200dab50b1595c9a9537586c07de90ccfa084b954bb74f3e8732cc000fe3af @@ -13,26 +14,24 @@ EBUILD blueman-1.21-r1.ebuild 2119 SHA256 0595730ceed6c8a74aa5d374b83dc565503711 EBUILD blueman-1.23-r1.ebuild 2395 SHA256 17e16d27f544ee375a724cf03b3262f408df02eeeb84ed032bdc2042e0086bc4 SHA512 a6349c085be1b17db0c8a1dc8ca2e27dbe9ff45da81f77e5f57c90a2d984c605f1eba686395b4c8a51033c53b1c6f768feeffc420c1b875517a533af0459e72e WHIRLPOOL 91116f4beb6dc60a72067336387f977eedeff0d351d50a574a0b311b575291a4c97f08fc644c809434a4fb2b8b737dffc1eb883a561fab3d0a7ba19bcab1e20c EBUILD blueman-1.23-r2.ebuild 2489 SHA256 fd282cd7921d32f0a22b5ce016523992f0e429f5659e4904a64b4a3edeb552c9 SHA512 75ab98481af9aa7ec4b3fefe8ba3be7f042068fcac15c563482344d748b4299b3d63c55c30591edc99e372f2fb2615be42297f52ddc8fe701ccf9de93d1c10cb WHIRLPOOL 9c77f6e4fccc458e7ade76c0c6db3e61b280a5fe635235f8e465d5acb8567cc6b2d9ea64d130d8b7d842094d5ac56a5d5dcabd11dbc98e9b46a20b43336a8f40 EBUILD blueman-1.23.ebuild 2319 SHA256 948090096730f2c9440e16e6780b43cf123c507108ba032d502f37de01e0df7b SHA512 c986c35ba5a758e2dcbe574ac92f1fa00477ab80d809f1820b6d19b9afe040af8d3e30790b13b5272e3b9145c6e5ae4ab282c306e1294db9c0713057983dba46 WHIRLPOOL e03e593f21e1aa2588c9795a1f3bca6d1512982a3c56596ec7a9a62b8b06068d64367f53049cdabc3a2853e88fed621f2de4b9406bfa6d531aa7267624265c1d -EBUILD blueman-1.23_p20140717-r1.ebuild 2656 SHA256 488a795e884388ba01494904da4405d80bbf99e747ddf23fe20f060a5f1add23 SHA512 26ea0ac9098aef1dfe6532e2a3b6131594867bbdbf6fcaa29a3d89ce642c849099cf89eaa7794157788369123897e813e01cfabdf2c7567ed09c1384752c39f8 WHIRLPOOL b00cbde4581501b8fa16dcf629d0e84a950bd6c5c6c7d043286244aae4aaf46617c1be550c8963976ed0ccd3996b8618f6c04ba754c32b71192ca42bb933ddc8 +EBUILD blueman-1.23_p20140717-r1.ebuild 2653 SHA256 ade766db0f966a2bd4c5b5189a03e1a7e386aad7e50bcb08c8af5b8057e30ae9 SHA512 77396f541bcead14a46124f735a92b7cc4d1aae8eabca2b6f24a9d02b540f4ff12d3742df54d5bb247c31b0ff95494a76b6d42c89bae66a5f838b56288c99dc7 WHIRLPOOL 094d16cc39784344c1be8a0c1074cb288506c0b57ea9b1a03228d0a25c7603b2adc70f6aedc88ba5d18fcb0888fbb513a1cff85f296bc9d54e92b2236047d261 EBUILD blueman-9999.ebuild 2547 SHA256 bc28f8de1700dc825333c18a47683d7197f088230cd71ba6762434c09a976748 SHA512 a78a9aad609abdc277651c18ba9efaab64fa8347cf80fce11cbf89c690c397e4322623728bb6e7e39506f5a7f3953d441007c19d3acc863de6074c9d4bef33a2 WHIRLPOOL 5ceb961be1626a5e9318e7c414dab9545b83a981a31042b87b5ccdbeab25b3b909873a2d315b52a833c1d5b3d5b0bdfcde269b7584ab32f0eb19fcaed1b3c06b -MISC ChangeLog 5409 SHA256 a72a27f14122e6334403e0688b58a4b909ecaed1578a13e4eb75f1729fdb7139 SHA512 710adff1231f8239fb46a8a8e1399418e11f6ae59e6ccd2bc039d97f190a69032aa632a09fe811e7b28dd848712cce2e3a3d27adcc5119ff34d868b5a04471b5 WHIRLPOOL c7fbc17b2f8f52254c3c79dfd13a7d30a1be4276a6b206ec77d3c8b118dc854be9684cc1f4d691b5c69960f1fe307cf0e9536ea8bebbe8fe0554407db2c41497 +MISC ChangeLog 5632 SHA256 0a500c3081b4e7d49520b027944a3e0b62551d37c2eb04d856a4e144f68c0c4f SHA512 06b951bfa762e937b1d24130efc284fae46d66b821774bc046d5024e7239d241fb96f1987b1dc1afcc9c9cae3a22825bb89cbd8e7c84f6c0e3194b836f83bae1 WHIRLPOOL a36a3af9fc8c84fdcfebde3e273e19a9f75931299bdadcc6f0f6fa75506415b8b702d32a2d048b6a3e450409601e2f1740aefe393aedfe3aabe8d696bfd241aa MISC metadata.xml 525 SHA256 706d61c1400fbeda6ada529e6f1864446171ca76e3c5f9799fc381ea5ac834ac SHA512 ad18fcc5b222c9f1d40c7dd30ec8fdef2d2756f79743027548be30d1a301ba324bb5d9fb0f45c3a812730a81ed849cd22c8a529f0c987b2f214d133186dc9aaf WHIRLPOOL 9a6b9224077931c83262cd8d9014a36ed3c520cfaddfd0f7bd8f7f2e4683a7b4d8597f839535b1cbada4dc4df8ede7bd6e85fa4ed60697bc23bc6caef364bc09 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQJ8BAEBCABmBQJUbef/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO4JgP/0wZ37L25WWRMysYNK0p1FBD -zRyHlFLebGiLQIkdDaVlkz16mNQ+a9Hp0AxP281ShQqieBDQdvieXdRTQuOtjIuh -5wZodiD2p3reihIpZrCLKV6RtvkPUpaHVSnClK+SazIXYtYyJp8hmvuakUbORsP8 -7dvNA715zhdD6l39BXNVNBUVAPd1uWiWcKm8+FKvSKwHfvAwM3CEnKMBE5dL3TH7 -L/kP13PIqINnCPCNB9wlDxCBQ5Fq5fKapxEqC93w+HQklm84tZOdkzUP+uCk1k14 -6fsl8ISvDozwbJVTUE7U7mMU6SgLzV9brVGa6SWlCrTpeWbjUNROb7p3Y11E5hGK -hl3jTsM0MHw+u0b22GM0AI8DWEYSSEFOazw9lIYv1+McHhuXPyg2wmRyych4R8rQ -hTEU5W8qwLMZL3idh+fWaCw+NXvQ/62BcLcbqZMNBVxiPDU/hfPNNoTHjtFdPQi5 -A55Du3L6L4k4nAN1GNgxOy+QwKjwiIv7eMyGKEceJx7DZ+xr4QzDahRaCCV7d4Zq -HmuxR0VKEZvGRZYbJVq28QsnzXtQziznRoC+MYzZccemI4hy6I0NgIVFSk8AwQEK -bz6bLULEIQHio8W1kgFSGUq5H962uW2ulcPchVw7rIE7Yao81xzizcQYJb0zXL8a -W+1C1AntUZqbajJ8JZ74 -=v8v3 +iQIcBAEBCgAGBQJUc5YjAAoJEKXdFCfdEflKyo0P/1ihUM7o6QodLFPOMtrj1poP +yET25iVcFHrOO1JnJGcKtvkYU5gltt4UtYdNlVKlO1RoO2Q9KfkCSZgB+N8SLSJu +8b+BkJzpZApn6r+VK9VO5c6snw+CiNcxPe32bCZYnb23eBUiWMswfdfc6Dt0HxI9 +E8dB4WAZG+h5XjFtLUHmY6H1mgJ2Uymuu+y8id2FihTXJvdZltPLfCkeVz6+wQ8v +rTB6523XiOiV1UO/0o8XnTg9h+i9quXQdC6LHMXpCJSz38ReyCE0zeZ/dgEBXlM+ +bLvC8XY0am4YjybGqOccy3AHBdaLzS3B9DCCiqSXrDuBibiUhVqb+4sOBqvgFw9r +G9F2xZqpMA9F3USY2QIx8MoeMyS3u+baJf/49LEM1vp3pm3Z11qNrgZQqcjFdSch +mnO1LWDHIrN6etcVOXTFobPaQsPrvglN7iKlSJkBOVXTRSrew5S1GP5Fvru4h7O4 +HBlxC67YDk7b1/PZPV448e1hG3xEWGPD8VztHdtvCUnDR+xmilBwKnKFYG/GEOqz +qTmDZtBkswvkilV/rh8qZ7lK3/UpKD7b96OgQtYTVmEPviVIeVpq8gVpveqLQVac +X9AGQv7oeorRCs7QcoKPZYoPN5HFp1CY+uMsdYYlbpsfLOJnVj02YquiQ0UA/DFc +ycfptziPd2kf3gqDUvpC +=7KA2 -----END PGP SIGNATURE----- diff --git a/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild b/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild index f0bcdf4d057e..10a2a0c31b97 100644 --- a/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild +++ b/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild,v 1.3 2014/08/10 20:34:24 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/blueman/blueman-1.23_p20140717-r1.ebuild,v 1.4 2014/11/24 20:33:12 zerochaos Exp $ EAPI="5" @@ -60,7 +60,7 @@ src_prepare() { epatch \ "${FILESDIR}/${PN}-9999-plugins-conf-file.patch" \ - "${FILESDIR}/${PN}-9999-set-codeset-for-gettext-to-UTF-8-always.patch" + "${FILESDIR}/${P}-set-codeset-for-gettext-to-UTF-8-always.patch" eautoreconf } diff --git a/net-wireless/blueman/files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch b/net-wireless/blueman/files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch new file mode 100644 index 000000000000..258f65cc34cd --- /dev/null +++ b/net-wireless/blueman/files/blueman-1.23_p20140717-set-codeset-for-gettext-to-UTF-8-always.patch @@ -0,0 +1,241 @@ +diff --git a/apps/blueman-adapters b/apps/blueman-adapters +index e6f1b16..95f6997 100755 +--- a/apps/blueman-adapters ++++ b/apps/blueman-adapters +@@ -6,6 +6,7 @@ from gi.repository import Pango + import os.path + import sys + import signal ++from locale import bind_textdomain_codeset + + #support running uninstalled + _dirname = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) +@@ -34,6 +35,7 @@ class BluemanAdapters: + + builder = Gtk.Builder() + builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + builder.add_from_file(UI_PATH + "/adapters.ui") + self.dialog = builder.get_object("dialog") + +diff --git a/apps/blueman-assistant b/apps/blueman-assistant +index dc7f18f..47893da 100755 +--- a/apps/blueman-assistant ++++ b/apps/blueman-assistant +@@ -16,6 +16,7 @@ import random + import signal + import dbus.glib + from optparse import OptionParser ++from locale import bind_textdomain_codeset + + #support running uninstalled + _dirname = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) +@@ -63,6 +64,7 @@ class Assistant(Agent): + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH + "/assistant.ui") + self.assistant = self.Builder.get_object("assistant") + self.assistant.set_title(_("Bluetooth Assistant")) +diff --git a/apps/blueman-manager b/apps/blueman-manager +index f31d219..e938601 100755 +--- a/apps/blueman-manager ++++ b/apps/blueman-manager +@@ -27,6 +27,7 @@ import dbus, dbus.glib + from blueman.Constants import * + import gi + gi.require_version("Gtk", "3.0") ++from locale import bind_textdomain_codeset + from gi.repository import Gtk + from gi.repository import GObject + from blueman.bluez.BlueZInterface import BlueZInterface +@@ -62,6 +64,7 @@ class Blueman: + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH + "/manager-main.ui") + + self.window = self.Builder.get_object("window") +diff --git a/apps/blueman-sendto b/apps/blueman-sendto +index e72e6ab..ce25926 100755 +--- a/apps/blueman-sendto ++++ b/apps/blueman-sendto +@@ -13,6 +13,7 @@ from optparse import OptionParser + import gettext + import urllib + import time ++from locale import bind_textdomain_codeset + + from blueman.Constants import * + import gi +@@ -46,6 +47,7 @@ class Sender(GObject.GObject): + GObject.GObject.__init__(self) + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH + "/send-dialog.ui") + self.window = self.Builder.get_object("window") + +diff --git a/apps/blueman-services b/apps/blueman-services +index 25a529b..4b4419c 100755 +--- a/apps/blueman-services ++++ b/apps/blueman-services +@@ -2,6 +2,7 @@ + + import os + import sys ++from locale import bind_textdomain_codeset + #support running uninstalled + _dirname = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) + if os.path.exists(os.path.join(_dirname, "CHANGELOG.md")): +@@ -29,6 +30,7 @@ class BluemanServices: + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH + "/services.ui") + + self.Config = Config() +diff --git a/blueman/gui/GsmSettings.py b/blueman/gui/GsmSettings.py +index ee07e62..e58277b 100644 +--- a/blueman/gui/GsmSettings.py ++++ b/blueman/gui/GsmSettings.py +@@ -21,6 +21,7 @@ from blueman.Functions import * + from blueman.Constants import * + + from gi.repository import Gtk ++from locale import bind_textdomain_codeset + + class GsmSettings(Gtk.Dialog): + def __init__(self, bd_address): +@@ -30,6 +31,7 @@ class GsmSettings(Gtk.Dialog): + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH +"/gsm-settings.ui") + + vbox = self.Builder.get_object("vbox1") +diff --git a/blueman/gui/applet/PluginDialog.py b/blueman/gui/applet/PluginDialog.py +index f994cc9..84d6370 100644 +--- a/blueman/gui/applet/PluginDialog.py ++++ b/blueman/gui/applet/PluginDialog.py +@@ -23,6 +23,7 @@ from blueman.Functions import * + + from blueman.gui.GenericList import GenericList + import weakref ++from locale import bind_textdomain_codeset + + class SettingsWidget(Gtk.VBox): + def __init__(self, inst): +@@ -118,6 +119,7 @@ class PluginDialog(Gtk.Dialog): + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH +"/applet-plugins-widget.ui") + + self.set_title(_("Plugins")) +diff --git a/blueman/main/applet/BluezAgent.py b/blueman/main/applet/BluezAgent.py +index 868dbe9..403077a 100644 +--- a/blueman/main/applet/BluezAgent.py ++++ b/blueman/main/applet/BluezAgent.py +@@ -25,6 +25,7 @@ from gi.repository import Gtk + from gi.repository import GObject + from gi.types import GObjectMeta + import cgi ++from locale import bind_textdomain_codeset + import blueman.bluez as Bluez + from blueman.Sdp import * + from blueman.Constants import * +@@ -68,6 +69,7 @@ class CommonAgent(GObject.GObject, Agent): + editable.stop_emission("insert-text") + + builder = Gtk.Builder() ++ bind_textdomain_codeset("blueman", "UTF-8") + builder.add_from_file(UI_PATH + "/applet-passkey.ui") + builder.set_translation_domain("blueman") + dialog = builder.get_object("dialog") +diff --git a/blueman/plugins/applet/NetUsage.py b/blueman/plugins/applet/NetUsage.py +index 1584580..6262ff0 100644 +--- a/blueman/plugins/applet/NetUsage.py ++++ b/blueman/plugins/applet/NetUsage.py +@@ -33,7 +33,7 @@ import dbus + import time + import datetime + import gettext +- ++from locale import bind_textdomain_codeset + + class MonitorBase(GObject.GObject): + __gsignals__ = { +@@ -150,6 +150,7 @@ class Dialog: + builder = Gtk.Builder() + builder.add_from_file(UI_PATH + "/net-usage.ui") + builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + + self.dialog = builder.get_object("dialog") + self.dialog.connect("response", self.on_response) +diff --git a/blueman/plugins/services/Audio.py b/blueman/plugins/services/Audio.py +index b44d6b5..4b13e8f 100644 +--- a/blueman/plugins/services/Audio.py ++++ b/blueman/plugins/services/Audio.py +@@ -19,6 +19,7 @@ + + from gi.repository import Gtk + import dbus ++from locale import bind_textdomain_codeset + from blueman.Constants import * + from blueman.plugins.ServicePlugin import ServicePlugin + +@@ -35,6 +36,7 @@ class Audio(ServicePlugin): + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH +"/services-audio.ui") + self.widget = self.Builder.get_object("audio") + +diff --git a/blueman/plugins/services/Network.py b/blueman/plugins/services/Network.py +index e003345..bd705d9 100644 +--- a/blueman/plugins/services/Network.py ++++ b/blueman/plugins/services/Network.py +@@ -18,6 +18,7 @@ + # + + from gi.repository import Gtk ++from locale import bind_textdomain_codeset + from blueman.Constants import * + from blueman.Functions import have, dprint, mask_ip4_address + from blueman.Lib import get_net_interfaces, get_net_address, get_net_netmask +@@ -36,6 +37,7 @@ class Network(ServicePlugin): + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH +"/services-network.ui") + self.widget = self.Builder.get_object("network") + +diff --git a/blueman/plugins/services/Transfer.py b/blueman/plugins/services/Transfer.py +index 55024d3..ffd75ec 100644 +--- a/blueman/plugins/services/Transfer.py ++++ b/blueman/plugins/services/Transfer.py +@@ -18,6 +18,7 @@ + # + + from gi.repository import Gtk ++from locale import bind_textdomain_codeset + from blueman.Constants import * + from blueman.plugins.ServicePlugin import ServicePlugin + +@@ -32,6 +33,7 @@ class Transfer(ServicePlugin): + + self.Builder = Gtk.Builder() + self.Builder.set_translation_domain("blueman") ++ bind_textdomain_codeset("blueman", "UTF-8") + self.Builder.add_from_file(UI_PATH +"/services-transfer.ui") + self.widget = self.Builder.get_object("transfer") + |