diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-11 00:02:10 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-14 04:21:46 +0800 |
commit | ade53ab2fdcec609ca42b1277be1f8889bafbaa7 (patch) | |
tree | ea7bc39e9989e9b406cdd1cd2655d2522a7d02b6 /lib | |
parent | fdf4c638525301e2bd45fe1d6851830e826b1b9a (diff) | |
download | gsoc2013-epiphany-ade53ab2fdcec609ca42b1277be1f8889bafbaa7.tar gsoc2013-epiphany-ade53ab2fdcec609ca42b1277be1f8889bafbaa7.tar.gz gsoc2013-epiphany-ade53ab2fdcec609ca42b1277be1f8889bafbaa7.tar.bz2 gsoc2013-epiphany-ade53ab2fdcec609ca42b1277be1f8889bafbaa7.tar.lz gsoc2013-epiphany-ade53ab2fdcec609ca42b1277be1f8889bafbaa7.tar.xz gsoc2013-epiphany-ade53ab2fdcec609ca42b1277be1f8889bafbaa7.tar.zst gsoc2013-epiphany-ade53ab2fdcec609ca42b1277be1f8889bafbaa7.zip |
Use the new Shell global menu for global actions
And remove them from the existing menubar.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-gui.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c index 053b970df..5ad290772 100644 --- a/lib/ephy-gui.c +++ b/lib/ephy-gui.c @@ -292,7 +292,11 @@ ephy_gui_help (GtkWidget *parent, else url = g_strdup ("ghelp:epiphany"); - screen = gtk_widget_get_screen (parent); + if (parent) + screen = gtk_widget_get_screen (parent); + else + screen = gdk_screen_get_default (); + gtk_show_uri (screen, url, gtk_get_current_event_time (), &error); if (error != NULL) |