#include "empathy-individual-view.h"
#include <glib/gi18n-lib.h>
+#include <tp-account-widgets/tpaw-pixbuf-utils.h>
+#include <tp-account-widgets/tpaw-utils.h>
#include "empathy-cell-renderer-activatable.h"
#include "empathy-cell-renderer-expander.h"
shell = GTK_MENU_SHELL (menu);
/* audio */
- item = empathy_individual_audio_call_menu_item_new (individual);
+ item = empathy_individual_audio_call_menu_item_new (NULL, individual);
gtk_menu_shell_append (shell, item);
gtk_widget_show (item);
/* video */
- item = empathy_individual_video_call_menu_item_new (individual);
+ item = empathy_individual_video_call_menu_item_new (NULL, individual);
gtk_menu_shell_append (shell, item);
gtk_widget_show (item);
if (!tp_strdiff (name, EMPATHY_INDIVIDUAL_STORE_FAVORITE))
{
- pixbuf = empathy_pixbuf_from_icon_name ("emblem-favorite",
+ pixbuf = tpaw_pixbuf_from_icon_name ("emblem-favorite",
GTK_ICON_SIZE_MENU);
}
else if (!tp_strdiff (name, EMPATHY_INDIVIDUAL_STORE_PEOPLE_NEARBY))
{
- pixbuf = empathy_pixbuf_from_icon_name ("im-local-xmpp",
+ pixbuf = tpaw_pixbuf_from_icon_name ("im-local-xmpp",
GTK_ICON_SIZE_MENU);
}
EMPATHY_INDIVIDUAL_STORE_COL_NAME, &name,
-1);
- if (!is_group || EMP_STR_EMPTY (name))
+ if (!is_group || TPAW_STR_EMPTY (name))
{
g_free (name);
return;
text =
g_strdup_printf (_("Do you really want to remove the group '%s'?"),
group);
- parent = empathy_get_toplevel_window (GTK_WIDGET (view));
+ parent = tpaw_get_toplevel_window (GTK_WIDGET (view));
if (individual_view_remove_dialog_show (parent, _("Removing group"),
text) == REMOVE_DIALOG_RESPONSE_DELETE)
{