aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-06-06 23:03:06 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-06-06 23:03:06 +0800
commitc063bac41998b5106743a47426b737ab7c59640d (patch)
tree5df8c2dc46ede948a234291709eff25ce44e3f55 /libempathy-gtk/empathy-contact-widget.h
parent976d656a08ded1864324b6060ef035ffcb0b833b (diff)
downloadgsoc2013-empathy-c063bac41998b5106743a47426b737ab7c59640d.tar
gsoc2013-empathy-c063bac41998b5106743a47426b737ab7c59640d.tar.gz
gsoc2013-empathy-c063bac41998b5106743a47426b737ab7c59640d.tar.bz2
gsoc2013-empathy-c063bac41998b5106743a47426b737ab7c59640d.tar.lz
gsoc2013-empathy-c063bac41998b5106743a47426b737ab7c59640d.tar.xz
gsoc2013-empathy-c063bac41998b5106743a47426b737ab7c59640d.tar.zst
gsoc2013-empathy-c063bac41998b5106743a47426b737ab7c59640d.zip
New widget: EmpathyContactWidget. It displays information about a contact,
2007-06-06 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-contact-widget.glade: * libempathy-gtk/empathy-contact-widget.c: * libempathy-gtk/empathy-contact-widget.h: * libempathy-gtk/Makefile.am: New widget: EmpathyContactWidget. It displays information about a contact, it can be used in any kind of dialog which needs to display contact information like alias, groups, avatar, etc. If the contact is the selfcontact information are editable. * libempathy/empathy-tp-contact-list.c: Do not take care of subscription changes. * libempathy/gossip-contact.c: Use gossip_presence_state_get_default_status (MC_PRESENCE_OFFLINE) when there is no presence. svn path=/trunk/; revision=124
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.h')
-rw-r--r--libempathy-gtk/empathy-contact-widget.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.h b/libempathy-gtk/empathy-contact-widget.h
new file mode 100644
index 000000000..c61d97335
--- /dev/null
+++ b/libempathy-gtk/empathy-contact-widget.h
@@ -0,0 +1,36 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Copyright (C) 2007 Collabora Ltd.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Authors: Xavier Claessens <xclaesse@gmail.com>
+ */
+
+#ifndef __EMPATHY_CONTACT_WIDGET_H__
+#define __EMPATHY_CONTACT_WIDGET_H__
+
+#include <gtk/gtk.h>
+
+#include <libempathy/gossip-contact.h>
+
+G_BEGIN_DECLS
+
+GtkWidget * empathy_contact_widget_new (GossipContact *contact);
+void empathy_contact_widget_save (GtkWidget *widget);
+
+G_END_DECLS
+#endif /* __EMPATHY_CONTACT_WIDGET_H__ */