%PDF-1.4 %Óëéá 1 0 obj <> endobj 3 0 obj <> endobj 4 0 obj <
| Server IP : 212.252.79.165 / Your IP : 216.73.217.172 [ Web Server : Apache System : Linux 212-252-79-165.cprapid.com 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64 User : cehaburo ( 1001) PHP Version : 8.1.33 Disable Function : exec,passthru,shell_exec,system Domains : 48 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/cehaburo/www/images/product/anon_sym/anon/bin/ |
Upload File : |
#! /usr/bin/python3
import gettext
from LanguageSelector.gtk.GtkLanguageSelector import GtkLanguageSelector
from gettext import gettext as _
from optparse import OptionParser
from gi.repository import Gtk, Gio
import sys
is_running = False
def on_activate (app, options):
global is_running
if is_running:
for window in app.get_windows():
if not window.is_active():
window.present()
return
is_running = True
instance = GtkLanguageSelector(datadir=options.datadir,
options=options)
app.add_window(instance.window_main)
if __name__ == "__main__":
gettext.bindtextdomain("language-selector", "/usr/share/locale")
gettext.textdomain("language-selector")
parser = OptionParser()
parser.add_option("-n", "--no-verify-installed-lang-support",
action="store_false", dest="verify_installed",
default=True,
help=_("don't verify installed language support"))
parser.add_option("-d", "--datadir",
default="/usr/share/language-selector/",
help=_("alternative datadir"))
(options, args) = parser.parse_args()
app = Gtk.Application(application_id="com.ubuntu.GnomeLanguageSelector",
flags=Gio.ApplicationFlags.FLAGS_NONE)
app.connect("activate", on_activate, options)
app.run(None)