diff options
author | Charlie Brej <cbrej@cs.man.ac.uk> | 2009-11-29 22:30:29 +0000 |
---|---|---|
committer | Charlie Brej <cbrej@cs.man.ac.uk> | 2009-11-29 22:30:29 +0000 |
commit | d7c75892e94e07b5021004515be8cc95f63315c6 (patch) | |
tree | 7cb126624de706c71ea7459ba12b447507a13bf9 /src/viewer | |
parent | 9820d117c77fef0232419ac93913d0a269c1fb7e (diff) |
[viewer] Quit on window close when not in icon mode.
Previously, in non-icon mode when clicking on the window decoration close, the
window would hide and carry on running. It should quit.
https://bugs.freedesktop.org/show_bug.cgi?id=20228
Diffstat (limited to 'src/viewer')
-rw-r--r-- | src/viewer/plymouth-log-viewer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewer/plymouth-log-viewer.c b/src/viewer/plymouth-log-viewer.c index e103d6f6..ca4d4986 100644 --- a/src/viewer/plymouth-log-viewer.c +++ b/src/viewer/plymouth-log-viewer.c @@ -259,8 +259,8 @@ create_window (GtkTextBuffer *buffer) gtk_box_pack_start (GTK_BOX (box), bbox, FALSE, TRUE, 6); gtk_box_pack_start (GTK_BOX (bbox), close_button, FALSE, TRUE, 6); - g_signal_connect (window, "delete-event", - G_CALLBACK (gtk_widget_hide_on_delete), NULL); + g_signal_connect (window, "delete-event", + G_CALLBACK (close_window), NULL); g_signal_connect_swapped (close_button, "clicked", G_CALLBACK (close_window), window); |