Removed titlebar functions from ui.h

This commit is contained in:
James Booth
2014-04-07 20:41:06 +01:00
parent c7e214860c
commit fc40637789
8 changed files with 126 additions and 101 deletions

View File

@@ -2790,18 +2790,8 @@ _update_presence(const resource_presence_t resource_presence,
cons_show("You are not currently connected.");
} else {
presence_update(resource_presence, msg, 0);
contact_presence_t contact_presence = contact_presence_from_resource_presence(resource_presence);
title_bar_set_presence(contact_presence);
gint priority = accounts_get_priority_for_presence_type(jabber_get_account_name(), resource_presence);
if (msg != NULL) {
cons_show("Status set to %s (priority %d), \"%s\".", show, priority, msg);
} else {
cons_show("Status set to %s (priority %d).", show, priority);
}
ui_update_presence(resource_presence, msg, show);
}
}
// helper function for boolean preference commands