mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
about: handle response from about dialog
On systems where this shows a close button, we need to handle the response and destroy the dialog.
This commit is contained in:
@ -170,6 +170,11 @@ sysprof_about (GSimpleAction *action,
|
||||
"website-label", _("Learn more about Sysprof"),
|
||||
NULL);
|
||||
|
||||
g_signal_connect (dialog,
|
||||
"response",
|
||||
G_CALLBACK (gtk_widget_destroy),
|
||||
NULL);
|
||||
|
||||
gtk_window_present (dialog);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user