[Xfce4-commits] <exo:master> Increase exo module priority.

Nick Schermer noreply at xfce.org
Wed Jan 20 21:34:01 CET 2010


Updating branch refs/heads/master
         to f39b98aac2377f19bca5b47d9438070055f0ff33 (commit)
       from 3e3cb12ea648818cc85bf49498babe10471dd38e (commit)

commit f39b98aac2377f19bca5b47d9438070055f0ff33
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Jan 20 21:31:35 2010 +0100

    Increase exo module priority.
    
    Looks like another Gvfs modules has a higher priority, but
    we want to be the first.

 exo-gio-module/exo-module.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/exo-gio-module/exo-module.c b/exo-gio-module/exo-module.c
index e498af9..76b9176 100644
--- a/exo-gio-module/exo-module.c
+++ b/exo-gio-module/exo-module.c
@@ -67,9 +67,9 @@ struct _KnownSchemes
 
 static KnownSchemes known_schemes[] =
 {
-  { "^(https?|ftps|gopher)$", "WebBrowser" },
-  { "^mailto$",               "MailReader" },
-  { "^(file|trash|ssh)$",     "FileManager" }
+  { "^(https?|ftps?|gopher)$", "WebBrowser" },
+  { "^mailto$",                "MailReader" },
+  { "^(file|trash|ssh)$",      "FileManager" }
 };
 
 
@@ -170,7 +170,7 @@ g_io_module_load (GIOModule *module)
 {
   exo_gio_module_register_type (G_TYPE_MODULE (module));
   g_io_extension_point_implement (G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME,
-                                  EXO_TYPE_GIO_MODULE, "ExoGioModule", 10);
+                                  EXO_TYPE_GIO_MODULE, "ExoGioModule", 15);
 }
 
 



More information about the Xfce4-commits mailing list