aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/pyempathy/pyempathy.defs73
-rw-r--r--python/pyempathygtk/pyempathygtk.defs78
2 files changed, 92 insertions, 59 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 6b6f7dfd3..488f5b3ac 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -206,6 +206,18 @@
)
)
+(define-flags ContactListFlags
+ (in-module "Empathy")
+ (c-name "EmpathyContactListFlags")
+ (gtype-id "EMPATHY_TYPE_CONTACT_LIST_FLAGS")
+ (values
+ '("add" "EMPATHY_CONTACT_LIST_CAN_ADD")
+ '("remove" "EMPATHY_CONTACT_LIST_CAN_REMOVE")
+ '("alias" "EMPATHY_CONTACT_LIST_CAN_ALIAS")
+ '("group" "EMPATHY_CONTACT_LIST_CAN_GROUP")
+ )
+)
+
(define-flags DebugFlags
(in-module "Empathy")
(c-name "EmpathyDebugFlags")
@@ -220,6 +232,8 @@
'("ft" "EMPATHY_DEBUG_FT")
'("location" "EMPATHY_DEBUG_LOCATION")
'("other" "EMPATHY_DEBUG_OTHER")
+ '("share-desktop" "EMPATHY_DEBUG_SHARE_DESKTOP")
+ '("connectivity" "EMPATHY_DEBUG_CONNECTIVITY")
)
)
@@ -899,6 +913,18 @@
(return-type "gboolean")
)
+(define-method can_voip_audio
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_can_voip_audio")
+ (return-type "gboolean")
+)
+
+(define-method can_voip_video
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_can_voip_video")
+ (return-type "gboolean")
+)
+
(define-method can_send_files
(of-object "EmpathyContact")
(c-name "empathy_contact_can_send_files")
@@ -1131,6 +1157,12 @@
(return-type "EmpathyContactMonitor*")
)
+(define-method get_flags
+ (of-object "EmpathyContactList")
+ (c-name "empathy_contact_list_get_flags")
+ (return-type "EmpathyContactListFlags")
+)
+
;; From empathy-contact-manager.h
@@ -1140,6 +1172,11 @@
(return-type "GType")
)
+(define-function contact_manager_initialized
+ (c-name "empathy_contact_manager_initialized")
+ (return-type "gboolean")
+)
+
(define-function contact_manager_dup_singleton
(c-name "empathy_contact_manager_dup_singleton")
(return-type "EmpathyContactManager*")
@@ -1154,10 +1191,10 @@
)
)
-(define-method can_add
+(define-method get_flags_for_connection
(of-object "EmpathyContactManager")
- (c-name "empathy_contact_manager_can_add")
- (return-type "gboolean")
+ (c-name "empathy_contact_manager_get_flags_for_connection")
+ (return-type "EmpathyContactListFlags")
(parameters
'("TpConnection*" "connection")
)
@@ -1661,21 +1698,6 @@
)
)
-(define-method get_use_nm
- (of-object "EmpathyIdle")
- (c-name "empathy_idle_get_use_nm")
- (return-type "gboolean")
-)
-
-(define-method set_use_nm
- (of-object "EmpathyIdle")
- (c-name "empathy_idle_set_use_nm")
- (return-type "none")
- (parameters
- '("gboolean" "use_nm")
- )
-)
-
;; From empathy-irc-network.h
@@ -2142,6 +2164,21 @@
)
)
+(define-method is_backlog
+ (of-object "EmpathyMessage")
+ (c-name "empathy_message_is_backlog")
+ (return-type "gboolean")
+)
+
+(define-method set_is_backlog
+ (of-object "EmpathyMessage")
+ (c-name "empathy_message_set_is_backlog")
+ (return-type "none")
+ (parameters
+ '("gboolean" "is_backlog")
+ )
+)
+
(define-method should_highlight
(of-object "EmpathyMessage")
(c-name "empathy_message_should_highlight")
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index 377eea43a..d4601b211 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -190,6 +190,7 @@
'("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR")
'("can-audio-call" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_AUDIO_CALL")
'("can-video-call" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VIDEO_CALL")
+ '("flags" "EMPATHY_CONTACT_LIST_STORE_COL_FLAGS")
'("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT")
)
)
@@ -254,25 +255,6 @@
)
)
-(define-enum Sound
- (in-module "Empathy")
- (c-name "EmpathySound")
- (gtype-id "EMPATHY_TYPE_SOUND")
- (values
- '("empathy-sound-message-incoming" "EMPATHY_SOUND_MESSAGE_INCOMING")
- '("empathy-sound-message-outgoing" "EMPATHY_SOUND_MESSAGE_OUTGOING")
- '("empathy-sound-conversation-new" "EMPATHY_SOUND_CONVERSATION_NEW")
- '("empathy-sound-contact-connected" "EMPATHY_SOUND_CONTACT_CONNECTED")
- '("empathy-sound-contact-disconnected" "EMPATHY_SOUND_CONTACT_DISCONNECTED")
- '("empathy-sound-account-connected" "EMPATHY_SOUND_ACCOUNT_CONNECTED")
- '("empathy-sound-account-disconnected" "EMPATHY_SOUND_ACCOUNT_DISCONNECTED")
- '("empathy-sound-phone-incoming" "EMPATHY_SOUND_PHONE_INCOMING")
- '("empathy-sound-phone-outgoing" "EMPATHY_SOUND_PHONE_OUTGOING")
- '("empathy-sound-phone-hangup" "EMPATHY_SOUND_PHONE_HANGUP")
- '("last-empathy-sound" "LAST_EMPATHY_SOUND")
- )
-)
-
;; From empathy-account-chooser.h
@@ -991,6 +973,15 @@
)
)
+(define-function new_contact_dialog_show_with_contact
+ (c-name "empathy_new_contact_dialog_show_with_contact")
+ (return-type "none")
+ (parameters
+ '("GtkWindow*" "parent")
+ '("EmpathyContact*" "contact")
+ )
+)
+
;; From empathy-contact-list-store.h
@@ -1148,6 +1139,12 @@
(return-type "EmpathyContact*")
)
+(define-method get_flags
+ (of-object "EmpathyContactListView")
+ (c-name "empathy_contact_list_view_get_flags")
+ (return-type "EmpathyContactListFlags")
+)
+
(define-method get_selected_group
(of-object "EmpathyContactListView")
(c-name "empathy_contact_list_view_get_selected_group")
@@ -1179,6 +1176,12 @@
)
)
+(define-method add_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_add_menu_item_new")
+ (return-type "GtkWidget*")
+)
+
(define-method chat_menu_item_new
(of-object "EmpathyContact")
(c-name "empathy_contact_chat_menu_item_new")
@@ -1227,6 +1230,12 @@
(return-type "GtkWidget*")
)
+(define-method share_my_desktop_menu_item_new
+ (of-object "EmpathyContact")
+ (c-name "empathy_contact_share_my_desktop_menu_item_new")
+ (return-type "GtkWidget*")
+)
+
;; From empathy-contact-selector.h
@@ -1732,6 +1741,11 @@
(return-type "const-gchar**")
)
+(define-function theme_manager_get_adium_themes
+ (c-name "empathy_theme_manager_get_adium_themes")
+ (return-type "GList*")
+)
+
(define-method create_view
(of-object "EmpathyThemeManager")
(c-name "empathy_theme_manager_create_view")
@@ -1985,30 +1999,12 @@
)
)
-(define-function sound_play
- (c-name "empathy_sound_play")
- (return-type "none")
- (parameters
- '("GtkWidget*" "widget")
- '("EmpathySound" "sound_id")
- )
-)
-
-(define-function sound_play_full
- (c-name "empathy_sound_play_full")
- (return-type "gboolean")
+(define-function make_absolute_url
+ (c-name "empathy_make_absolute_url")
+ (return-type "gchar*")
(parameters
- '("GtkWidget*" "widget")
- '("EmpathySound" "sound_id")
- '("ca_finish_callback_t" "callback")
- '("gpointer" "user_data")
+ '("const-gchar*" "url")
)
)
-(define-method stop
- (of-object "EmpathySound")
- (c-name "empathy_sound_stop")
- (return-type "none")
-)
-