Skip to content
Snippets Groups Projects
Commit 1132298e authored by Jerome Guelfucci's avatar Jerome Guelfucci
Browse files

Try to fix bug #5424.

Destroy the main dialog before doing anything else. Normally, this will
prevent this dialog from remaining displayed on the screen and being
captured instead of the active window.



(Old svn revision: 7461)
parent 9292547a
No related branches found
No related tags found
No related merge requests found
2009-06-05 jeromeg
Try to fix bug #5424.
Destroy the main dialog before doing anything else. Normally, this will
prevent this dialog from remaining displayed on the screen and being
captured instead of the active window.
2009-06-03 jeromeg
Add the autotools stuff for the Turkish translation.
......
......@@ -69,16 +69,11 @@ gboolean screenshooter_take_and_output_screenshot (ScreenshotData *sd)
g_signal_connect (dialog, "response", (GCallback) cb_help_response, NULL);
response = gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
if (response == GTK_RESPONSE_OK)
if (response != GTK_RESPONSE_OK)
{
gtk_widget_hide (dialog);
}
else
{
gtk_widget_destroy (dialog);
gtk_main_quit ();
return FALSE;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment