From e1f9cf6b800294ce964765f3332808b0244c4d61 Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 28 Jun 2024 11:58:07 +0000 Subject: [PATCH] fix xdaily error not working in diferente locales that are not English --- iso_configs/pmostools/peptools/xdaily.py | 14 +++++++------- iso_configs/pmostools/peptools/xdaily_functions.py | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/iso_configs/pmostools/peptools/xdaily.py b/iso_configs/pmostools/peptools/xdaily.py index 5d9fef48..f8ba6986 100644 --- a/iso_configs/pmostools/peptools/xdaily.py +++ b/iso_configs/pmostools/peptools/xdaily.py @@ -115,8 +115,8 @@ get_started = ttk.Button(menu_xd_intro, text="Get started", command=lambda:xdaily_functions.manage_updates_tab(main_notebook, output_text, run_task_updates,xd_intro,manage_updates), width=8 ) -get_started.grid(row=1, column=0, ipadx=6.5, ipady=6.5, padx=6.5, - pady=6.5, +get_started.grid(row=1, column=0, ipadx=6, ipady=6, padx=6, + pady=6, sticky='ew' ) pep_docs = ttk.Button(menu_xd_intro, text="Pep Docs", @@ -124,21 +124,21 @@ pep_docs = ttk.Button(menu_xd_intro, text="Pep Docs", command = xdaily_functions.pep_docs, width=8 ) -pep_docs.grid(row=1, column=1, ipadx=6.5, ipady=6.5, padx=6.5, - pady=6.5, sticky='ew' +pep_docs.grid(row=1, column=1, ipadx=6, ipady=6, padx=6, + pady=6, sticky='ew' ) community = ttk.Button(menu_xd_intro, text="Forums", bootstyle="danger", cursor="hand2", command = xdaily_functions.source_forge, width=8 ) -community.grid(row=2, column=0, ipadx=6.5, ipady=6.5, padx=6.5, - pady=6.5, sticky='ew' +community.grid(row=2, column=0, ipadx=6, ipady=6, padx=6, + pady=6, sticky='ew' ) runall = ttk.Button(menu_xd_intro, text="Run all tasks", bootstyle="danger", cursor="hand2", command = xdaily_functions.run_terminal_xdaily, width=8 ) -runall.grid(row=2, column=1, ipadx=6.5, ipady=6.5, padx=6.5, pady=6.5, +runall.grid(row=2, column=1, ipadx=6, ipady=6, padx=6, pady=6, sticky='ew' ) ##################################################### diff --git a/iso_configs/pmostools/peptools/xdaily_functions.py b/iso_configs/pmostools/peptools/xdaily_functions.py index ac12761d..f45b541c 100644 --- a/iso_configs/pmostools/peptools/xdaily_functions.py +++ b/iso_configs/pmostools/peptools/xdaily_functions.py @@ -313,7 +313,7 @@ def currently_pending_updates(xd_intro): tree.insert(type_node, "end", values=(package, "")) tree.set(type_node, "count", str(data["count"])) - tree.pack(expand=True, fill=tk.BOTH, padx=5.7, pady=5.7) + tree.pack(expand=True, fill=tk.BOTH, padx=6, pady=6) def get_update_records():