[frogr] Rename frogr_util_open_url_in_browser to frogr_util_open_uri.



commit 18e2773e5a55967393c023d3a83ba35870fb7f01
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Tue Jun 28 23:31:43 2011 +0200

    Rename frogr_util_open_url_in_browser to frogr_util_open_uri.

 src/frogr-about-dialog.c |    2 +-
 src/frogr-controller.c   |    2 +-
 src/frogr-util.c         |    4 ++--
 src/frogr-util.h         |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/frogr-about-dialog.c b/src/frogr-about-dialog.c
index fe473b1..851027c 100644
--- a/src/frogr-about-dialog.c
+++ b/src/frogr-about-dialog.c
@@ -71,7 +71,7 @@ _frogr_about_dialog_uri_hook (GtkAboutDialog *about,
                               gpointer data)
 {
   gchar *uri = g_strconcat (data, link, NULL);
-  frogr_util_open_url_in_browser (uri);
+  frogr_util_open_uri (uri);
   g_free (uri);
 }
 #endif
diff --git a/src/frogr-controller.c b/src/frogr-controller.c
index f54e961..b871d22 100644
--- a/src/frogr-controller.c
+++ b/src/frogr-controller.c
@@ -416,7 +416,7 @@ _get_auth_url_cb (GObject *obj, GAsyncResult *res, gpointer data)
     {
       GtkWindow *window = NULL;
 
-      frogr_util_open_url_in_browser (auth_url);
+      frogr_util_open_uri (auth_url);
       g_free (auth_url);
 
       /* Run the auth confirmation dialog */
diff --git a/src/frogr-util.c b/src/frogr-util.c
index ee9ddce..ac75568 100644
--- a/src/frogr-util.c
+++ b/src/frogr-util.c
@@ -102,7 +102,7 @@ frogr_util_get_locale_dir (void)
 }
 
 void
-frogr_util_open_url_in_browser (const gchar *url)
+frogr_util_open_uri (const gchar *url)
 {
   gchar *command = NULL;
   GError *error = NULL;
@@ -134,7 +134,7 @@ frogr_util_open_url_in_browser (const gchar *url)
 
   if (error != NULL)
     {
-      DEBUG ("Error opening URL %s: %s", url, error->message);
+      DEBUG ("Error opening URI %s: %s", url, error->message);
       g_error_free (error);
     }
 }
diff --git a/src/frogr-util.h b/src/frogr-util.h
index cf14b3b..772bb40 100644
--- a/src/frogr-util.h
+++ b/src/frogr-util.h
@@ -29,7 +29,7 @@ const gchar *frogr_util_get_icons_dir (void);
 
 const gchar *frogr_util_get_locale_dir (void);
 
-void frogr_util_open_url_in_browser (const gchar *url);
+void frogr_util_open_uri (const gchar *url);
 
 void frogr_util_show_info_dialog (GtkWindow *parent, const gchar *message);
 



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