Skip to content

Commit

Permalink
Post-merge clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ElSaico committed Jul 22, 2024
1 parent ff35b8d commit 64be73c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 3 additions & 2 deletions myNotebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,18 @@ def paste(self) -> None:
class Entry(EntryMenu):
"""Custom ttk.Entry class to fix some display issues."""

# DEPRECATED: Migrate to EntryMenu. Will remove in 6.0 or later.
def __init__(self, master: ttk.Frame | None = None, **kw):
warnings.warn('Migrate to EntryMenu. Will remove in 6.0 or later.', DeprecationWarning, stacklevel=2)
EntryMenu.__init__(self, master, **kw)
warnings.warn('Migrate to EntryMenu. Will be removed in 6.0 or later', DeprecationWarning, stacklevel=2)


class Button(ttk.Button):
"""Custom ttk.Button class to fix some display issues."""

def __init__(self, master: ttk.Frame | None = None, **kw):
warnings.warn('Migrate to ttk.Button. Will remove in 6.0 or later', DeprecationWarning, stacklevel=2)
ttk.Button.__init__(self, master, **kw)
warnings.warn('Migrate to ttk.Button. Will be removed in 6.0 or later', DeprecationWarning, stacklevel=2)


class ColoredButton(tk.Button):
Expand Down
7 changes: 3 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ requests==2.32.3
pillow==10.3.0
watchdog==4.0.1
simplesystray==0.1.0; sys_platform == 'win32'
semantic-version==2.10.0
# For manipulating folder permissions and the like.
pywin32==306; sys_platform == 'win32'
psutil==5.9.8
winrt-Microsoft.UI==2.1.0; sys_platform == 'win32'
winrt-Microsoft.UI.Interop==2.1.0; sys_platform == 'win32'
winrt-Microsoft.UI.Windowing==2.1.0; sys_platform == 'win32'
winrt-Microsoft.Windows.ApplicationModel.DynamicDependency.Bootstrap==2.1.0.post1; sys_platform == 'win32'
semantic-version==2.10.0
# For manipulating folder permissions and the like.
pywin32==306; sys_platform == 'win32'
psutil==5.9.8

0 comments on commit 64be73c

Please sign in to comment.