Mercurial > pidgin.yaz
comparison finch/gntblist.c @ 22012:0503cd74cb56
merge of '418bc7dd4e063c50039bba0d51b489b568f9aaaa'
and '4df361b4c7c545ea522212487ebfd8e4bda0345f'
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 05 Jan 2008 18:07:16 +0000 |
parents | 05c2ef19e2fa c38d72677c8a |
children | 2bff44d78523 |
comparison
equal
deleted
inserted
replaced
22003:485383451769 | 22012:0503cd74cb56 |
---|---|
538 _("A group with the name already exists.")); | 538 _("A group with the name already exists.")); |
539 } | 539 } |
540 } | 540 } |
541 | 541 |
542 static void | 542 static void |
543 finch_request_add_group() | 543 finch_request_add_group(void) |
544 { | 544 { |
545 purple_request_input(NULL, _("Add Group"), NULL, _("Enter the name of the group"), | 545 purple_request_input(NULL, _("Add Group"), NULL, _("Enter the name of the group"), |
546 NULL, FALSE, FALSE, NULL, | 546 NULL, FALSE, FALSE, NULL, |
547 _("Add"), G_CALLBACK(add_group_cb), _("Cancel"), NULL, | 547 _("Add"), G_CALLBACK(add_group_cb), _("Cancel"), NULL, |
548 NULL, NULL, NULL, | 548 NULL, NULL, NULL, |
566 NULL, | 566 NULL, |
567 NULL | 567 NULL |
568 }; | 568 }; |
569 | 569 |
570 static gpointer | 570 static gpointer |
571 finch_blist_get_handle() | 571 finch_blist_get_handle(void) |
572 { | 572 { |
573 static int handle; | 573 static int handle; |
574 | 574 |
575 return &handle; | 575 return &handle; |
576 } | 576 } |
1700 g_free(ggblist); | 1700 g_free(ggblist); |
1701 ggblist = NULL; | 1701 ggblist = NULL; |
1702 } | 1702 } |
1703 | 1703 |
1704 static void | 1704 static void |
1705 populate_buddylist() | 1705 populate_buddylist(void) |
1706 { | 1706 { |
1707 PurpleBlistNode *node; | 1707 PurpleBlistNode *node; |
1708 PurpleBuddyList *list; | 1708 PurpleBuddyList *list; |
1709 | 1709 |
1710 if (strcmp(purple_prefs_get_string(PREF_ROOT "/sort_type"), "text") == 0) { | 1710 if (strcmp(purple_prefs_get_string(PREF_ROOT "/sort_type"), "text") == 0) { |
1733 g_list_foreach(list, (GFunc)g_free, NULL); | 1733 g_list_foreach(list, (GFunc)g_free, NULL); |
1734 g_list_free(list); | 1734 g_list_free(list); |
1735 } | 1735 } |
1736 | 1736 |
1737 static void | 1737 static void |
1738 populate_status_dropdown() | 1738 populate_status_dropdown(void) |
1739 { | 1739 { |
1740 int i; | 1740 int i; |
1741 GList *iter; | 1741 GList *iter; |
1742 GList *items = NULL; | 1742 GList *items = NULL; |
1743 StatusBoxItem *item = NULL; | 1743 StatusBoxItem *item = NULL; |
2205 { | 2205 { |
2206 g_idle_add(buddy_signed_on_off_cb, buddy); | 2206 g_idle_add(buddy_signed_on_off_cb, buddy); |
2207 } | 2207 } |
2208 | 2208 |
2209 static void | 2209 static void |
2210 reconstruct_plugins_menu() | 2210 reconstruct_plugins_menu(void) |
2211 { | 2211 { |
2212 GntWidget *sub; | 2212 GntWidget *sub; |
2213 GntMenuItem *plg; | 2213 GntMenuItem *plg; |
2214 GList *iter; | 2214 GList *iter; |
2215 | 2215 |
2237 build_plugin_actions(item, plugin, NULL); | 2237 build_plugin_actions(item, plugin, NULL); |
2238 } | 2238 } |
2239 } | 2239 } |
2240 | 2240 |
2241 static void | 2241 static void |
2242 reconstruct_accounts_menu() | 2242 reconstruct_accounts_menu(void) |
2243 { | 2243 { |
2244 GntWidget *sub; | 2244 GntWidget *sub; |
2245 GntMenuItem *acc, *item; | 2245 GntMenuItem *acc, *item; |
2246 GList *iter; | 2246 GList *iter; |
2247 | 2247 |
2437 { | 2437 { |
2438 purple_blist_request_add_group(); | 2438 purple_blist_request_add_group(); |
2439 } | 2439 } |
2440 | 2440 |
2441 static void | 2441 static void |
2442 create_menu() | 2442 create_menu(void) |
2443 { | 2443 { |
2444 GntWidget *menu, *sub, *subsub; | 2444 GntWidget *menu, *sub, *subsub; |
2445 GntMenuItem *item; | 2445 GntMenuItem *item; |
2446 GntWindow *window; | 2446 GntWindow *window; |
2447 | 2447 |