![]() |
#1 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Confusion about UI and _ui.py files
While making a pull request, I did a search on my local copy to check which file to edit.
Alongside look_feel.ui, the string was also found in a look_feel_ui.py which doesn't exist on Github. Is this an older file that was removed and Sourcetree didn't clean up, or is there something else going on? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,384
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The _ui.py files are autogenerated from the .ui files.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,024
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
ah, that makes sense. Thank you.
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,795
Karma: 103362673
Join Date: Apr 2011
Device: pb360
|
.gitignore is a good place to check for autogenerated files. In the case of calibre, line 1 of 57 is:
Code:
*_ui.py |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font confusion | JimmyG | Workshop | 7 | 11-15-2014 04:47 PM |
Format confusion? | chicoelnino | Sony Reader | 8 | 12-01-2010 10:16 AM |
Confusion | Epuppy | Sony Reader | 9 | 10-19-2010 05:57 AM |