Mercurial > pidgin
comparison console/libgnt/gnttree.c @ 14843:97977138cf29
[gaim-migrate @ 17612]
Add a 'MenuItemCheck' thing.
Use GntMenu for the context-menu in the buddylist.
This patch has 666 lines ... but I'm sure it's a good patch!
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 28 Oct 2006 22:14:52 +0000 |
parents | bfcdd361357e |
children | c7651586e27b |
comparison
equal
deleted
inserted
replaced
14842:852803694be3 | 14843:97977138cf29 |
---|---|
689 G_TYPE_NONE, 1, G_TYPE_INT); | 689 G_TYPE_NONE, 1, G_TYPE_INT); |
690 signals[SIG_TOGGLED] = | 690 signals[SIG_TOGGLED] = |
691 g_signal_new("toggled", | 691 g_signal_new("toggled", |
692 G_TYPE_FROM_CLASS(klass), | 692 G_TYPE_FROM_CLASS(klass), |
693 G_SIGNAL_RUN_LAST, | 693 G_SIGNAL_RUN_LAST, |
694 0, | 694 G_STRUCT_OFFSET(GntTreeClass, toggled), |
695 NULL, NULL, | 695 NULL, NULL, |
696 g_cclosure_marshal_VOID__POINTER, | 696 g_cclosure_marshal_VOID__POINTER, |
697 G_TYPE_NONE, 1, G_TYPE_POINTER); | 697 G_TYPE_NONE, 1, G_TYPE_POINTER); |
698 | 698 |
699 parent_class->actions = g_hash_table_duplicate(parent_class->actions, g_str_hash, | 699 parent_class->actions = g_hash_table_duplicate(parent_class->actions, g_str_hash, |