Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEduardo Lima <eduardo.lima@indt.org.br>2007-04-30 15:16:07 (GMT)
committer Eduardo de Barros Lima <eblima@src.gnome.org>2007-04-30 15:16:07 (GMT)
commit4503ce8e24756884b0992c0717dc127d67d9f981 (patch)
treeffddf348080dd25fa1cb75fc61ac261952dbb52d /shell
parent42136586e9d7f6b52c667eff258de8e649806778 (diff)
Use ev_application_open_uri_at_dest instead of ev_application_open_uri
2007-04-30 Eduardo Lima <eduardo.lima@indt.org.br> * shell/ev-window.c (ev_window_cmd_recent_file_activate): Use ev_application_open_uri_at_dest instead of ev_application_open_uri preventing new document always being opened in a new window even if there is an empty window. svn path=/trunk/; revision=2429
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 770c916..e883f4f 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -1684,8 +1684,10 @@ ev_window_cmd_recent_file_activate (GtkAction *action,
uri = egg_recent_item_get_uri (item);
- ev_application_open_uri (EV_APP, uri, NULL,
- GDK_CURRENT_TIME, NULL);
+ ev_application_open_uri_at_dest (EV_APP, uri,
+ gtk_window_get_screen (GTK_WINDOW (ev_window)),
+ NULL, 0, FALSE,
+ GDK_CURRENT_TIME);
g_free (uri);
}