comparison src/protocols/yahoo/yahoo.c @ 13021:eb64b2b26e56

[gaim-migrate @ 15374] The last of the whitespace from that tree. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 23 Jan 2006 12:31:27 +0000
parents 68db2c40efb2
children 465c7e1dfc7b
comparison
equal deleted inserted replaced
13020:72300c551dc2 13021:eb64b2b26e56
2867 struct yahoo_data *yd = (struct yahoo_data *) gc->proto_data; 2867 struct yahoo_data *yd = (struct yahoo_data *) gc->proto_data;
2868 2868
2869 if (yd->current_status == YAHOO_STATUS_INVISIBLE) { 2869 if (yd->current_status == YAHOO_STATUS_INVISIBLE) {
2870 if (f->presence != YAHOO_PRESENCE_ONLINE) { 2870 if (f->presence != YAHOO_PRESENCE_ONLINE) {
2871 act = gaim_menu_action_new(_("Appear Online"), 2871 act = gaim_menu_action_new(_("Appear Online"),
2872 GAIM_CALLBACK(yahoo_presence_settings), 2872 GAIM_CALLBACK(yahoo_presence_settings),
2873 GINT_TO_POINTER(YAHOO_PRESENCE_ONLINE), 2873 GINT_TO_POINTER(YAHOO_PRESENCE_ONLINE),
2874 NULL); 2874 NULL);
2875 m = g_list_append(m, act); 2875 m = g_list_append(m, act);
2876 } else if (f->presence != YAHOO_PRESENCE_DEFAULT) { 2876 } else if (f->presence != YAHOO_PRESENCE_DEFAULT) {
2877 act = gaim_menu_action_new(_("Appear Offline"), 2877 act = gaim_menu_action_new(_("Appear Offline"),
2878 GAIM_CALLBACK(yahoo_presence_settings), 2878 GAIM_CALLBACK(yahoo_presence_settings),
2879 GINT_TO_POINTER(YAHOO_PRESENCE_DEFAULT), 2879 GINT_TO_POINTER(YAHOO_PRESENCE_DEFAULT),
2880 NULL); 2880 NULL);
2881 m = g_list_append(m, act); 2881 m = g_list_append(m, act);
2882 } 2882 }
2883 } 2883 }
2884 2884
2885 if (f->presence == YAHOO_PRESENCE_PERM_OFFLINE) { 2885 if (f->presence == YAHOO_PRESENCE_PERM_OFFLINE) {
2886 act = gaim_menu_action_new( 2886 act = gaim_menu_action_new(_("Don't Appear Permanently Offline"),
2887 _("Don't Appear Permanently Offline"), 2887 GAIM_CALLBACK(yahoo_presence_settings),
2888 GAIM_CALLBACK(yahoo_presence_settings), 2888 GINT_TO_POINTER(YAHOO_PRESENCE_DEFAULT),
2889 GINT_TO_POINTER(YAHOO_PRESENCE_DEFAULT), NULL); 2889 NULL);
2890 m = g_list_append(m, act); 2890 m = g_list_append(m, act);
2891 } else { 2891 } else {
2892 act = gaim_menu_action_new(_("Appear Permanently Offline"), 2892 act = gaim_menu_action_new(_("Appear Permanently Offline"),
2893 GAIM_CALLBACK(yahoo_presence_settings), 2893 GAIM_CALLBACK(yahoo_presence_settings),
2894 GINT_TO_POINTER(YAHOO_PRESENCE_PERM_OFFLINE), 2894 GINT_TO_POINTER(YAHOO_PRESENCE_PERM_OFFLINE),
2895 NULL); 2895 NULL);
2896 m = g_list_append(m, act); 2896 m = g_list_append(m, act);
2897 } 2897 }
2898 2898
2899 return m; 2899 return m;
2900 } 2900 }