mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +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"),
|
"website-label", _("Learn more about Sysprof"),
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
g_signal_connect (dialog,
|
||||||
|
"response",
|
||||||
|
G_CALLBACK (gtk_widget_destroy),
|
||||||
|
NULL);
|
||||||
|
|
||||||
gtk_window_present (dialog);
|
gtk_window_present (dialog);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user