mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
0666327137
commit
c89c677cde
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user