diff options
author | Sebstien Bacher <seb128@ubuntu.com> | 2009-09-15 09:17:22 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-15 09:17:22 -0500 |
commit | 7587fb13ecb70a8a2d5eb6965197572e50fbd5c8 (patch) | |
tree | 80c7532f6436413e644d37f790713e504ae32362 /src/messages-service.c | |
parent | a30c0ed9436d96f59dab24c58e63a45a40e91628 (diff) | |
download | ayatana-indicator-messages-7587fb13ecb70a8a2d5eb6965197572e50fbd5c8.tar.gz ayatana-indicator-messages-7587fb13ecb70a8a2d5eb6965197572e50fbd5c8.tar.bz2 ayatana-indicator-messages-7587fb13ecb70a8a2d5eb6965197572e50fbd5c8.zip |
Patch from Seb to init localization
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 575de8e..0ba0deb 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -21,6 +21,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <string.h> +#include <locale.h> #include <pango/pango-utils.h> #include <dbus/dbus-glib-bindings.h> #include <libindicate/listener.h> @@ -1219,6 +1220,8 @@ main (int argc, char ** argv) return 1; } + setlocale(LC_ALL,""); + dbus_interface = message_service_dbus_new(); listener = indicate_listener_ref_default(); |