Skip to content

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

Merged
gsemet merged 4 commits into
Guake:masterfrom
Davidy22:Tabbar
Sep 16, 2021
Merged

feat:Add hide tab bar when only one tab option#1873
gsemet merged 4 commits into
Guake:masterfrom
Davidy22:Tabbar

Conversation

@Davidy22

Copy link
Copy Markdown
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
@Davidy22
Davidy22 requested a review from mlouielu September 9, 2021 02:51
@mlouielu

mlouielu commented Sep 9, 2021

Copy link
Copy Markdown
Collaborator

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

Comment thread guake/notebook.py Outdated
Comment thread guake/notebook.py
@Davidy22

Davidy22 commented Sep 9, 2021

Copy link
Copy Markdown
Collaborator Author

Pushed changes to address review, can do test cases later

@Davidy22

Copy link
Copy Markdown
Collaborator Author

a real quick test case added in

@mlouielu

Copy link
Copy Markdown
Collaborator

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

Comment thread guake/tests/test_guake.py
Comment thread guake/tests/test_guake.py
@Davidy22

Copy link
Copy Markdown
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

gsemet commented Sep 16, 2021

Copy link
Copy Markdown
Member

Can you tell me if this PR is still relevant?

@Davidy22

Davidy22 commented Sep 16, 2021

Copy link
Copy Markdown
Collaborator Author

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
Copy Markdown
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