Mercurial > pidgin.yaz
diff src/gaimrc.c @ 5667:18f7a2abc3fc
[gaim-migrate @ 6084]
Can set tab position now.
Still need to add callbacks for this (and many other prefs) so it takes
effect immediately, but at least now I don't have to have my tabs on top ;-)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 02 Jun 2003 12:44:32 +0000 |
parents | 6b3214ab8632 |
children | d43a00b81d2a |
line wrap: on
line diff
--- a/src/gaimrc.c Mon Jun 02 10:30:14 2003 +0000 +++ b/src/gaimrc.c Mon Jun 02 12:44:32 2003 +0000 @@ -884,6 +884,11 @@ } else if (!strcmp(p->option, "im_options")) { im_options = atoi(p->value[0]); + gaim_prefs_set_int("/gaim/gtk/conversations/tab_side", + ((im_options & OPT_IM_SIDE_TAB) + ? ((im_options & OPT_IM_BR_TAB) ? GTK_POS_RIGHT : GTK_POS_LEFT) + : ((im_options & OPT_IM_BR_TAB) ? GTK_POS_BOTTOM : GTK_POS_TOP))); + gaim_prefs_set_bool("/gaim/gtk/conversations/im/hide_on_send", (im_options & OPT_IM_POPDOWN));