[git] GPA - branch, master, updated. gpa-0.9.3-3-gdc37a3e

by Werner Koch cvs at cvs.gnupg.org
Thu Nov 15 15:56:19 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Assistant".

The branch, master has been updated
       via  dc37a3e81712ffba565002c5e66cba1e62b108aa (commit)
      from  29fc35bedb2aff64453e817903f8951ac8663a65 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dc37a3e81712ffba565002c5e66cba1e62b108aa
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Nov 15 14:27:13 2012 +0100

    Use native theme under Windows.
    
    * src/gpa.c (main) [WIN32]: Set Theme to MS-Windows.  Suggested by
    Colin Leroy.

diff --git a/src/gpa.c b/src/gpa.c
index b6181ef..26d8274 100644
--- a/src/gpa.c
+++ b/src/gpa.c
@@ -366,6 +366,12 @@ 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");
+#endif
 
   /* Default icon for all windows.  */
   gtk_window_set_default_icon_from_file (GPA_DATADIR "/gpa.png", &err);

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

Summary of changes:
 src/gpa.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The GNU Privacy Assistant
http://git.gnupg.org




More information about the Gnupg-commits mailing list