diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-02-23 03:03:02 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-02-23 03:03:02 -0500 |
commit | 78270889e6fe8a100b07376997858928d5210aaa (patch) | |
tree | 3a8078150a7ea54e46b0deda56b6877fde235ac6 /windows | |
parent | 5406ca7b15e35cb6ebafd7dddbb9fc2e295fae71 (diff) | |
download | abaddon-portaudio-78270889e6fe8a100b07376997858928d5210aaa.tar.gz abaddon-portaudio-78270889e6fe8a100b07376997858928d5210aaa.zip |
use checkmark for verified bot flag
Diffstat (limited to 'windows')
-rw-r--r-- | windows/profilewindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/windows/profilewindow.cpp b/windows/profilewindow.cpp index 332652b..9fada15 100644 --- a/windows/profilewindow.cpp +++ b/windows/profilewindow.cpp @@ -117,7 +117,10 @@ void ProfileWindow::OnFetchProfile(const UserProfileData &data) { if (name == "unknown") continue; Glib::RefPtr<Gdk::Pixbuf> pixbuf; try { - pixbuf = Gdk::Pixbuf::create_from_file("./res/" + name + ".png", 24, 24); + if (name == "verifiedbot") + pixbuf = Gdk::Pixbuf::create_from_file("./res/checkmark.png", 24, 24); + else + pixbuf = Gdk::Pixbuf::create_from_file("./res/" + name + ".png", 24, 24); } catch (const Glib::Exception &e) { pixbuf = Abaddon::Get().GetImageManager().GetPlaceholder(24); } |