]> git.0d.be Git - empathy.git/commitdiff
rename empathy_tp_file_get_incoming to empathy_tp_file_is_incoming
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 21 Nov 2008 16:23:06 +0000 (16:23 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 21 Nov 2008 16:23:06 +0000 (16:23 +0000)
svn path=/trunk/; revision=1882

libempathy-gtk/empathy-ft-manager.c
libempathy/empathy-tp-file.c
libempathy/empathy-tp-file.h

index df4b61d4975838530c2c0765c7685a87a790fe5e..a939e6a4a7e5ce1d6a94521453405e56b128e3c8 100644 (file)
@@ -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);
index c26f939f69eb1557172aa9ea1b6a58dd54b2db87..84246c457632624160b5ecb3bf5895de4dd26ceb 100644 (file)
@@ -868,7 +868,7 @@ empathy_tp_file_get_filename (EmpathyTpFile *tp_file)
 }
 
 gboolean
-empathy_tp_file_get_incoming (EmpathyTpFile *tp_file)
+empathy_tp_file_is_incoming (EmpathyTpFile *tp_file)
 {
   g_return_val_if_fail (EMPATHY_IS_TP_FILE (tp_file), FALSE);
   return tp_file->priv->incoming;
index 408b67cb0b936bf119980febfe3073421955cc6a..3243451e05b64c5965bc7b066fa8a1bdd2c8c3ac 100644 (file)
@@ -77,7 +77,7 @@ const gchar *empathy_tp_file_get_id (EmpathyTpFile *tp_file);
 guint64 empathy_tp_file_get_transferred_bytes (EmpathyTpFile *tp_file);
 EmpathyContact *empathy_tp_file_get_contact (EmpathyTpFile *tp_file);
 const gchar *empathy_tp_file_get_filename (EmpathyTpFile *tp_file);
-gboolean empathy_tp_file_get_incoming (EmpathyTpFile *tp_file);
+gboolean empathy_tp_file_is_incoming (EmpathyTpFile *tp_file);
 EmpFileTransferState empathy_tp_file_get_state (EmpathyTpFile *tp_file);
 EmpFileTransferStateChangeReason empathy_tp_file_get_state_change_reason (EmpathyTpFile *tp_file);
 guint64 empathy_tp_file_get_size (EmpathyTpFile *tp_file);