Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

void inkscape_reactivate_desktop ( SPDesktop desktop )

Resends ACTIVATE_DESKTOP for current desktop; needed when a new desktop has got its window that dialogs will transientize to

Definition at line 1068 of file inkscape.cpp.

Referenced by sp_create_window().

{
    g_return_if_fail (desktop != NULL);
    if (Inkscape::NSApplication::Application::getNewGui())
    {
        Inkscape::NSApplication::Editor::reactivateDesktop (desktop);
        return;
    }
    g_return_if_fail (inkscape != NULL);

    if (DESKTOP_IS_ACTIVE (desktop))
        g_signal_emit (G_OBJECT (inkscape), inkscape_signals[ACTIVATE_DESKTOP], 0, desktop);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index