[gnome-control-center/gnome-3-0] Fix https scheme handler app setting (bug #653211)



commit e979e8a27c18fa5509ee1b48487b1e4076425be9
Author: Alexandre Rostovtsev <tetromino gmail com>
Date:   Thu Jun 23 00:05:34 2011 -0400

    Fix https scheme handler app setting (bug #653211)
    
    default_app_changed() contains a typo: we need to set the https
    handler app when the user changes the http app chooser, not the
    (non-existent) https app chooser.

 panels/info/cc-info-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 8a82417..f7981c1 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -910,7 +910,7 @@ default_app_changed (GtkAppChooserButton *button,
     }
 
   /* Set https support for the browser as well */
-  if (g_str_equal (content_type, "x-scheme-handler/https"))
+  if (g_str_equal (content_type, "x-scheme-handler/http"))
     {
       if (g_app_info_set_as_default_for_type (info, "x-scheme-handler/https", &error) == FALSE)
         {



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