#include <glib/gi18n-lib.h>
#include <tp-account-widgets/tpaw-camera-monitor.h>
#include <tp-account-widgets/tpaw-gsettings.h>
+#include <tp-account-widgets/tpaw-images.h>
#ifdef HAVE_CHEESE
#include <cheese-avatar-chooser.h>
#endif /* HAVE_CHEESE */
-#include "empathy-images.h"
#include "empathy-ui-utils.h"
#include "empathy-utils.h"
tp_clear_pointer (&self->priv->mime_type, g_free);
self->priv->changed = TRUE;
- image = gtk_image_new_from_icon_name (EMPATHY_IMAGE_AVATAR_DEFAULT,
+ image = gtk_image_new_from_icon_name (TPAW_IMAGE_AVATAR_DEFAULT,
GTK_ICON_SIZE_DIALOG);
gtk_button_set_image (GTK_BUTTON (self), image);
}
#define EMPATHY_IMAGE_VIDEO_CALL "camera-web"
#define EMPATHY_IMAGE_LOG "document-open-recent"
#define EMPATHY_IMAGE_DOCUMENT_SEND "document-send"
-#define EMPATHY_IMAGE_AVATAR_DEFAULT "avatar-default-symbolic"
/* FIXME: need a better icon! */
#define EMPATHY_IMAGE_EDIT_MESSAGE "format-text-direction-ltr"
#define EMPATHY_IMAGE_MIC "audio-input-microphone-symbolic"
#include <glib/gi18n-lib.h>
#include <telepathy-glib/proxy-subclass.h>
#include <tp-account-widgets/tpaw-builder.h>
+#include <tp-account-widgets/tpaw-images.h>
#include <tp-account-widgets/tpaw-camera-monitor.h>
#include "action-chain-internal.h"
gtk_list_store_insert_with_values (store, NULL, -1,
COL_WHO_TYPE, COL_TYPE_NORMAL,
COL_WHO_ICON, room ? EMPATHY_IMAGE_GROUP_MESSAGE
- : EMPATHY_IMAGE_AVATAR_DEFAULT,
+ : TPAW_IMAGE_AVATAR_DEFAULT,
COL_WHO_NAME, name,
COL_WHO_NAME_SORT_KEY, sort_key,
COL_WHO_ID, tpl_entity_get_identifier (entity),
#include "empathy-roster-contact.h"
#include <glib/gi18n-lib.h>
+#include <tp-account-widgets/tpaw-images.h>
-#include "empathy-images.h"
#include "empathy-ui-utils.h"
#include "empathy-utils.h"
if (pixbuf == NULL)
{
pixbuf = empathy_pixbuf_from_icon_name_sized (
- EMPATHY_IMAGE_AVATAR_DEFAULT, AVATAR_SIZE);
+ TPAW_IMAGE_AVATAR_DEFAULT, AVATAR_SIZE);
}
gtk_image_set_from_pixbuf (GTK_IMAGE (self->priv->avatar), pixbuf);
#include "empathy-theme-adium.h"
#include <glib/gi18n-lib.h>
+#include <tp-account-widgets/tpaw-images.h>
#include <tp-account-widgets/tpaw-time.h>
#include <tp-account-widgets/tpaw-utils.h>
{
if (!self->priv->data->default_avatar_filename)
self->priv->data->default_avatar_filename =
- empathy_filename_from_icon_name (EMPATHY_IMAGE_AVATAR_DEFAULT,
+ empathy_filename_from_icon_name (TPAW_IMAGE_AVATAR_DEFAULT,
GTK_ICON_SIZE_DIALOG);
avatar_filename = self->priv->data->default_avatar_filename;
#include "empathy-call-observer.h"
#include <glib/gi18n-lib.h>
+#include <tp-account-widgets/tpaw-images.h>
-#include "empathy-images.h"
#include "empathy-notify-manager.h"
#define DEBUG_FLAG EMPATHY_DEBUG_VOIP
emp_contact = empathy_contact_dup_from_tp_contact (contact);
pixbuf = empathy_notify_manager_get_pixbuf_for_notification (
- self->priv->notify_mgr, emp_contact, EMPATHY_IMAGE_AVATAR_DEFAULT);
+ self->priv->notify_mgr, emp_contact, TPAW_IMAGE_AVATAR_DEFAULT);
if (pixbuf != NULL)
{
#include <farstream/fs-utils.h>
#include <tp-account-widgets/tpaw-builder.h>
#include <tp-account-widgets/tpaw-camera-monitor.h>
+#include <tp-account-widgets/tpaw-images.h>
#include "empathy-about-dialog.h"
#include "empathy-audio-sink.h"
if (pixbuf_avatar == NULL)
{
pixbuf_avatar = empathy_pixbuf_from_icon_name_sized (
- EMPATHY_IMAGE_AVATAR_DEFAULT, size);
+ TPAW_IMAGE_AVATAR_DEFAULT, size);
}
gtk_image_set_from_pixbuf (GTK_IMAGE (image_widget), pixbuf_avatar);
#include "empathy-event-manager.h"
#include <glib/gi18n.h>
+#include <tp-account-widgets/tpaw-images.h>
#include "empathy-call-utils.h"
#include "empathy-connection-aggregator.h"
{
event_manager_add (manager, NULL, contact,
EMPATHY_EVENT_TYPE_PRESENCE_OFFLINE,
- EMPATHY_IMAGE_AVATAR_DEFAULT,
+ TPAW_IMAGE_AVATAR_DEFAULT,
empathy_contact_get_alias (contact), _("Disconnected"),
NULL, NULL, NULL);
}
{
event_manager_add (manager, NULL, contact,
EMPATHY_EVENT_TYPE_PRESENCE_ONLINE,
- EMPATHY_IMAGE_AVATAR_DEFAULT,
+ TPAW_IMAGE_AVATAR_DEFAULT,
empathy_contact_get_alias (contact), _("Connected"),
NULL, NULL, NULL);
}
tpaw-connection-managers.h \
tpaw-contactinfo-utils.h \
tpaw-gsettings.h \
+ tpaw-images.h \
tpaw-keyring.h \
tpaw-irc-network-chooser-dialog.h \
tpaw-irc-network-chooser.h \
--- /dev/null
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Copyright (C) 2007-2008 Collabora Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Authors: Xavier Claessens <xclaesse@gmail.com>
+ */
+
+#ifndef __TPAW_IMAGES_H__
+#define __TPAW_IMAGES_H__
+
+G_BEGIN_DECLS
+
+#define TPAW_IMAGE_AVATAR_DEFAULT "avatar-default-symbolic"
+
+G_END_DECLS
+
+#endif /* __TPAW_IMAGES_ICONS_H__ */