comparison src/gtkaccount.c @ 11654:bf6ba37db13b

[gaim-migrate @ 13938] Some changes to the gtkstatusbar. I took out all the saved statuses. They should be replaced by a list of the most recently used saved+transient statuses. I also removed the /core/away/default_message preference and replaced it with /core/status/current and /core/status/idleaway. These new prefs store the title of the saved status that is being used and should be used when you become idle, respectively. Some bits still need some work, but I think this is moving in the right direction. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 13 Oct 2005 02:50:13 +0000
parents 3a05b53a589e
children a8ec0a291d14
comparison
equal deleted inserted replaced
11653:c7aaac1fb252 11654:bf6ba37db13b
2134 gtk_tree_model_get(model, &iter, 2134 gtk_tree_model_get(model, &iter,
2135 COLUMN_DATA, &account, 2135 COLUMN_DATA, &account,
2136 COLUMN_ENABLED, &enabled, 2136 COLUMN_ENABLED, &enabled,
2137 -1); 2137 -1);
2138 2138
2139 /* TODO: Set the statuses for this account to match the GtkStatusBox */
2140 /*
2141 GtkWidget *blist;
2142 GtkWidget *statusbox;
2143 GaimStatus *status;
2144
2145 blist = gaim_gtk_blist_get_default_gtk_blist();
2146 statusbox = blist->statusbox;
2147 status = gaim_gtk_status_box_get_current_status();
2148
2149 gaim_account_set_status(account, );
2150 gaim_account_set_status_vargs(account, );
2151 gaim_account_set_status_list(account, );
2152 */
2139 gaim_account_set_enabled(account, GAIM_GTK_UI, !enabled); 2153 gaim_account_set_enabled(account, GAIM_GTK_UI, !enabled);
2140 2154
2141 gtk_list_store_set(dialog->model, &iter, 2155 gtk_list_store_set(dialog->model, &iter,
2142 COLUMN_ENABLED, !enabled, 2156 COLUMN_ENABLED, !enabled,
2143 -1); 2157 -1);