From 955b9239b9eac748d3e5ac4dc56864c906c81393 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 8 Aug 2022 00:40:20 -0400 Subject: hide browse icon when not in channel with perms --- src/components/chatinput.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/chatinput.hpp') diff --git a/src/components/chatinput.hpp b/src/components/chatinput.hpp index f6c4358..807f958 100644 --- a/src/components/chatinput.hpp +++ b/src/components/chatinput.hpp @@ -103,6 +103,9 @@ public: // not proxying everythign lol!! ChatInputText &Get(); + void ShowChooserIcon(); + void HideChooserIcon(); + private: void ShowFileChooser(); bool GetChildPosition(Gtk::Widget *child, Gdk::Rectangle &pos); -- cgit v1.2.3