Comments (8)
Thaks for report.
It seems not a big issue:
- the Gtk.MenuItem(()) shold be Gtk.MenuItem(label=()) and
- set_icon - > set_icon_full
I'll fix it soon.
from yandex-disk-indicator.
... or You can do it yourself - any push requests are appreciated!
from yandex-disk-indicator.
=) you meant pull requests. I will do this!
This warnings were detected when workaround about absence of indicator icon in system tray. It shows the standard system icon in the tray and doesn't changes after calling:
self.ind.set_icon(self.icon[status]) in updateIcon(self, status) function.
I was trying to change self.ind.set_icon(self.icon[status]) to self.ind.set_icon_full(self.icon[status], "") but no success. May be missing some packages, but no other warnings...
from yandex-disk-indicator.
Have you fixed the issue with absence of indicator icon in system tray?
What was a problem?
from yandex-disk-indicator.
Проблему решить не удалось. Вместо летающей тарелки показывается шестеренка. Индикатор не меняется в зависимости от состояния. Всегда показывается шестерёнка. После установки почему-то не было файлов иконок в папке .config/yd-tools.. Но даже после ручного их туда добавления проблема не решилась. Немного подебажил, все пути правильные. Функция self.ind.set_icon(self.icon[status]) не меняет индикатор. Хотя она вызывается и ей передается правильный путь к существующим файлам. Может пакетов каких-то не хватает и поэтому AppIndicator3 не правильно интерпретируется системой?
Problem is not solved. There is a gear instead of UFO. Indicator is not changing depends on condition. Gear is always shown. There was no icons in .config/yd-tools.. folder after installation. But problem doesn't solve even after manual copy. Debug revealed that all paths are correct. self.ind.set_icon(self.icon[status]) function doesn't change the indicator however it passed the correct paths to existed files. Maybe I am missing some packages and that's caused AppIndicator3 wrongly interpreted by the system?
from yandex-disk-indicator.
В папке ~/.config/yd-tools/icons/ после установки иконок и не должно быть. Стандартные ставятся в /usr/share/yd-tools/icons/, а в ~/.config/yd-tools/icons/ можно сохранить свои, кастомизированные.
По идее почти все картинки в GTK (по крайней мере иконки) рисуются через PixBuffer, и уже он должен отрисовывать или ругаться если ему не найти чем отрисовывать. Но в деталях что там может не хватать я не копался. В моих экспериментах шестренки выскакивали только при несуществующих путях отданных в set_icon или неподдерживаемых форматов изображений (я пробовал анимированный GIF туда подсунуть).
from yandex-disk-indicator.
Штатные либы для прорисовки через PixBuff лежат всей кучей (практически для всех видов изображений) в пакете libgdk-pixbuf, который должен быть прописан (каскадно) в зависимостях GTK.
from yandex-disk-indicator.
Это закрою.
Все Deprecated методы убрал.
from yandex-disk-indicator.
Related Issues (20)
- Не запускается синхронизация HOT 3
- No icon In KDE Plasma on Wayland at startup HOT 8
- Typo in README.md
- Не запускается индикатор HOT 3
- Indicator doesn't start HOT 3
- Выгрузка файлов HOT 1
- Start Yandex.Disk daemon doesn't work. Error: daemon not started HOT 5
- Sometimes two instances of the yandex-disk-indicator are started HOT 26
- Ability to choose folder to exclude folders not from local storage but from Yandex.Disk HOT 6
- Thunar - не скопировал в буфер обмена ссылку, хотя и разместил. HOT 1
- Authorization by one-time password and qr code HOT 2
- Indicator doesn't start in Debian 12 HOT 3
- Wrong title of the indicator in KDE tray HOT 4
- can't add ppa:slytomcat/ppa repository HOT 6
- gir1.2-appindicator3-0.1 | gir1.2-ayatanaappindicator3-0.1 HOT 2
- релиз актуальной версии HOT 1
- Статус: Ошибка: resource blocked 'Документы/MyData.hc' HOT 1
- Ошибка работы настроек сервиса Яндекс Диск HOT 2
- It don't work on Kubuntu with sync error HOT 4
- Can not add ppa on Ubuntu 24.04 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yandex-disk-indicator.