--- gdm-2.17.8/gui/gdmlogin.c.orig	2007-03-14 19:45:02.971127000 +0900
+++ gdm-2.17.8/gui/gdmlogin.c	2007-03-14 20:23:29.582651000 +0900
@@ -1036,7 +1036,6 @@ gdm_login_language_menu_new (void)
 {
     GtkWidget *menu;
     GtkWidget *item;
-    GSList *restart_grp = NULL;
 
     greeter_language_initialize_model ();
 
@@ -1049,12 +1048,6 @@ gdm_login_language_menu_new (void)
 		      NULL);
     gtk_widget_show (GTK_WIDGET (item));
 
-    item = gtk_menu_item_new ();
-    gtk_widget_set_sensitive (item, FALSE);
-    gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
-    gtk_widget_show (GTK_WIDGET (item));
-
-    greeter_language_append_restart_menu (menu, NULL, NULL);
     return menu;
 }
 
--- gdm-2.17.8/gui/greeter/greeter_action_language.c.orig	2007-03-14 19:39:53.129398000 +0900
+++ gdm-2.17.8/gui/greeter/greeter_action_language.c	2007-03-14 20:15:04.959492000 +0900
@@ -461,44 +461,6 @@ greeter_language_handler (GreeterItemInf
 }
 
 int
-greeter_language_append_restart_menu (const GtkWidget *menu,
-                                      GtkWidget **item1, 
-                                      GtkWidget **item2)
-{
-  GtkWidget *stop_item;
-  GSList *restart_grp = NULL;
-
-  g_return_val_if_fail (menu != NULL, NULL);
-
-  restart_item = gtk_radio_menu_item_new_with_mnemonic (NULL,
-                                                        _("Always _Restart Login Dialog"));
-  restart_grp = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (restart_item));
-  gtk_menu_shell_append (GTK_MENU_SHELL (menu), restart_item);
-  g_signal_connect (G_OBJECT (restart_item), "activate",
-                    G_CALLBACK (greeter_language_restart_handler),
-                    ALWAYS_RESTART);
-  gtk_widget_show (GTK_WIDGET (restart_item));
-
-  stop_item = gtk_radio_menu_item_new_with_mnemonic (restart_grp,
-                                                     _("Ask _To Restart Login Dialog"));
-  restart_grp = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (stop_item));
-  gtk_menu_shell_append (GTK_MENU_SHELL (menu), stop_item);
-  g_signal_connect (G_OBJECT (stop_item), "activate",
-                    G_CALLBACK (greeter_language_restart_handler),
-                    ASK_RESTART);
-  gtk_widget_show (GTK_WIDGET (stop_item));
-
-  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (stop_item), TRUE);
-
-  if (item1)
-    *item1 = restart_item;
-  if (item2)
-    *item2 = stop_item;
-
-  return 0;
-}
-
-int
 greeter_language_op_lang (const gchar *args)
 {
   gchar *language = greeter_language_get_language (args);
--- gdm-2.17.8/gui/greeter/greeter_action_language.h.orig	2007-03-14 19:42:37.056752000 +0900
+++ gdm-2.17.8/gui/greeter/greeter_action_language.h	2007-03-14 20:15:14.260500000 +0900
@@ -40,9 +40,6 @@ void      greeter_language_handler      
 					      gpointer user_data);
 GtkListStore *greeter_language_get_model     (void);
 void      greeter_language_set               (char *language);
-int       greeter_language_append_restart_menu (const GtkWidget	        *menu,
-                                                GtkWidget              **item1,
-                                                GtkWidget              **item2);
 int       greeter_language_op_lang           (const gchar *args);
 int       greeter_language_op_slang          (const gchar *args);
 int       greeter_language_op_setlang        (const gchar *args);
--- gdm-2.17.8/gui/greeter/greeter_canvas_item.c.orig	2007-03-14 19:38:01.576121000 +0900
+++ gdm-2.17.8/gui/greeter/greeter_canvas_item.c	2007-03-14 20:15:35.399330000 +0900
@@ -170,8 +170,6 @@ make_menubar (void)
 			  G_CALLBACK (activate_button),
 			  "session_button");
 
-	greeter_language_append_restart_menu (menu, NULL, NULL);
-
 	greeter_system_append_system_menu (menu);
 
 	/* Add a quit/disconnect item when in xdmcp mode or flexi mode */
