[libadwaita/wip/exalm/screenshots: 1/2] screenshot: Disable animations




commit 0910c146fa78503e85e098c950177f912b0e8d9a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Jun 28 22:59:04 2022 +0400

    screenshot: Disable animations
    
    Adaptive widgets display incorrectly because of them.

 doc/tools/screenshot.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/doc/tools/screenshot.c b/doc/tools/screenshot.c
index 7b6ba8a6..a7e7701d 100644
--- a/doc/tools/screenshot.c
+++ b/doc/tools/screenshot.c
@@ -258,6 +258,7 @@ init_libadwaita (void)
                                     RESOURCE_PATH "icons/");
 
   g_object_set (gtk_settings_get_default (),
+                "gtk-enable-animations", FALSE,
                 "gtk-font-name", "Cantarell 11",
                 "gtk-icon-theme-name", "Adwaita",
                 "gtk-decoration-layout", ":close",


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