Mercurial > pidgin
comparison src/gtkblist.c @ 7731:36727d6e1d5a
[gaim-migrate @ 8376]
here's an option to become un-cool.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 04 Dec 2003 03:20:39 +0000 |
parents | 9235eecc9f74 |
children | c497b3bb7581 |
comparison
equal
deleted
inserted
replaced
7730:01eb54bb41dc | 7731:36727d6e1d5a |
---|---|
1476 && !GAIM_BLIST_NODE_IS_CHAT(node)) | 1476 && !GAIM_BLIST_NODE_IS_CHAT(node)) |
1477 return FALSE; | 1477 return FALSE; |
1478 | 1478 |
1479 gtknode = node->ui_data; | 1479 gtknode = node->ui_data; |
1480 | 1480 |
1481 if (node->child && GAIM_BLIST_NODE_IS_CONTACT(node) && ((GaimContact*)node)->online > 1 && !gtknode->contact_expanded) { | 1481 if (node->child && GAIM_BLIST_NODE_IS_CONTACT(node) && |
1482 ((GaimContact*)node)->online > 1 && !gtknode->contact_expanded && | |
1483 gaim_prefs_get_bool("/gaim/gtk/blist/auto_expand_contacts")) { | |
1482 GtkTreeIter i; | 1484 GtkTreeIter i; |
1483 gaim_gtk_blist_expand_contact_cb(NULL, node); | 1485 gaim_gtk_blist_expand_contact_cb(NULL, node); |
1484 tooltip_top = TRUE; /* When the person expands, the new screennames will be below. We'll draw the tip above | 1486 tooltip_top = TRUE; /* When the person expands, the new screennames will be below. We'll draw the tip above |
1485 the cursor so that the user can see the included buddies */ | 1487 the cursor so that the user can see the included buddies */ |
1486 | 1488 |
3777 static int gtk_blist_handle; | 3779 static int gtk_blist_handle; |
3778 | 3780 |
3779 gaim_signal_connect(gaim_connections_get_handle(), "signed-on", | 3781 gaim_signal_connect(gaim_connections_get_handle(), "signed-on", |
3780 >k_blist_handle, GAIM_CALLBACK(account_signon_cb), | 3782 >k_blist_handle, GAIM_CALLBACK(account_signon_cb), |
3781 NULL); | 3783 NULL); |
3784 | |
3785 /* Initialize prefs */ | |
3786 gaim_prefs_add_none("/gaim/gtk/blist"); | |
3787 gaim_prefs_add_bool("/gaim/gtk/blist/auto_expand_contacts", TRUE); | |
3788 gaim_prefs_add_int("/gaim/gtk/blist/button_style", GAIM_BUTTON_TEXT_IMAGE); | |
3789 gaim_prefs_add_bool("/gaim/gtk/blist/grey_idle_buddies", TRUE); | |
3790 gaim_prefs_add_bool("/gaim/gtk/blist/raise_on_events", FALSE); | |
3791 gaim_prefs_add_bool("/gaim/gtk/blist/show_buddy_icons", TRUE); | |
3792 gaim_prefs_add_bool("/gaim/gtk/blist/show_empty_groups", FALSE); | |
3793 gaim_prefs_add_bool("/gaim/gtk/blist/show_group_count", TRUE); | |
3794 gaim_prefs_add_bool("/gaim/gtk/blist/show_idle_time", TRUE); | |
3795 gaim_prefs_add_bool("/gaim/gtk/blist/show_offline_buddies", FALSE); | |
3796 gaim_prefs_add_bool("/gaim/gtk/blist/show_warning_level", TRUE); | |
3797 gaim_prefs_add_string("/gaim/gtk/blist/sort_type", ""); | |
3798 gaim_prefs_add_int("/gaim/gtk/blist/x", 0); | |
3799 gaim_prefs_add_int("/gaim/gtk/blist/y", 0); | |
3800 gaim_prefs_add_int("/gaim/gtk/blist/width", 0); | |
3801 gaim_prefs_add_int("/gaim/gtk/blist/height", 0); | |
3802 | |
3782 } | 3803 } |
3783 | 3804 |
3784 | 3805 |
3785 | 3806 |
3786 /********************************************************************* | 3807 /********************************************************************* |