Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions usr/lib/bulky/bulky.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,10 @@ def on_scope_changed(self, widget):
self.preview_changes()

def on_widget_change(self, widget):
if self.replace_regex_check.get_active():
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.preview_changes()

def preview_changes(self):
Expand Down
4 changes: 2 additions & 2 deletions usr/share/bulky/bulky.ui
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="hexpand">True</property>
<property name="placeholder-text" translatable="yes">Use %n, %0n, %00n, %000n to enumerate.</property>
<property name="placeholder-text" translatable="yes">Use %n, %0n, %00n, etc. to enumerate.</property>
</object>
<packing>
<property name="left-attach">1</property>
Expand Down Expand Up @@ -489,7 +489,7 @@
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="hexpand">True</property>
<property name="placeholder-text" translatable="yes">Use %n, %0n, %00n, %000n to enumerate.</property>
<property name="placeholder-text" translatable="yes">Use %n, %0n, %00n, etc. to enumerate.</property>
</object>
<packing>
<property name="left-attach">1</property>
Expand Down