[Xfce4-commits] <thunar:master> Use gtk_show_uri() and exo_gtk_url_about_dialog_hook().
Jannis Pohlmann
jannis at xfce.org
Sun Aug 30 00:00:02 CEST 2009
Updating branch refs/heads/master
to b1da0e80f4f267440d0b93b4940fbceed7bb403a (commit)
from 150004c340812e195405cd057c4b375e2362fd47 (commit)
commit b1da0e80f4f267440d0b93b4940fbceed7bb403a
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Sat Aug 29 23:57:51 2009 +0200
Use gtk_show_uri() and exo_gtk_url_about_dialog_hook().
Hope this is done the right way. At least it makes Thunar compile again.
thunar/thunar-dialogs.c | 4 ++--
thunar/thunar-renamer-dialog.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/thunar/thunar-dialogs.c b/thunar/thunar-dialogs.c
index 221505a..4e88822 100644
--- a/thunar/thunar-dialogs.c
+++ b/thunar/thunar-dialogs.c
@@ -214,8 +214,8 @@ thunar_dialogs_show_about (GtkWindow *parent,
logo = gdk_pixbuf_new_from_file (DATADIR "/pixmaps/Thunar/Thunar-about-logo.png", NULL);
/* open the about dialog */
- gtk_about_dialog_set_email_hook (exo_url_about_dialog_hook, NULL, NULL);
- gtk_about_dialog_set_url_hook (exo_url_about_dialog_hook, NULL, NULL);
+ gtk_about_dialog_set_email_hook (exo_gtk_url_about_dialog_hook, NULL, NULL);
+ gtk_about_dialog_set_url_hook (exo_gtk_url_about_dialog_hook, NULL, NULL);
gtk_show_about_dialog (parent,
"artists", artists,
"authors", authors,
diff --git a/thunar/thunar-renamer-dialog.c b/thunar/thunar-renamer-dialog.c
index 87fff85..4b8bfa2 100644
--- a/thunar/thunar-renamer-dialog.c
+++ b/thunar/thunar-renamer-dialog.c
@@ -936,7 +936,7 @@ thunar_renamer_dialog_help (ThunarRenamerDialog *renamer_dialog)
screen = gtk_widget_get_screen (GTK_WIDGET (renamer_dialog));
/* try to launch the specific URL */
- if (!exo_url_show_on_screen (help_url, NULL, screen, &error))
+ if (!gtk_show_uri (screen, help_url, 0, &error))
{
/* tell the user that we failed */
thunar_dialogs_show_error (GTK_WIDGET (renamer_dialog), error, _("Failed to open the documentation browser"));
More information about the Xfce4-commits
mailing list