[Commits] [SCM] claws branch, gtk3, updated. 3.99.0-61-g7b3d97649

thorsten at claws-mail.org thorsten at claws-mail.org
Fri Mar 19 19:24:55 CET 2021


The branch, gtk3 has been updated
       via  7b3d97649043f857a1c53baec3dcb23eccbd91c6 (commit)
      from  b17f4e5037fd85c405274b4e582d148cee3f5da0 (commit)

Summary of changes:
 src/main.c | 15 ---------------
 1 file changed, 15 deletions(-)


- Log -----------------------------------------------------------------
commit 7b3d97649043f857a1c53baec3dcb23eccbd91c6
Author: Thorsten Maerz <info at netztorte.de>
Date:   Fri Mar 19 19:22:20 2021 +0100

    Don't hardcode gtk theme and settings
    
    Gtk settings and theme should be set by installer
    (or user) in $INSTDIR/etc/gtk-3.0/settings.ini,
    not by the application.

diff --git a/src/main.c b/src/main.c
index 332334344..d34b466df 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1093,21 +1093,6 @@ int main(int argc, char *argv[])
 	
 	gtk_init(&argc, &argv);
 
-#ifdef G_OS_WIN32
-	gtk_settings_set_string_property(gtk_settings_get_default(),
-			"gtk-theme-name",
-			"MS-Windows",
-			"XProperty");
-	gtk_settings_set_long_property(gtk_settings_get_default(),
-			"gtk-auto-mnemonics",
-			TRUE,
-			"XProperty");
-	gtk_settings_set_long_property(gtk_settings_get_default(),
-			"gtk-button-images",
-			TRUE,
-			"XProperty");
-#endif
-
 #ifdef HAVE_NETWORKMANAGER_SUPPORT
 	went_offline_nm = FALSE;
 	nm_proxy = NULL;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list