aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ft-manager.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:06 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:06 +0800
commit52bc77159e915ea52e32b4d7873aa644f885a859 (patch)
treee9ce3f352e48ea9368f8db6f691a3af88d9509c5 /libempathy-gtk/empathy-ft-manager.c
parent2f6a0562f6b163cbbd8df706ade46802ab02c1d5 (diff)
downloadgsoc2013-empathy-52bc77159e915ea52e32b4d7873aa644f885a859.tar
gsoc2013-empathy-52bc77159e915ea52e32b4d7873aa644f885a859.tar.gz
gsoc2013-empathy-52bc77159e915ea52e32b4d7873aa644f885a859.tar.bz2
gsoc2013-empathy-52bc77159e915ea52e32b4d7873aa644f885a859.tar.lz
gsoc2013-empathy-52bc77159e915ea52e32b4d7873aa644f885a859.tar.xz
gsoc2013-empathy-52bc77159e915ea52e32b4d7873aa644f885a859.tar.zst
gsoc2013-empathy-52bc77159e915ea52e32b4d7873aa644f885a859.zip
rename empathy_tp_file_get_incoming to empathy_tp_file_is_incoming
svn path=/trunk/; revision=1882
Diffstat (limited to 'libempathy-gtk/empathy-ft-manager.c')
-rw-r--r--libempathy-gtk/empathy-ft-manager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c
index df4b61d49..a939e6a4a 100644
--- a/libempathy-gtk/empathy-ft-manager.c
+++ b/libempathy-gtk/empathy-ft-manager.c
@@ -180,7 +180,7 @@ ft_manager_update_buttons (EmpathyFTManager *ft_manager)
if (empathy_tp_file_get_state (tp_file)
== EMP_FILE_TRANSFER_STATE_COMPLETED)
{
- if (empathy_tp_file_get_incoming (tp_file))
+ if (empathy_tp_file_is_incoming (tp_file))
open_enabled = TRUE;
else
open_enabled = FALSE;
@@ -256,7 +256,7 @@ ft_manager_update_ft_row (EmpathyFTManager *ft_manager,
total_size = empathy_tp_file_get_size (tp_file);
state = empathy_tp_file_get_state (tp_file);
reason = empathy_tp_file_get_state_change_reason (tp_file);
- incoming = empathy_tp_file_get_incoming (tp_file);
+ incoming = empathy_tp_file_is_incoming (tp_file);
switch (state)
{
@@ -304,7 +304,7 @@ ft_manager_update_ft_row (EmpathyFTManager *ft_manager,
break;
case EMP_FILE_TRANSFER_STATE_COMPLETED:
- if (empathy_tp_file_get_incoming (tp_file))
+ if (empathy_tp_file_is_incoming (tp_file))
/* translators: first %s is filename, second %s
* is the contact name */
first_line = g_strdup_printf (
@@ -322,7 +322,7 @@ ft_manager_update_ft_row (EmpathyFTManager *ft_manager,
break;
case EMP_FILE_TRANSFER_STATE_CANCELLED:
- if (empathy_tp_file_get_incoming (tp_file))
+ if (empathy_tp_file_is_incoming (tp_file))
/* translators: first %s is filename, second %s
* is the contact name */
first_line = g_strdup_printf (
@@ -554,7 +554,7 @@ ft_manager_state_changed_cb (EmpathyTpFile *tp_file,
switch (empathy_tp_file_get_state (tp_file))
{
case EMP_FILE_TRANSFER_STATE_COMPLETED:
- if (empathy_tp_file_get_incoming (tp_file))
+ if (empathy_tp_file_is_incoming (tp_file))
{
GtkRecentManager *manager;
const gchar *uri;
@@ -947,7 +947,7 @@ empathy_ft_manager_add_tp_file (EmpathyFTManager *ft_manager,
state = empathy_tp_file_get_state (tp_file);
if (state == EMP_FILE_TRANSFER_STATE_PENDING &&
- empathy_tp_file_get_incoming (tp_file))
+ empathy_tp_file_is_incoming (tp_file))
ft_manager_display_accept_dialog (ft_manager, tp_file);
else
ft_manager_add_tp_file_to_list (ft_manager, tp_file);