|
|
#1 |
|
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,379
Karma: 79699999
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,631
Karma: 28549046
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,379
Karma: 79699999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
ah, that makes sense. Thank you.
|
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,853
Karma: 105494725
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 |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Font confusion | JimmyG | Workshop | 7 | 11-15-2014 05:47 PM |
| Format confusion? | chicoelnino | Sony Reader | 8 | 12-01-2010 11:16 AM |
| Confusion | Epuppy | Sony Reader | 9 | 10-19-2010 06:57 AM |