| 24 |
24 |
| 25 #include <purple.h> |
25 #include <purple.h> |
| 26 |
26 |
| 27 #include "internal.h" |
27 #include "internal.h" |
| 28 |
28 |
| 29 #include "pidgin/gtkaccount.h" |
|
| 30 #include "pidgin/gtkblist.h" |
29 #include "pidgin/gtkblist.h" |
| 31 #include "pidgin/gtkdialogs.h" |
30 #include "pidgin/gtkdialogs.h" |
| 32 #include "pidgin/gtkpounce.h" |
31 #include "pidgin/gtkpounce.h" |
| 33 #include "pidgin/gtkprefs.h" |
32 #include "pidgin/gtkprefs.h" |
| 34 #include "pidgin/gtkprivacy.h" |
33 #include "pidgin/gtkprivacy.h" |
| 406 { |
405 { |
| 407 pidgin_blist_joinchat_show(); |
406 pidgin_blist_joinchat_show(); |
| 408 } |
407 } |
| 409 |
408 |
| 410 static void |
409 static void |
| 411 pidgin_action_group_manage_accounts(GSimpleAction *simple, GVariant *parameter, |
|
| 412 gpointer data) |
|
| 413 { |
|
| 414 pidgin_accounts_window_show(); |
|
| 415 } |
|
| 416 |
|
| 417 static void |
|
| 418 pidgin_action_group_mute_sounds(GSimpleAction *action, GVariant *value, |
410 pidgin_action_group_mute_sounds(GSimpleAction *action, GVariant *value, |
| 419 gpointer data) |
411 gpointer data) |
| 420 { |
412 { |
| 421 purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/sound/mute", |
413 purple_prefs_set_bool(PIDGIN_PREFS_ROOT "/sound/mute", |
| 422 g_variant_get_boolean(value)); |
414 g_variant_get_boolean(value)); |
| 567 .name = PIDGIN_ACTION_GET_USER_INFO, |
559 .name = PIDGIN_ACTION_GET_USER_INFO, |
| 568 .activate = pidgin_action_group_get_user_info, |
560 .activate = pidgin_action_group_get_user_info, |
| 569 }, { |
561 }, { |
| 570 .name = PIDGIN_ACTION_JOIN_CHAT, |
562 .name = PIDGIN_ACTION_JOIN_CHAT, |
| 571 .activate = pidgin_action_group_join_chat, |
563 .activate = pidgin_action_group_join_chat, |
| 572 }, { |
|
| 573 .name = PIDGIN_ACTION_MANAGE_ACCOUNTS, |
|
| 574 .activate = pidgin_action_group_manage_accounts, |
|
| 575 }, { |
564 }, { |
| 576 .name = PIDGIN_ACTION_MUTE_SOUNDS, |
565 .name = PIDGIN_ACTION_MUTE_SOUNDS, |
| 577 .state = "false", |
566 .state = "false", |
| 578 .change_state = pidgin_action_group_mute_sounds, |
567 .change_state = pidgin_action_group_mute_sounds, |
| 579 }, { |
568 }, { |