Skip to content
Permalink
Browse files

properties-dialog: Port to gtk_show_uri_on_window

  • Loading branch information...
baedert authored and vkareh committed Jan 26, 2018
1 parent 068315f commit 8734d0e6e3f55598e3409c1e8d8b5a9b749ed5d6
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/eom-properties-dialog.c
@@ -406,16 +406,16 @@ static void
pd_folder_button_clicked_cb (GtkButton *button, gpointer data)
{
EomPropertiesDialogPrivate *priv = EOM_PROPERTIES_DIALOG (data)->priv;
GdkScreen *screen;
GtkWindow *window;
guint32 timestamp;

if (!priv->folder_button_uri)
return;

screen = gtk_widget_get_screen (GTK_WIDGET (button));
timestamp = gtk_get_current_event_time ();

gtk_show_uri (screen, priv->folder_button_uri, timestamp, NULL);
window = GTK_WINDOW (data);
gtk_show_uri_on_window (window, priv->folder_button_uri, timestamp, NULL);
}

static gboolean

0 comments on commit 8734d0e

Please sign in to comment.
You can’t perform that action at this time.