Mercurial > pidgin
comparison src/gtkutils.c @ 9123:6ea36eac6f22
[gaim-migrate @ 9900]
(12:38:12) Me: i did try to contact you before i reverted it the first time
(12:38:28) seanegn: I know. I've been real unavailable of late.
(12:39:51) Me: i'll tell you what i'm going to do then. i'm going to pull
that, tag, and then put it back in after we get the tarballs made
(12:39:57) Me: cause i do like the changes, just not the timing
(12:42:16) seanegn: oh, of course. Everything I do is awesome.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 30 May 2004 16:44:45 +0000 |
parents | 6a17b7e2e3b2 |
children | 05532ad61ed5 |
comparison
equal
deleted
inserted
replaced
9122:a1adaeee5b9e | 9123:6ea36eac6f22 |
---|---|
207 gaim_gtk_get_dispstyle(GaimConversationType type) | 207 gaim_gtk_get_dispstyle(GaimConversationType type) |
208 { | 208 { |
209 int dispstyle = 2; | 209 int dispstyle = 2; |
210 int value; | 210 int value; |
211 | 211 |
212 value = gaim_prefs_get_int("/gaim/gtk/conversations/button_type"); | 212 if (type == GAIM_CONV_CHAT) { |
213 | 213 value = gaim_prefs_get_int("/gaim/gtk/conversations/chat/button_type"); |
214 switch (value) { | 214 |
215 case GAIM_BUTTON_TEXT: dispstyle = 1; break; | 215 switch (value) { |
216 case GAIM_BUTTON_IMAGE: dispstyle = 0; break; | 216 case GAIM_BUTTON_TEXT: dispstyle = 1; break; |
217 default: dispstyle = 2; break; /* both/neither */ | 217 case GAIM_BUTTON_IMAGE: dispstyle = 0; break; |
218 default: dispstyle = 2; break; /* both/neither */ | |
219 } | |
220 } | |
221 else if (type == GAIM_CONV_IM) { | |
222 value = gaim_prefs_get_int("/gaim/gtk/conversations/im/button_type"); | |
223 | |
224 switch (value) { | |
225 case GAIM_BUTTON_TEXT: dispstyle = 1; break; | |
226 case GAIM_BUTTON_IMAGE: dispstyle = 0; break; | |
227 default: dispstyle = 2; break; /* both/neither */ | |
228 } | |
218 } | 229 } |
219 | 230 |
220 return dispstyle; | 231 return dispstyle; |
221 } | 232 } |
222 | 233 |