From 5461978b1c7365d71cbb0287bb37137769f7b3d4 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 26 Oct 2009 08:32:00 +0000 Subject: reimplemented the folder tree of address bookb UI with GtkTreeView. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2295 ee746299-78ed-0310-b773-934348b2243d --- src/addressitem.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/addressitem.h') diff --git a/src/addressitem.h b/src/addressitem.h index 28a300da..086af47f 100644 --- a/src/addressitem.h +++ b/src/addressitem.h @@ -60,7 +60,7 @@ struct _AddressBook_win { GtkWidget *window; GtkWidget *menubar; - GtkWidget *ctree; + GtkWidget *treeview; GtkWidget *clist; GtkWidget *entry; GtkWidget *statusbar; @@ -79,8 +79,8 @@ struct _AddressBook_win GtkItemFactory *list_factory; GtkItemFactory *menu_factory; - GtkCTreeNode *treeSelected; - GtkCTreeNode *opened; + GtkTreeRowReference *tree_selected; + GtkTreeRowReference *tree_opened; GtkCTreeNode *listSelected; Compose *target_compose; @@ -96,6 +96,8 @@ struct _AddressTypeControlItem { gboolean treeExpand; gboolean treeLeaf; gchar *menuCommand; + GdkPixbuf *icon_pixbuf; + GdkPixbuf *icon_open_pixbuf; GdkPixmap *iconXpm; GdkBitmap *maskXpm; GdkPixmap *iconXpmOpen; @@ -116,7 +118,7 @@ struct _AdapterInterface { AddressTypeControlItem *atci; gboolean enabled; gboolean haveLibrary; - GtkCTreeNode *treeNode; + GtkTreeRowReference *tree_row; }; typedef struct _AdapterDSource AdapterDSource; -- cgit v1.2.3