Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logwindow search/filter #326

Closed
wants to merge 4 commits into from
Closed

Fix logwindow search/filter #326

wants to merge 4 commits into from

Conversation

JorisHansMeijer
Copy link

Fix the filter option for the log window (rabbitvcs log).

Fix call to get_text, it has 3 parameters now
Fix the can focus property of the search box in the log window
The font color was always set to black, even when using the os dark theme. However in this case the text was no longer readable.
Fix text color when activating the os dark theme
@@ -191,7 +195,7 @@ def on_refresh_clicked(self, widget):

def on_search(self, widget):
tb = self.get_widget("search_buffer")
self.filter_text = tb.get_text(tb.get_start_iter(), tb.get_end_iter()).lower()
self.filter_text = tb.get_text(tb.get_start_iter(), tb.get_end_iter(),0).lower()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing a space between comma and 0

@CloCkWeRX CloCkWeRX closed this Apr 28, 2021
@CloCkWeRX
Copy link
Member

Doh, clicked the wrong button. Could you rebase this off current master; to avoid merging in extra fixes around dark mode?

@CloCkWeRX CloCkWeRX mentioned this pull request Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants