[gnome-documents] Make two GdMainColumns fields more generic
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] Make two GdMainColumns fields more generic
- Date: Wed, 15 Aug 2012 21:15:40 +0000 (UTC)
commit dee35a93304a0dc3758676b51767900c4e4f6afd
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Aug 16 00:12:33 2012 +0300
Make two GdMainColumns fields more generic
src/lib/gd-main-icon-view.c | 4 ++--
src/lib/gd-main-list-view.c | 4 ++--
src/lib/gd-main-view-generic.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/lib/gd-main-icon-view.c b/src/lib/gd-main-icon-view.c
index 36df626..1e98d2d 100644
--- a/src/lib/gd-main-icon-view.c
+++ b/src/lib/gd-main-icon-view.c
@@ -116,9 +116,9 @@ gd_main_icon_view_constructed (GObject *obj)
NULL);
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (self), cell, FALSE);
gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (self), cell,
- "text", GD_MAIN_COLUMN_TITLE);
+ "text", GD_MAIN_COLUMN_PRIMARY_TEXT);
gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (self), cell,
- "line-two", GD_MAIN_COLUMN_AUTHOR);
+ "line-two", GD_MAIN_COLUMN_SECONDARY_TEXT);
gtk_icon_view_enable_model_drag_source (GTK_ICON_VIEW (self),
GDK_BUTTON1_MASK,
diff --git a/src/lib/gd-main-list-view.c b/src/lib/gd-main-list-view.c
index ef14051..bf32f63 100644
--- a/src/lib/gd-main-list-view.c
+++ b/src/lib/gd-main-list-view.c
@@ -127,9 +127,9 @@ gd_main_list_view_constructed (GObject *obj)
NULL);
gtk_tree_view_column_pack_start (self->priv->tree_col, cell, TRUE);
gtk_tree_view_column_add_attribute (self->priv->tree_col, cell,
- "text", GD_MAIN_COLUMN_TITLE);
+ "text", GD_MAIN_COLUMN_PRIMARY_TEXT);
gtk_tree_view_column_add_attribute (self->priv->tree_col, cell,
- "line-two", GD_MAIN_COLUMN_AUTHOR);
+ "line-two", GD_MAIN_COLUMN_SECONDARY_TEXT);
gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (self),
GDK_BUTTON1_MASK,
diff --git a/src/lib/gd-main-view-generic.h b/src/lib/gd-main-view-generic.h
index bb49956..3f86bcc 100644
--- a/src/lib/gd-main-view-generic.h
+++ b/src/lib/gd-main-view-generic.h
@@ -31,8 +31,8 @@ G_BEGIN_DECLS
typedef enum {
GD_MAIN_COLUMN_ID,
GD_MAIN_COLUMN_URI,
- GD_MAIN_COLUMN_TITLE,
- GD_MAIN_COLUMN_AUTHOR,
+ GD_MAIN_COLUMN_PRIMARY_TEXT,
+ GD_MAIN_COLUMN_SECONDARY_TEXT,
GD_MAIN_COLUMN_ICON,
GD_MAIN_COLUMN_MTIME,
GD_MAIN_COLUMN_SELECTED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]