Bug 571697 - SLR Transaction Status needs to look clickable

Add a pixbuf cell renderer to the existing cell renderer for the status
column with the 'pan-down-symbolic" icon.
This commit is contained in:
Robert Fewell 2020-09-28 16:17:27 +01:00
parent 0666327137
commit c89c677cde

View File

@ -1015,6 +1015,16 @@ gnc_ui_sx_since_last_run_dialog (GtkWindow *parent, GncSxInstanceModel *sx_insta
"editable", SLR_MODEL_COL_INSTANCE_STATE_SENSITIVITY,
"sensitive", SLR_MODEL_COL_INSTANCE_STATE_SENSITIVITY,
NULL);
renderer = gtk_cell_renderer_pixbuf_new ();
g_object_set (G_OBJECT(renderer),
"icon-name", "pan-down-symbolic",
NULL);
gtk_tree_view_column_pack_end (col, renderer, FALSE);
gtk_tree_view_column_set_attributes (col, renderer,
"visible", SLR_MODEL_COL_INSTANCE_VISIBILITY,
"sensitive", SLR_MODEL_COL_INSTANCE_STATE_SENSITIVITY,
NULL);
gtk_tree_view_append_column(dialog->instance_view, col);
gtk_tree_view_column_set_resizable(col, TRUE);