aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-boxes.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-01-16 23:32:35 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-01-16 23:32:35 +0800
commit2dc2f7e32f57720023b6c888146e8a09d850972a (patch)
tree27887abde0c0d34c07316cbef1495a7322809fbb /libempathy-gtk/empathy-theme-boxes.c
parentb2dd9b77af7f4bbc610de71706028dc2b5181c2a (diff)
downloadgsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar
gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.gz
gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.bz2
gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.lz
gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.xz
gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.tar.zst
gsoc2013-empathy-2dc2f7e32f57720023b6c888146e8a09d850972a.zip
Rename BlockType to EMPATHY_CHAT_VIEW_BLOCK to respect namespace
svn path=/trunk/; revision=563
Diffstat (limited to 'libempathy-gtk/empathy-theme-boxes.c')
-rw-r--r--libempathy-gtk/empathy-theme-boxes.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-theme-boxes.c b/libempathy-gtk/empathy-theme-boxes.c
index 87eac87d5..30ae59f30 100644
--- a/libempathy-gtk/empathy-theme-boxes.c
+++ b/libempathy-gtk/empathy-theme-boxes.c
@@ -559,16 +559,16 @@ theme_boxes_maybe_append_header (EmpathyTheme *theme,
/* Only insert a header if the previously inserted block is not the same
* as this one. This catches all the different cases:
*/
- if (empathy_chat_view_get_last_block_type (view) != BLOCK_TYPE_SELF &&
- empathy_chat_view_get_last_block_type (view) != BLOCK_TYPE_OTHER) {
+ if (empathy_chat_view_get_last_block_type (view) != EMPATHY_CHAT_VIEW_BLOCK_SELF &&
+ empathy_chat_view_get_last_block_type (view) != EMPATHY_CHAT_VIEW_BLOCK_OTHER) {
header = TRUE;
}
else if (from_self &&
- empathy_chat_view_get_last_block_type (view) == BLOCK_TYPE_OTHER) {
+ empathy_chat_view_get_last_block_type (view) == EMPATHY_CHAT_VIEW_BLOCK_OTHER) {
header = TRUE;
}
else if (!from_self &&
- empathy_chat_view_get_last_block_type (view) == BLOCK_TYPE_SELF) {
+ empathy_chat_view_get_last_block_type (view) == EMPATHY_CHAT_VIEW_BLOCK_SELF) {
header = TRUE;
}
else if (!from_self &&
@@ -710,10 +710,10 @@ theme_boxes_append_message (EmpathyTheme *theme,
}
if (empathy_contact_is_user (sender)) {
- empathy_chat_view_set_last_block_type (view, BLOCK_TYPE_SELF);
+ empathy_chat_view_set_last_block_type (view, EMPATHY_CHAT_VIEW_BLOCK_SELF);
empathy_chat_view_set_last_contact (view, NULL);
} else {
- empathy_chat_view_set_last_block_type (view, BLOCK_TYPE_OTHER);
+ empathy_chat_view_set_last_block_type (view, EMPATHY_CHAT_VIEW_BLOCK_OTHER);
empathy_chat_view_set_last_contact (view, sender);
}
}
@@ -741,7 +741,7 @@ theme_boxes_append_event (EmpathyTheme *theme,
NULL);
g_free (msg);
- empathy_chat_view_set_last_block_type (view, BLOCK_TYPE_EVENT);
+ empathy_chat_view_set_last_block_type (view, EMPATHY_CHAT_VIEW_BLOCK_EVENT);
}
static void
@@ -804,7 +804,7 @@ theme_boxes_append_timestamp (EmpathyTheme *theme,
"fancy-time",
NULL);
- empathy_chat_view_set_last_block_type (view, BLOCK_TYPE_TIME);
+ empathy_chat_view_set_last_block_type (view, EMPATHY_CHAT_VIEW_BLOCK_TIME);
empathy_chat_view_set_last_timestamp (view, timestamp);
}