diff options
author | James Booth <boothj5@gmail.com> | 2015-11-02 21:03:30 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-02 21:03:30 +0000 |
commit | df5b93987f3a157e49b3d9078044fd0d0e88f17c (patch) | |
tree | 2b2c4e09616287a6f3d43eb50c17dfd855fc9307 /src/command | |
parent | 75bce88b8a6abef4d995291e8db3f2ac3013ee4c (diff) | |
download | profani-tty-df5b93987f3a157e49b3d9078044fd0d0e88f17c.tar.gz |
Removed ui_tidy_wins
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index bbc06083..a5718eb8 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -857,7 +857,7 @@ cmd_wins(ProfWin *window, const char *const command, gchar **args) if (args[0] == NULL) { cons_show_wins(); } else if (strcmp(args[0], "tidy") == 0) { - if (ui_tidy_wins()) { + if (wins_tidy()) { cons_show("Windows tidied."); } else { cons_show("No tidy needed."); @@ -889,7 +889,7 @@ cmd_wins(ProfWin *window, const char *const command, gchar **args) if (g_strcmp0(args[1], "on") == 0) { cons_show("Window autotidy enabled"); prefs_set_boolean(PREF_WINS_AUTO_TIDY, TRUE); - ui_tidy_wins(); + wins_tidy(); } else if (g_strcmp0(args[1], "off") == 0) { cons_show("Window autotidy disabled"); prefs_set_boolean(PREF_WINS_AUTO_TIDY, FALSE); @@ -3600,7 +3600,7 @@ cmd_close(ProfWin *window, const char *const command, gchar **args) // Tidy up the window list. if (prefs_get_boolean(PREF_WINS_AUTO_TIDY)) { - ui_tidy_wins(); + wins_tidy(); } return TRUE; |