Make sure to present the window when opening a tab

This commit is contained in:
Christian Dywan 2008-10-03 05:45:10 +02:00
parent 1801298731
commit c36784229c

View file

@ -222,6 +222,9 @@ midori_browser_message_received_cb (UniqueApp* instance,
response = UNIQUE_RESPONSE_OK; response = UNIQUE_RESPONSE_OK;
break; break;
case UNIQUE_OPEN: case UNIQUE_OPEN:
gtk_window_set_screen (GTK_WINDOW (app->browser),
unique_message_data_get_screen (message));
gtk_window_present (GTK_WINDOW (app->browser));
uris = unique_message_data_get_uris (message); uris = unique_message_data_get_uris (message);
if (!uris) if (!uris)
response = UNIQUE_RESPONSE_FAIL; response = UNIQUE_RESPONSE_FAIL;