[gnome-tweak-tool] Fix a couple more instances of positional arguments on constructors
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Fix a couple more instances of positional arguments on constructors
- Date: Thu, 18 Sep 2014 14:56:16 +0000 (UTC)
commit 0b64d3a7d296ff2b28920de184cabe8b36051070
Author: Rui Matos <tiagomatos gmail com>
Date: Thu Sep 18 16:49:52 2014 +0200
Fix a couple more instances of positional arguments on constructors
gtweak/tweaks/tweak_group_startup.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_startup.py b/gtweak/tweaks/tweak_group_startup.py
index 7bf81a9..cc3ff5b 100644
--- a/gtweak/tweaks/tweak_group_startup.py
+++ b/gtweak/tweaks/tweak_group_startup.py
@@ -85,7 +85,7 @@ class _AppChooser(Gtk.Dialog):
img.props.hexpand = False
else:
img = None #attach_next_to treats this correctly
- lbl = Gtk.Label(a.get_name(), xalign=0)
+ lbl = Gtk.Label(label=a.get_name(), xalign=0)
g.attach_next_to(lbl,img,Gtk.PositionType.RIGHT,1,1)
lbl.props.hexpand = True
lbl.props.halign = Gtk.Align.START
@@ -93,7 +93,7 @@ class _AppChooser(Gtk.Dialog):
lbl.props.valign = Gtk.Align.CENTER
if extra:
g.attach_next_to(
- Gtk.Label(extra),
+ Gtk.Label(label=extra),
lbl,Gtk.PositionType.RIGHT,1,1)
row.add(g)
#row.get_style_context().add_class('tweak-white')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]