empathy r1882 - in trunk: libempathy libempathy-gtk



Author: xclaesse
Date: Fri Nov 21 16:23:06 2008
New Revision: 1882
URL: http://svn.gnome.org/viewvc/empathy?rev=1882&view=rev

Log:
rename empathy_tp_file_get_incoming to empathy_tp_file_is_incoming

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

Modified: trunk/libempathy-gtk/empathy-ft-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ft-manager.c	(original)
+++ trunk/libempathy-gtk/empathy-ft-manager.c	Fri Nov 21 16:23:06 2008
@@ -180,7 +180,7 @@
       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 @@
   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 @@
       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 @@
       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 @@
   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 @@
   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);

Modified: trunk/libempathy/empathy-tp-file.c
==============================================================================
--- trunk/libempathy/empathy-tp-file.c	(original)
+++ trunk/libempathy/empathy-tp-file.c	Fri Nov 21 16:23:06 2008
@@ -868,7 +868,7 @@
 }
 
 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;

Modified: trunk/libempathy/empathy-tp-file.h
==============================================================================
--- trunk/libempathy/empathy-tp-file.h	(original)
+++ trunk/libempathy/empathy-tp-file.h	Fri Nov 21 16:23:06 2008
@@ -77,7 +77,7 @@
 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]