diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-08-26 01:25:58 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-08-26 01:25:58 +0200 |
| commit | 083d757e0afc5a52a669b11fbdcafe5858f90e59 (patch) | |
| tree | 25359f2f53dee4821987f34fd16e0084e825752f | |
| parent | ea06b19e992a33c589723ea0f2788dfdbbc13952 (diff) | |
LauncherIcon: setting text is enough for count, no need accel
(bzr r3844.9.17)
| -rw-r--r-- | launcher/LauncherIcon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/LauncherIcon.cpp b/launcher/LauncherIcon.cpp index 47447d4c9..bd882dda2 100644 --- a/launcher/LauncherIcon.cpp +++ b/launcher/LauncherIcon.cpp @@ -1046,7 +1046,7 @@ BaseTexturePtr LauncherIcon::DrawCountTexture(unsigned count, double scale) pango_layout_set_height(layout, -1); pango_layout_set_wrap(layout, PANGO_WRAP_CHAR); pango_layout_set_ellipsize(layout, PANGO_ELLIPSIZE_MIDDLE); - pango_layout_set_markup_with_accel(layout, std::to_string(count).c_str(), -1, '_', nullptr); + pango_layout_set_text(layout, std::to_string(count).c_str(), -1); PangoRectangle ink_rect; pango_layout_get_pixel_extents(layout, &ink_rect, nullptr); |
