[gnome-boxes] libgd: Update GdMainColumns enum
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] libgd: Update GdMainColumns enum
- Date: Wed, 15 Aug 2012 21:24:13 +0000 (UTC)
commit 6c62b19fd93f20ed6ea4844c52e286755c6ab39e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Aug 15 23:25:20 2012 +0300
libgd: Update GdMainColumns enum
https://bugzilla.gnome.org/show_bug.cgi?id=681924
libgd/gd-main-icon-view.c | 4 ++--
libgd/gd-main-view-generic.h | 4 ++--
src/collection-view.vala | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgd/gd-main-icon-view.c b/libgd/gd-main-icon-view.c
index 36df626..1e98d2d 100644
--- a/libgd/gd-main-icon-view.c
+++ b/libgd/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/libgd/gd-main-view-generic.h b/libgd/gd-main-view-generic.h
index bb49956..3f86bcc 100644
--- a/libgd/gd-main-view-generic.h
+++ b/libgd/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,
diff --git a/src/collection-view.vala b/src/collection-view.vala
index 9d5e7a7..18bfa22 100644
--- a/src/collection-view.vala
+++ b/src/collection-view.vala
@@ -17,7 +17,7 @@ private class Boxes.CollectionView: Boxes.UI {
private enum ModelColumns {
SCREENSHOT = Gd.MainColumns.ICON,
- TITLE = Gd.MainColumns.TITLE,
+ TITLE = Gd.MainColumns.PRIMARY_TEXT,
SELECTED = Gd.MainColumns.SELECTED,
ITEM = Gd.MainColumns.LAST,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]