From 67a4909d3fe359614d77196fe6857e9f1115186b Mon Sep 17 00:00:00 2001 From: kmkom Date: Tue, 17 Jun 2025 17:41:35 +0200 Subject: [PATCH 1/2] Fix MRU settings Initialize the view according to the saved MRU-setting. --- usr/lib/bulky/bulky.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/lib/bulky/bulky.py b/usr/lib/bulky/bulky.py index a10b51f..fb356df 100755 --- a/usr/lib/bulky/bulky.py +++ b/usr/lib/bulky/bulky.py @@ -310,6 +310,11 @@ def __init__(self, application): self.infobar = self.builder.get_object("infobar") self.error_label = self.builder.get_object("error_label") + # Ini "MRU"-view + self.on_operation_changed(self.combo_operation) + self.on_scope_changed(self.combo_scope) + + # Replace widgets self.find_entry = self.builder.get_object("find_entry") self.replace_entry = self.builder.get_object("replace_entry") From ce102c570cfb492621d973518c37a06f8e2f6ec3 Mon Sep 17 00:00:00 2001 From: kmkom Date: Sun, 31 Aug 2025 18:57:21 +0200 Subject: [PATCH 2/2] I had omitted two string translation tags with _(); here they are now. --- usr/lib/bulky/bulky.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/bulky/bulky.py b/usr/lib/bulky/bulky.py index 463d9d4..0d04f4d 100755 --- a/usr/lib/bulky/bulky.py +++ b/usr/lib/bulky/bulky.py @@ -642,9 +642,9 @@ def on_scope_changed(self, widget): def on_widget_change(self, widget): if self.replace_regex_check.get_active(): - self.find_entry.set_placeholder_text("Enter a regular expression; example: .+") + self.find_entry.set_placeholder_text( _("Enter a regular expression; example: .+") ) else: - self.find_entry.set_placeholder_text("Enter a search string; wildcards ? and * are supported.") + self.find_entry.set_placeholder_text( _("Enter a search string; wildcards ? and * allowed.") ) self.preview_changes() def preview_changes(self):