LEFT | RIGHT |
(Both sides are equal) |
1 # vim:set et sts=4 sw=4: | 1 # vim:set et sts=4 sw=4: |
2 # | 2 # |
3 # ibus - The Input Bus | 3 # ibus - The Input Bus |
4 # | 4 # |
5 # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com> | 5 # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com> |
6 # Copyright (c) 2007-2010 Red Hat, Inc. | 6 # Copyright (c) 2007-2010 Red Hat, Inc. |
7 # | 7 # |
8 # This library is free software; you can redistribute it and/or | 8 # This library is free software; you can redistribute it and/or |
9 # modify it under the terms of the GNU Lesser General Public | 9 # modify it under the terms of the GNU Lesser General Public |
10 # License as published by the Free Software Foundation; either | 10 # License as published by the Free Software Foundation; either |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 def run(self): | 527 def run(self): |
528 self.__window.show_all() | 528 self.__window.show_all() |
529 signal.signal(signal.SIGUSR1, self.__sigusr1_cb) | 529 signal.signal(signal.SIGUSR1, self.__sigusr1_cb) |
530 Gtk.main() | 530 Gtk.main() |
531 | 531 |
532 if __name__ == "__main__": | 532 if __name__ == "__main__": |
533 locale.setlocale(locale.LC_ALL, '') | 533 locale.setlocale(locale.LC_ALL, '') |
534 i18n_init() | 534 i18n_init() |
535 setup = Setup() | 535 setup = Setup() |
536 setup.run() | 536 setup.run() |
LEFT | RIGHT |