slight cosmetic fix to make the treeview look nicer.
2002-03-18 Manish Singh <yosh@gimp.org> * app/gui/preferences-dialog.c: slight cosmetic fix to make the treeview look nicer.
This commit is contained in:

committed by
Manish Singh

parent
09050a7299
commit
81f91377a5
@ -1,3 +1,8 @@
|
||||
2002-03-18 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* app/gui/preferences-dialog.c: slight cosmetic fix to make the
|
||||
treeview look nicer.
|
||||
|
||||
2002-03-18 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/paint/gimppaintoptions.h
|
||||
|
@ -1592,6 +1592,8 @@ preferences_dialog_create (Gimp *gimp)
|
||||
{
|
||||
GtkWidget *tv;
|
||||
GtkTreeStore *tree;
|
||||
GtkTreeViewColumn *column;
|
||||
GtkCellRenderer *cell;
|
||||
GtkTreeSelection *sel;
|
||||
GtkTreeIter top_iter;
|
||||
GtkTreeIter child_iter;
|
||||
@ -1777,15 +1779,17 @@ preferences_dialog_create (Gimp *gimp)
|
||||
|
||||
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tv), FALSE);
|
||||
|
||||
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (tv),
|
||||
0, NULL,
|
||||
gtk_cell_renderer_pixbuf_new (),
|
||||
"pixbuf", 0, NULL);
|
||||
column = gtk_tree_view_column_new ();
|
||||
|
||||
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (tv),
|
||||
1, NULL,
|
||||
gtk_cell_renderer_text_new (),
|
||||
"text", 1, NULL);
|
||||
cell = gtk_cell_renderer_pixbuf_new ();
|
||||
gtk_tree_view_column_pack_start (column, cell, FALSE);
|
||||
gtk_tree_view_column_set_attributes (column, cell, "pixbuf", 0, NULL);
|
||||
|
||||
cell = gtk_cell_renderer_text_new ();
|
||||
gtk_tree_view_column_pack_start (column, cell, TRUE);
|
||||
gtk_tree_view_column_set_attributes (column, cell, "text", 1, NULL);
|
||||
|
||||
gtk_tree_view_append_column (GTK_TREE_VIEW (tv), column);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (frame), tv);
|
||||
|
||||
|
@ -1592,6 +1592,8 @@ preferences_dialog_create (Gimp *gimp)
|
||||
{
|
||||
GtkWidget *tv;
|
||||
GtkTreeStore *tree;
|
||||
GtkTreeViewColumn *column;
|
||||
GtkCellRenderer *cell;
|
||||
GtkTreeSelection *sel;
|
||||
GtkTreeIter top_iter;
|
||||
GtkTreeIter child_iter;
|
||||
@ -1777,15 +1779,17 @@ preferences_dialog_create (Gimp *gimp)
|
||||
|
||||
gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tv), FALSE);
|
||||
|
||||
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (tv),
|
||||
0, NULL,
|
||||
gtk_cell_renderer_pixbuf_new (),
|
||||
"pixbuf", 0, NULL);
|
||||
column = gtk_tree_view_column_new ();
|
||||
|
||||
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (tv),
|
||||
1, NULL,
|
||||
gtk_cell_renderer_text_new (),
|
||||
"text", 1, NULL);
|
||||
cell = gtk_cell_renderer_pixbuf_new ();
|
||||
gtk_tree_view_column_pack_start (column, cell, FALSE);
|
||||
gtk_tree_view_column_set_attributes (column, cell, "pixbuf", 0, NULL);
|
||||
|
||||
cell = gtk_cell_renderer_text_new ();
|
||||
gtk_tree_view_column_pack_start (column, cell, TRUE);
|
||||
gtk_tree_view_column_set_attributes (column, cell, "text", 1, NULL);
|
||||
|
||||
gtk_tree_view_append_column (GTK_TREE_VIEW (tv), column);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (frame), tv);
|
||||
|
||||
|
Reference in New Issue
Block a user