aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathygtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-01-21 05:42:01 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-01-21 05:42:01 +0800
commiteccbc4d73eca63fd700d89f9bc31dcad7cb17edc (patch)
treecfd7bf74bd1a88d930f879b6e103716070edaab9 /python/pyempathygtk
parentdf2045d6031f276b60ad5a15b7acd7bb0257a598 (diff)
downloadgsoc2013-empathy-eccbc4d73eca63fd700d89f9bc31dcad7cb17edc.tar
gsoc2013-empathy-eccbc4d73eca63fd700d89f9bc31dcad7cb17edc.tar.gz
gsoc2013-empathy-eccbc4d73eca63fd700d89f9bc31dcad7cb17edc.tar.bz2
gsoc2013-empathy-eccbc4d73eca63fd700d89f9bc31dcad7cb17edc.tar.lz
gsoc2013-empathy-eccbc4d73eca63fd700d89f9bc31dcad7cb17edc.tar.xz
gsoc2013-empathy-eccbc4d73eca63fd700d89f9bc31dcad7cb17edc.tar.zst
gsoc2013-empathy-eccbc4d73eca63fd700d89f9bc31dcad7cb17edc.zip
Add a property to have or not groups on EmpathyContactListStore
svn path=/trunk/; revision=586
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r--python/pyempathygtk/pyempathygtk.defs27
1 files changed, 25 insertions, 2 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index e3a9b6370..f168800d6 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -199,8 +199,10 @@
(c-name "EmpathyContactListFeatures")
(gtype-id "EMPATHY_TYPE_CONTACT_LIST_FEATURES")
(values
- '("groups-show" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SHOW")
- '("groups-modify" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_MODIFY")
+ '("none" "EMPATHY_CONTACT_LIST_FEATURE_NONE")
+ '("groups-save" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_SAVE")
+ '("groups-rename" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_RENAME")
+ '("groups-remove" "EMPATHY_CONTACT_LIST_FEATURE_GROUPS_REMOVE")
'("contact-chat" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT")
'("contact-call" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL")
'("contact-log" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG")
@@ -209,6 +211,9 @@
'("contact-edit" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_EDIT")
'("contact-info" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO")
'("contact-remove" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_REMOVE")
+ '("contact-drop" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DROP")
+ '("contact-drag" "EMPATHY_CONTACT_LIST_FEATURE_CONTACT_DRAG")
+ '("all" "EMPATHY_CONTACT_LIST_FEATURE_ALL")
)
)
@@ -1047,6 +1052,9 @@
(of-object "EmpathyContactList")
(c-name "empathy_contact_list_store_new")
(return-type "EmpathyContactListStore*")
+ (parameters
+ '("gboolean" "show_groups")
+ )
)
(define-method get_list_iface
@@ -1085,6 +1093,21 @@
)
)
+(define-method get_show_groups
+ (of-object "EmpathyContactListStore")
+ (c-name "empathy_contact_list_store_get_show_groups")
+ (return-type "gboolean")
+)
+
+(define-method set_show_groups
+ (of-object "EmpathyContactListStore")
+ (c-name "empathy_contact_list_store_set_show_groups")
+ (return-type "none")
+ (parameters
+ '("gboolean" "show_groups")
+ )
+)
+
(define-method get_is_compact
(of-object "EmpathyContactListStore")
(c-name "empathy_contact_list_store_get_is_compact")