mirror of
https://github.com/profanity-im/profanity.git
synced 2025-07-02 23:07:34 -04:00
Removed ui_tidy_wins
This commit is contained in:
parent
75bce88b8a
commit
df5b93987f
@ -857,7 +857,7 @@ cmd_wins(ProfWin *window, const char *const command, gchar **args)
|
|||||||
if (args[0] == NULL) {
|
if (args[0] == NULL) {
|
||||||
cons_show_wins();
|
cons_show_wins();
|
||||||
} else if (strcmp(args[0], "tidy") == 0) {
|
} else if (strcmp(args[0], "tidy") == 0) {
|
||||||
if (ui_tidy_wins()) {
|
if (wins_tidy()) {
|
||||||
cons_show("Windows tidied.");
|
cons_show("Windows tidied.");
|
||||||
} else {
|
} else {
|
||||||
cons_show("No tidy needed.");
|
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) {
|
if (g_strcmp0(args[1], "on") == 0) {
|
||||||
cons_show("Window autotidy enabled");
|
cons_show("Window autotidy enabled");
|
||||||
prefs_set_boolean(PREF_WINS_AUTO_TIDY, TRUE);
|
prefs_set_boolean(PREF_WINS_AUTO_TIDY, TRUE);
|
||||||
ui_tidy_wins();
|
wins_tidy();
|
||||||
} else if (g_strcmp0(args[1], "off") == 0) {
|
} else if (g_strcmp0(args[1], "off") == 0) {
|
||||||
cons_show("Window autotidy disabled");
|
cons_show("Window autotidy disabled");
|
||||||
prefs_set_boolean(PREF_WINS_AUTO_TIDY, FALSE);
|
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.
|
// Tidy up the window list.
|
||||||
if (prefs_get_boolean(PREF_WINS_AUTO_TIDY)) {
|
if (prefs_get_boolean(PREF_WINS_AUTO_TIDY)) {
|
||||||
ui_tidy_wins();
|
wins_tidy();
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -712,12 +712,6 @@ ui_close_win(int index)
|
|||||||
status_bar_active(1);
|
status_bar_active(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
|
||||||
ui_tidy_wins(void)
|
|
||||||
{
|
|
||||||
return wins_tidy();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
ui_prune_wins(void)
|
ui_prune_wins(void)
|
||||||
{
|
{
|
||||||
|
@ -126,7 +126,6 @@ void ui_hide_all_room_rosters(void);
|
|||||||
void ui_handle_software_version_error(const char *const roomjid, const char *const message);
|
void ui_handle_software_version_error(const char *const roomjid, const char *const message);
|
||||||
void ui_show_software_version(const char *const jid, const char *const presence, const char *const name,
|
void ui_show_software_version(const char *const jid, const char *const presence, const char *const name,
|
||||||
const char *const version, const char *const os);
|
const char *const version, const char *const os);
|
||||||
gboolean ui_tidy_wins(void);
|
|
||||||
void ui_prune_wins(void);
|
void ui_prune_wins(void);
|
||||||
gboolean ui_swap_wins(int source_win, int target_win);
|
gboolean ui_swap_wins(int source_win, int target_win);
|
||||||
void ui_clear_win(ProfWin *window);
|
void ui_clear_win(ProfWin *window);
|
||||||
|
@ -279,9 +279,6 @@ void ui_redraw_all_room_rosters(void) {}
|
|||||||
void ui_show_all_room_rosters(void) {}
|
void ui_show_all_room_rosters(void) {}
|
||||||
void ui_hide_all_room_rosters(void) {}
|
void ui_hide_all_room_rosters(void) {}
|
||||||
|
|
||||||
gboolean ui_tidy_wins(void) {
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
void ui_prune_wins(void) {}
|
void ui_prune_wins(void) {}
|
||||||
gboolean ui_swap_wins(int source_win, int target_win)
|
gboolean ui_swap_wins(int source_win, int target_win)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user