[Xfce4-commits] <thunar:master> Improve Jannis' previous commit a bit.
Nick Schermer
nick at xfce.org
Sun Aug 30 14:12:01 CEST 2009
Updating branch refs/heads/master
to 4b9bfb00d2516e07404abf1e72f61820f8d032b6 (commit)
from b1da0e80f4f267440d0b93b4940fbceed7bb403a (commit)
commit 4b9bfb00d2516e07404abf1e72f61820f8d032b6
Author: Nick Schermer <nick at xfce.org>
Date: Sun Aug 30 14:02:47 2009 +0200
Improve Jannis' previous commit a bit.
thunar/thunar-dialogs.c | 5 ++++-
thunar/thunar-renamer-dialog.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/thunar/thunar-dialogs.c b/thunar/thunar-dialogs.c
index 4e88822..6d79813 100644
--- a/thunar/thunar-dialogs.c
+++ b/thunar/thunar-dialogs.c
@@ -213,9 +213,12 @@ thunar_dialogs_show_about (GtkWindow *parent,
/* try to load the about logo */
logo = gdk_pixbuf_new_from_file (DATADIR "/pixmaps/Thunar/Thunar-about-logo.png", NULL);
- /* open the about dialog */
+#if GTK_CHECK_VERSION (2, 18, 0)
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);
+#endif
+
+ /* open the about dialog */
gtk_show_about_dialog (parent,
"artists", artists,
"authors", authors,
diff --git a/thunar/thunar-renamer-dialog.c b/thunar/thunar-renamer-dialog.c
index 4b8bfa2..619d93e 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 (!gtk_show_uri (screen, help_url, 0, &error))
+ if (!gtk_show_uri (screen, help_url, gtk_get_current_event_time (), &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