Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gajim/gtk/chat_stack.py')
-rw-r--r--gajim/gtk/chat_stack.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/gajim/gtk/chat_stack.py b/gajim/gtk/chat_stack.py
index 3ff47a7cf..65c163b82 100644
--- a/gajim/gtk/chat_stack.py
+++ b/gajim/gtk/chat_stack.py
@@ -827,13 +827,8 @@ class ChatPlaceholderBox(Gtk.Box):
Gtk.Box.__init__(self, orientation=Gtk.Orientation.VERTICAL,
spacing=18)
self.set_valign(Gtk.Align.CENTER)
- pixbuf = Gtk.IconTheme.load_icon_for_scale(
- Gtk.IconTheme.get_default(),
- 'org.gajim.Gajim-symbolic',
- 100,
- self.get_scale_factor(),
- Gtk.IconLookupFlags.FORCE_SIZE)
- image = Gtk.Image.new_from_pixbuf(pixbuf)
+ image = Gtk.Image.new_from_icon_name(
+ 'org.gajim.Gajim-symbolic', Gtk.IconSize.from_name('100'))
image.get_style_context().add_class('dim-label')
self.add(image)