Репозитории ALT
Группа :: Звук
Пакет: aumix
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: aumix-2.9.1-alt-gtk_set_locale.patch
Скачать
Скачать
diff -Naur aumix-2.9.1-orig//src/common.c aumix-2.9.1/src/common.c
--- aumix-2.9.1-orig//src/common.c 2010-05-06 03:36:47.000000000 +0000
+++ aumix-2.9.1/src/common.c 2010-10-09 08:26:15.239440704 +0000
@@ -744,6 +744,10 @@
/* Set the text message domain. */
bindtextdomain((char *) PACKAGE, LOCALEDIR);
textdomain((char *) PACKAGE);
+#if defined (HAVE_GTK) || defined (HAVE_GTK1)
+ if (getenv("DISPLAY") != NULL)
+ gtk_set_locale();
+#endif /* GTK */
#endif /* ENABLE_NLS */
}
#ifdef HAVE_ALSA