Mercurial > pidgin
comparison src/dialogs.c @ 7939:451d2946423e
[gaim-migrate @ 8610]
That alphabetized gtk_list_store thing really is a good idea. I made
the smiley page and the away message page the same way.
The away message page... the messages are stored in a g_list
alphabetically, but if you rename one it doesn't resort it. And this
way the core won't have to store them alphabetically. IMO that's
kind of silly anyway
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 27 Dec 2003 06:33:38 +0000 |
parents | 1441648fe974 |
children | 3e268e113bf1 |
comparison
equal
deleted
inserted
replaced
7938:160547821ea2 | 7939:451d2946423e |
---|---|
1132 am = g_new0(struct away_message, 1); | 1132 am = g_new0(struct away_message, 1); |
1133 else { | 1133 else { |
1134 am = ca->mess; | 1134 am = ca->mess; |
1135 } | 1135 } |
1136 | 1136 |
1137 | |
1138 g_snprintf(am->name, sizeof(am->name), "%s", gtk_entry_get_text(GTK_ENTRY(ca->entry))); | 1137 g_snprintf(am->name, sizeof(am->name), "%s", gtk_entry_get_text(GTK_ENTRY(ca->entry))); |
1139 away_message = gtk_text_view_get_text(GTK_TEXT_VIEW(ca->text), FALSE); | 1138 away_message = gtk_text_view_get_text(GTK_TEXT_VIEW(ca->text), FALSE); |
1140 | 1139 |
1141 g_snprintf(am->message, sizeof(am->message), "%s", away_message); | 1140 g_snprintf(am->message, sizeof(am->message), "%s", away_message); |
1142 g_free(away_message); | 1141 g_free(away_message); |