Fix incorrect tray icon scaling

This commit is contained in:
Michael Swiger
2021-07-31 16:14:02 -07:00
parent 28e7a96e37
commit 4f6a9b1bc2
2 changed files with 37 additions and 33 deletions

View File

@ -66,7 +66,9 @@ class Item : public sigc::trackable {
void updateImage();
Glib::RefPtr<Gdk::Pixbuf> extractPixBuf(GVariant* variant);
Glib::RefPtr<Gdk::Pixbuf> getIconPixbuf();
Glib::RefPtr<Gdk::Pixbuf> getIconByName(const std::string& name, int size);
double getScaledIconSize();
static void onMenuDestroyed(Item* self, GObject* old_menu_pointer);
void makeMenu();
bool handleClick(GdkEventButton* const& /*ev*/);