2007-05-12 Ross Burton <ross@openedhand.com>
* shell/ev-window.c:
Respect the screen when opening help (#437866).
svn path=/trunk/; revision=2451
+2007-05-12 Ross Burton <ross@openedhand.com>
+
+ * shell/ev-window.c:
+ Respect the screen when opening help (#437866).
+
2007-05-11 Carlos Garcia Campos <carlosgc@gnome.org>
* data/evince-ui.xml:
ev_window_cmd_help_contents (GtkAction *action, EvWindow *ev_window)
{
GError *error = NULL;
+ GdkScreen *screen;
char *command;
const char *lang;
char *uri = NULL;
command = g_strconcat ("gnome-help ghelp://", uri, NULL);
g_free (uri);
- g_spawn_command_line_async (command, &error);
+ screen = gtk_widget_get_screen (GTK_WIDGET (ev_window));
+ gdk_spawn_command_line_on_screen (screen, command, &error);
if (error != NULL) {
g_warning (error->message);
g_error_free (error);