diff options
author | 2010-01-02 20:29:01 +0100 | |
---|---|---|
committer | 2010-01-02 20:29:01 +0100 | |
commit | 9594683d934a21462640943eff59365596bde33f (patch) | |
tree | 3d94605d21ce1eef4b27ea2a1393323a30b2b134 /plugins/gtkui/callbacks.c | |
parent | 896d486711b3bdfee8c7317cdb1f28bd078bc614 (diff) |
update hscroll on add/remove columns
Diffstat (limited to 'plugins/gtkui/callbacks.c')
-rw-r--r-- | plugins/gtkui/callbacks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gtkui/callbacks.c b/plugins/gtkui/callbacks.c index b2b5dc19..18ea6c58 100644 --- a/plugins/gtkui/callbacks.c +++ b/plugins/gtkui/callbacks.c @@ -1765,6 +1765,7 @@ on_add_column_activate (GtkMenuItem *menuitem, id = -1; } gtkpl_column_insert_before (ps, ps->active_column, gtkpl_column_alloc (title, 100, id, format, align)); + gtkpl_setup_hscrollbar (ps); gtkpl_header_draw (ps); gtkpl_expose_header (ps, 0, 0, ps->header->allocation.width, ps->header->allocation.height); @@ -1831,6 +1832,7 @@ on_remove_column_activate (GtkMenuItem *menuitem, gtkpl_column_remove (ps, ps->active_column); + gtkpl_setup_hscrollbar (ps); gtkpl_header_draw (ps); gtkpl_expose_header (ps, 0, 0, ps->header->allocation.width, ps->header->allocation.height); |