Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ugly indicator icon status & "About" window icon #131

Open
fahrud26 opened this issue Dec 1, 2017 · 2 comments
Open

Ugly indicator icon status & "About" window icon #131

fahrud26 opened this issue Dec 1, 2017 · 2 comments

Comments

@fahrud26
Copy link

fahrud26 commented Dec 1, 2017

Is there any option to disable "indicator icon status"? its looks ugly. My desktop is XFCE Manjaro.
screenshot_2017-12-01_22-22-57

@fahrud26
Copy link
Author

Here's my soution:

  • Edit "gui.py" at path "/usr/lib/python3.6/site-packages/blockify/" with your text editor (gedit, geany, etc.)
    $ sudo geany /usr/lib/python3.6/site-packages/blockify/gui.py

  • Now go to line 230 and 231, you will see code like this:
    self.blue_icon_buf = pixbuf_blue.scale_simple(16, 16, GdkPixbuf.InterpType.BILINEAR) self.red_icon_buf = pixbuf_red.scale_simple(16, 16, GdkPixbuf.InterpType.BILINEAR)

Change the code like this:
self.blue_icon_buf = pixbuf_blue.scale_simple(32, 32, GdkPixbuf.InterpType.BILINEAR) self.red_icon_buf = pixbuf_red.scale_simple(32, 32, GdkPixbuf.InterpType.BILINEAR)

  • Last step, replacing icon files with my attach files:
    sudo cp icon-blue-32.png /usr/lib/python3.6/site-packages/blockify/data/icon-blue-32.png
    sudo cp icon-red-32.png /usr/lib/python3.6/site-packages/blockify/data/icon-red-32.png
    icon-blue-32
    icon-red-32

@FFY00
Copy link
Contributor

FFY00 commented Jan 5, 2018

I made a cleaner fix. The icon should be resized acording to the gtk gui configurations.

https://github.com/FFY00/blockify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants