Index: src/totem-menu.c
===================================================================
RCS file: /cvs/gnome/totem/src/totem-menu.c,v
retrieving revision 1.26
diff -p -u -B -r1.26 totem-menu.c
--- src/totem-menu.c	1 Nov 2006 17:02:06 -0000	1.26
+++ src/totem-menu.c	1 Nov 2006 23:03:26 -0000
@@ -997,6 +997,30 @@ about_action_callback (GtkAction *action
 }
 
 static void
+move_to_next_screen_action_callback (GtkAction *action, Totem *totem)
+{
+	GdkScreen *screen;
+	GdkDisplay *display;
+	gint number_of_screens, screen_num;
+
+	screen = gtk_widget_get_screen (totem->win);
+	display = gdk_screen_get_display (screen);
+	screen_num = gdk_screen_get_number (screen);
+	number_of_screens =  gdk_display_get_n_screens (display);
+
+	if ((screen_num + 1) < number_of_screens)
+	{
+		screen = gdk_display_get_screen (display, screen_num + 1);
+	}
+	else
+	{
+		screen = gdk_display_get_screen (display, 0);
+	}
+
+	gtk_window_set_screen (GTK_WINDOW (totem->win), screen);
+}
+
+static void
 repeat_mode_action_callback (GtkToggleAction *action, Totem *totem)
 {
 	totem_playlist_set_repeat (totem->playlist,
@@ -1103,7 +1127,10 @@ static const GtkActionEntry entries[] = 
 
 	{ "help-menu", NULL, N_("_Help") },
 	{ "contents", GTK_STOCK_HELP, N_("_Contents"), "F1", N_("Help contents"), G_CALLBACK (contents_action_callback) },
-	{ "about", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK (about_action_callback) }
+	{ "about", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK (about_action_callback) },
+#ifdef GNOME_ENABLE_DEBUG
+	{ "move-to-next-screen", NULL, "Move to next screen", NULL, NULL, G_CALLBACK (move_to_next_screen_action_callback) }
+#endif
 };
 
 static const GtkActionEntry zoom_entries[] = {
@@ -1219,6 +1246,23 @@ totem_ui_manager_setup (Totem *totem)
 		totem_action_exit (NULL);
 	}
 	g_free (filename);
+
+#ifdef GNOME_ENABLE_DEBUG
+{
+	guint id;
+
+	id = gtk_ui_manager_new_merge_id (totem->ui_manager);
+	gtk_ui_manager_add_ui (totem->ui_manager, id,
+			       "/tmw-menubar/help",
+			       "separator", NULL,
+			       GTK_UI_MANAGER_SEPARATOR, FALSE);
+	id = gtk_ui_manager_new_merge_id (totem->ui_manager);
+	gtk_ui_manager_add_ui (totem->ui_manager, id,
+			       "/tmw-menubar/help",
+			       "MoveToNextScreen", "move-to-next-screen",
+			       GTK_UI_MANAGER_MENUITEM, FALSE);
+}
+#endif
 
 	menubar = gtk_ui_manager_get_widget (totem->ui_manager, "/tmw-menubar");
 	menubar_box = glade_xml_get_widget (totem->xml, "tmw_menubar_box");
