diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-08 21:06:49 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-24 19:28:44 +0800 |
commit | cbeb879c831699105fb6943e55caa8bcf72f8eaf (patch) | |
tree | da480b3deaf33dca0da2acbe0ec9de175c7d287d /libempathy-gtk/empathy-individual-menu.h | |
parent | ef0d55ead126f53aa4544877d2df5ab712f00f28 (diff) | |
download | gsoc2013-empathy-cbeb879c831699105fb6943e55caa8bcf72f8eaf.tar gsoc2013-empathy-cbeb879c831699105fb6943e55caa8bcf72f8eaf.tar.gz gsoc2013-empathy-cbeb879c831699105fb6943e55caa8bcf72f8eaf.tar.bz2 gsoc2013-empathy-cbeb879c831699105fb6943e55caa8bcf72f8eaf.tar.lz gsoc2013-empathy-cbeb879c831699105fb6943e55caa8bcf72f8eaf.tar.xz gsoc2013-empathy-cbeb879c831699105fb6943e55caa8bcf72f8eaf.tar.zst gsoc2013-empathy-cbeb879c831699105fb6943e55caa8bcf72f8eaf.zip |
add EMPATHY_INDIVIDUAL_FEATURE_ADD_CONTACT
https://bugzilla.gnome.org/show_bug.cgi?id=663387
Diffstat (limited to 'libempathy-gtk/empathy-individual-menu.h')
-rw-r--r-- | libempathy-gtk/empathy-individual-menu.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.h b/libempathy-gtk/empathy-individual-menu.h index 2a51605d6..31acc156e 100644 --- a/libempathy-gtk/empathy-individual-menu.h +++ b/libempathy-gtk/empathy-individual-menu.h @@ -25,6 +25,8 @@ #include <gtk/gtk.h> +#include "empathy-individual-store.h" + G_BEGIN_DECLS typedef enum { @@ -38,7 +40,8 @@ typedef enum { EMPATHY_INDIVIDUAL_FEATURE_LINK = 1 << 6, EMPATHY_INDIVIDUAL_FEATURE_SMS = 1 << 7, EMPATHY_INDIVIDUAL_FEATURE_CALL_PHONE = 1 << 8, - EMPATHY_INDIVIDUAL_FEATURE_ALL = (1 << 9) - 1, + EMPATHY_INDIVIDUAL_FEATURE_ADD_CONTACT = 1 << 9, + EMPATHY_INDIVIDUAL_FEATURE_ALL = (1 << 10) - 1, } EmpathyIndividualFeatureFlags; #define EMPATHY_TYPE_INDIVIDUAL_MENU (empathy_individual_menu_get_type ()) @@ -68,7 +71,8 @@ typedef struct { GType empathy_individual_menu_get_type (void) G_GNUC_CONST; GtkWidget * empathy_individual_menu_new (FolksIndividual *individual, - EmpathyIndividualFeatureFlags features); + EmpathyIndividualFeatureFlags features, + EmpathyIndividualStore *store); GtkWidget * empathy_individual_chat_menu_item_new (FolksIndividual *individual, EmpathyContact *contact); GtkWidget * empathy_individual_sms_menu_item_new (FolksIndividual *individual, @@ -95,6 +99,8 @@ GtkWidget * empathy_individual_share_my_desktop_menu_item_new ( EmpathyContact *contact); GtkWidget * empathy_individual_favourite_menu_item_new ( FolksIndividual *individual); +GtkWidget * empathy_individual_add_menu_item_new (EmpathyIndividualMenu *self, + FolksIndividual *individual); G_END_DECLS |