summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-18 23:55:47 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-18 23:55:47 +0200
commitcd21d1b623b0dc7c2d0d6e9f890ad25fb8d83c5a (patch)
treebb638148ebf88f63a1dab8001d077c781b415b4e /src/fe-gtk
parent41e4b3a59cc3d3687c2b42c6a40348e3b1fc388a (diff)
Get rid of saveconf remnants, we save automatically
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/menu.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c
index de78ea73..3ccc685f 100644
--- a/src/fe-gtk/menu.c
+++ b/src/fe-gtk/menu.c
@@ -1123,23 +1123,6 @@ usermenu_update (void)
 	}
 }
 
-#if 0
-static void
-menu_saveconf (void)
-{
-	session *sess = current_sess;
-
-	if (save_config ())
-	{
-		PrintText (sess, "Settings have been saved successfully.\n");
-	}
-	else
-	{
-		PrintText (sess, "Error saving settings.\n");
-	}
-}
-#endif
-
 static void
 menu_newserver_window (GtkWidget * wid, gpointer none)
 {
@@ -1692,10 +1675,6 @@ static struct mymenu mymenu[] = {
 		{N_("Userlist Popup..."), menu_ulpopup, 0, M_MENUITEM, 0, 0, 1},
 		{0, 0, 0, M_END, 0, 0, 0},		/* 53 */
 
-#if 0
-	{N_("Save Settings to Disk"), menu_saveconf, GTK_STOCK_SAVE, M_MENUSTOCK, 0, 0, 1}, /* don't use this, a /set auto-save approach will be added instead */
-#endif
-
 	{N_("_Window"), 0, 0, M_NEWMENU, 0, 0, 1},
 	{N_("Ban List..."), menu_banlist, 0, M_MENUITEM, 0, 0, 1},
 	{N_("Character Chart..."), ascii_open, 0, M_MENUITEM, 0, 0, 1},