mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Converted objp code to 2-steps instantiation.
--HG-- branch : objp
This commit is contained in:
parent
a699a2ef45
commit
45d4915d88
@ -14,7 +14,8 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
{
|
||||
self = [super initWithWindowNibName:@"DetailsPanel"];
|
||||
[self window]; //So the detailsTable is initialized.
|
||||
py = createPyWrapper(@"PyDetailsPanel", @"details_panel", @"DetailsPanelView", self);
|
||||
py = [[PyDetailsPanel alloc] initWithModel:findHackishModel(@"details_panel")];
|
||||
[py bindCallback:createCallback(@"DetailsPanelView", self)];
|
||||
[py connect];
|
||||
return self;
|
||||
}
|
||||
|
@ -15,7 +15,8 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
self = [super initWithWindowNibName:@"ExtraFairwareReminder"];
|
||||
[self window];
|
||||
[continueButton setEnabled:NO];
|
||||
py = createPyWrapper(@"PyExtraFairwareReminder", @"extra_fairware_reminder", @"ExtraFairwareReminderView", self);
|
||||
py = [[PyExtraFairwareReminder alloc] initWithModel:findHackishModel(@"extra_fairware_reminder")];
|
||||
[py bindCallback:createCallback(@"ExtraFairwareReminderView", self)];
|
||||
return self;
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,8 @@ http://www.hardcoded.net/licenses/bsd_license
|
||||
{
|
||||
self = [self init];
|
||||
view = [aLabelView retain];
|
||||
py = createPyWrapper(@"PyStatsLabel", @"stats_label", @"StatsLabelView", self);
|
||||
py = [[PyStatsLabel alloc] initWithModel:findHackishModel(@"stats_label")];
|
||||
[py bindCallback:createCallback(@"StatsLabelView", self)];
|
||||
[[self py] connect];
|
||||
return self;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user