~helene-verhaeghe27/cairo-dock-core/bugfix

« back to all changes in this revision

Viewing changes to src/cairo-dock-dialog-factory.c

  • Committer: fabounet
  • Date: 2010-04-18 11:42:02 UTC
  • Revision ID: fabounet03@gmail.com-20100418114202-4dgp7l3vbcage8if
modified the auto-hide when a window covers the dock + removed automake files

Show diffs side-by-side

added added

removed removed

Lines of Context:
344
344
}
345
345
CairoDialog *cairo_dock_new_dialog (CairoDialogAttribute *pAttribute, Icon *pIcon, CairoContainer *pContainer)
346
346
{
347
 
        g_return_val_if_fail (pAttribute != NULL, NULL);
348
 
        if (cairo_dock_search_window_on_our_way (g_pMainDock, FALSE, TRUE) != NULL)
349
 
        {
350
 
                cd_debug ("skip dialog since a fullscreen window would mask it");
351
 
                return NULL;
352
 
        }
353
 
        
354
347
        //\________________ On cree un nouveau dialogue.
355
348
        CairoDialog *pDialog = _cairo_dock_create_empty_dialog (pAttribute->pInteractiveWidget || pAttribute->pActionFunc);
356
349
        pDialog->pIcon = pIcon;