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

feat:Add hide tab bar when only one tab option #1873

Merged
merged 4 commits into from
Sep 16, 2021
Merged

feat:Add hide tab bar when only one tab option #1873

merged 4 commits into from
Sep 16, 2021

Conversation

Davidy22
Copy link
Collaborator

Also tied hide tab bar to some related menu options.

Resolves #924 and potentially other related issues

@Davidy22 Davidy22 changed the title Add hide tab bar when only one tab option feat:Add hide tab bar when only one tab option Sep 7, 2021
@mlouielu
Copy link
Collaborator

mlouielu commented Sep 9, 2021

Would you like to add unit test (at least to test preference) for this?

guake/notebook.py Outdated Show resolved Hide resolved
guake/notebook.py Show resolved Hide resolved
@Davidy22
Copy link
Collaborator Author

Davidy22 commented Sep 9, 2021

Pushed changes to address review, can do test cases later

@Davidy22
Copy link
Collaborator Author

a real quick test case added in

@mlouielu
Copy link
Collaborator

Consider to consist the tag name and function name, maybe hide-tab-bar-if-only-one-tab

@Davidy22
Copy link
Collaborator Author

Alright I renamed it to be a little closer to how I called it in the option.

Also tied hide tab bar to some related menu options.
Remove translation section because  irrelevant and breaks checks and I apparently don't know how to format it
@gsemet
Copy link
Member

gsemet commented Sep 16, 2021

Can you tell me if this PR is still relevant?

@Davidy22
Copy link
Collaborator Author

Davidy22 commented Sep 16, 2021

Still works as intended, there might be a merge conflict in prefs.glade because other things that change preferences layout have been merged since this was created but I'm otherwise a go to have this finally merged if there's no merge conflict.

@mlouielu mlouielu self-requested a review September 16, 2021 12:09
@mlouielu
Copy link
Collaborator

LGTM, #1896 can wait on this.

@gsemet gsemet merged commit 709038b into Guake:master Sep 16, 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.

show tab bar only when it's needed
3 participants