[gnome-calendar] application: Activate on open



commit 7fd8babdda3d70c8a403f733ff6e7fae12db77c5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Aug 16 19:48:09 2021 -0300

    application: Activate on open
    
    Otherwise, there might be no window available.

 src/gui/gcal-application.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gui/gcal-application.c b/src/gui/gcal-application.c
index f57257d5..49ab85b9 100644
--- a/src/gui/gcal-application.c
+++ b/src/gui/gcal-application.c
@@ -621,6 +621,7 @@ gcal_application_open (GApplication  *application,
 
   self = GCAL_APPLICATION (application);
 
+  g_application_activate (G_APPLICATION (application));
   gcal_window_import_files (GCAL_WINDOW (self->window), files, n_files);
 
   GCAL_EXIT;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]