seahorse r2708 - in seahorse-plugins/trunk: . plugins/applet



Author: sadam
Date: Thu Jan 22 21:53:37 2009
New Revision: 2708
URL: http://svn.gnome.org/viewvc/seahorse?rev=2708&view=rev

Log:
2009-01-22 Adam Schreiber  <sadam clemson edu>

    * plugins/applet/seahorse-applet.c: Remove call to gnome_url_show


Modified:
   seahorse-plugins/trunk/ChangeLog
   seahorse-plugins/trunk/plugins/applet/seahorse-applet.c

Modified: seahorse-plugins/trunk/plugins/applet/seahorse-applet.c
==============================================================================
--- seahorse-plugins/trunk/plugins/applet/seahorse-applet.c	(original)
+++ seahorse-plugins/trunk/plugins/applet/seahorse-applet.c	Thu Jan 22 21:53:37 2009
@@ -716,7 +716,7 @@
 	GtkWidget *dialog;
 	GError *error = NULL;
     
-	if (!gnome_url_show (document, &error)) {
+	if (!g_app_info_launch_default_for_uri (document, NULL, &error)) {
 		dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, 
 		                                 GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, 
 		                                 _("Could not display URL: %s"),



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