[pitivi] render: YouTube icon position fix
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] render: YouTube icon position fix
- Date: Mon, 10 Aug 2020 12:11:23 +0000 (UTC)
commit e186bc444caac30fdfc7a658640179e4fea744c4
Author: Ayush Mittal <ayush mittal9398 gmail com>
Date: Mon Aug 10 17:14:12 2020 +0530
render: YouTube icon position fix
pitivi/render.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/pitivi/render.py b/pitivi/render.py
index 8cf20874..ba0f42e7 100644
--- a/pitivi/render.py
+++ b/pitivi/render.py
@@ -77,6 +77,8 @@ def set_icon_and_title(icon, title, preset_item, icon_size=Gtk.IconSize.DND):
title.set_xalign(0)
title.set_yalign(0)
+ icon.props.valign = Gtk.Align.START
+
if icon_name in icon_files:
icon_filename = icon_files[icon_name]
icon_path = os.path.join(configure.get_pixmap_dir(), "presets", icon_filename)
@@ -90,7 +92,6 @@ def set_icon_and_title(icon, title, preset_item, icon_size=Gtk.IconSize.DND):
icon_name = icon_names.get(icon_name, "applications-multimedia-symbolic")
icon.set_from_icon_name(icon_name, icon_size)
- icon.props.valign = Gtk.Align.START
class PresetItem(GObject.Object):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]