Skip to content

Instantly share code, notes, and snippets.

@Naereen
Last active February 15, 2025 16:51
Show Gist options
  • Save Naereen/b4dd0ec5a67205d5ad1c078c1a693238 to your computer and use it in GitHub Desktop.
Save Naereen/b4dd0ec5a67205d5ad1c078c1a693238 to your computer and use it in GitHub Desktop.
Changes to perform on /usr/bin/gmusicbrowser to fix that nasty bug
# line 4370/10259
# DEBUG: @Naereen changed from this line, to that line
# redo if grep $_, @toobig;
redo if $_ && grep $_, @toobig;
# https://github.com/squentin/gmusicbrowser/issues/253#issuecomment-2043706563
# /usr/share/gmusicbrowser/gmusicbrowser_list.pm
# DEBUG: @Naereen changed from this line, to that line
# if (my $r=$opt->{relief}) { $self->{$_}->set_relief($r) for qw/brm bclear bup bdown btop bbot bshuffle/; }
if (my $r=$opt->{relief}) { $self->{$_}->set_relief($r) for qw/bshuffle brm bclear bup bdown btop bbot/; }
# DEBUG: @Naereen changed from this line, to that line
# $self->pack_start($self->{$_},FALSE,FALSE,2) for qw/btop bup bdown bbot brm bclear bshuffle/;
$self->pack_start($self->{$_},FALSE,FALSE,2) for qw/bshuffle btop bup bdown bbot brm bclear/;
@Naereen
Copy link
Author

Naereen commented Feb 15, 2025

@Naereen
Copy link
Author

Naereen commented Feb 15, 2025

The second couple of changes is here to have the "SHUFFLE" (bshuffle) button on the most left position on the line of buttons, in order to easily shuffle the current playlist (having it close to the "CLEAR" (bclear) button was kinda dumb, I clicked wrongly most of the time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment