diff options
-rwxr-xr-x | userdrake | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -227,9 +227,9 @@ foreach ([ N("Add User"), N("Add a user to the system"), 'user_add', \&AddUser ] [ N("Delete"), N("Delete selected row"), 'user_del', \&Delete ], [ N("Refresh"), N("Refresh the list"), 'refresh', sub { Refresh($sysfilter, $stringsearch) } ]) { - my $t = $toolb->append_item($_->[0], $_->[1], $_->[2], - Gtk3::Image->new_from_file($pixdir . $_->[2] . '.png'), - $_->[3], $toolb); + my $t = gtknew('ToolButton', label => $_->[0], tooltip => $_->[1], file => $pixdir . $_->[2] . '.png', + clicked => $_->[3]); + $toolb->insert($t, -1); push(@toolbwg, $t); # $toolb->append_space; } |