summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChoe Hwanjin <choe.hwanjin@gmail.com>2018-08-02 22:28:44 +0900
committerChoe Hwanjin <choe.hwanjin@gmail.com>2018-08-02 22:28:44 +0900
commit37c4a64ea76c54af132925b8383f5dcee70cf9cf (patch)
treeb2e01d7f4077be4d39845f0432f65c4d49fd3e4a
parent4b66188cf10fd4ef1625b9d04de2beee3d8bae26 (diff)
parentc77700729735128533fa9ff23adc56ae753dbb10 (diff)
downloadibus-hangul-37c4a64ea76c54af132925b8383f5dcee70cf9cf.tar.gz
Merge pull request #66 from changwoo/quit-on-window-close
setup: Add window "destroy" event handling https://github.com/libhangul/ibus-hangul/pull/66
-rw-r--r--setup/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup/main.py b/setup/main.py
index 33b9880..8d581cd 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -151,6 +151,7 @@ class Setup ():
self.__window = self.__builder.get_object("SetupDialog")
icon_file = os.path.join(config.pkgdatadir, "icons", "ibus-hangul.svg")
self.__window.set_icon_from_file(icon_file)
+ self.__window.connect("destroy", Gtk.main_quit)
self.__window.show()
button = self.__builder.get_object("button_apply")