Codebase list ibus-hangul / 771a9ec
set-app-name.patch: Set the app name explicitly Changwoo Ryu 6 years ago
3 changed file(s) with 29 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 ibus-hangul (1.5.0-3) unstable; urgency=medium
11
22 * debian/rules: Avoid useless library dependencies
3 * Hide the auto reordering setup
4 - This feature is not available in the libhangul git versions.
3 * patches:
4 - hide-auto-reordering.patch: Hide the auto reordering setup
5 - This feature is not available in the libhangul git versions.
6 - set-app-name.patch: Set the app name explicitly
57
68 -- Changwoo Ryu <cwryu@debian.org> Sun, 12 Feb 2017 04:12:00 +0900
79
00 python3.patch
11 hide-auto-reordering.patch
2 set-app-name.patch
0 Description: setup: Set GLib app name explicitly
1 ibus-setup-hangul program is called as "python .../main.py" command line so
2 the argv[0] "main.py" was used as the name as default. This name appeared in
3 the windows list. (See https://stackoverflow.com/questions/11854142)
4 .
5 So the app name is explicitly set using GLib.set_prgname() and
6 GLib.set_application_name().
7 Author: Changwoo Ryu <cwryu@debian.org>
8 Bug: https://github.com/choehwanjin/ibus-hangul/pull/47
9 Forwarded: yes
10
11 diff --git a/setup/main.py b/setup/main.py
12 index 99a3570..90573e3 100644
13 --- a/setup/main.py
14 +++ b/setup/main.py
15 @@ -295,6 +295,8 @@ class Setup ():
16 if __name__ == "__main__":
17 locale.bindtextdomain(config.gettext_package, config.localedir)
18 locale.bind_textdomain_codeset(config.gettext_package, "UTF-8")
19 + GLib.set_prgname("ibus-setup-hangul")
20 + GLib.set_application_name(_("IBusHangul Setup"))
21
22 bus = IBus.Bus()
23 if bus.is_connected():