[gnome-settings-daemon] xsettings: Also accept .gtk-module for GTK+ modules



commit 20427bb46ef8e76bf354091b9431358700ea0e23
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Feb 23 01:52:03 2011 +0000

    xsettings: Also accept .gtk-module for GTK+ modules

 plugins/xsettings/gsd-xsettings-gtk.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-gtk.c b/plugins/xsettings/gsd-xsettings-gtk.c
index a26b11a..494ac77 100644
--- a/plugins/xsettings/gsd-xsettings-gtk.c
+++ b/plugins/xsettings/gsd-xsettings-gtk.c
@@ -94,7 +94,8 @@ process_desktop_file (const char      *path,
 
         retval = NULL;
 
-        if (g_str_has_suffix (path, ".desktop") == FALSE)
+        if (g_str_has_suffix (path, ".desktop") == FALSE &&
+            g_str_has_suffix (path, ".gtk-module") == FALSE)
                 return retval;
 
         keyfile = g_key_file_new ();



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