mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 16:02:43 +01:00 
			
		
		
		
	image module CSS fix
This commit is contained in:
		| @@ -7,6 +7,7 @@ | ||||
| #include <string> | ||||
|  | ||||
| #include "ALabel.hpp" | ||||
| #include "gtkmm/box.h" | ||||
| #include "util/command.hpp" | ||||
| #include "util/json.hpp" | ||||
| #include "util/sleeper_thread.hpp" | ||||
| @@ -15,7 +16,7 @@ namespace waybar::modules { | ||||
|  | ||||
| class Image : public AModule { | ||||
|  public: | ||||
|   Image(const std::string&, const std::string&, const Json::Value&); | ||||
|   Image(const std::string&, const Json::Value&); | ||||
|   auto update() -> void; | ||||
|   void refresh(int /*signal*/); | ||||
|  | ||||
| @@ -23,6 +24,7 @@ class Image : public AModule { | ||||
|   void delayWorker(); | ||||
|   void handleEvent(); | ||||
|  | ||||
|   Gtk::Box box_; | ||||
|   Gtk::Image image_; | ||||
|   std::string path_; | ||||
|   int size_; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Brent George
					Brent George