add an option "flat_button" which acts in a similar way to the same option in xfce-panel's tasklist plugin#95
Closed
jpleau wants to merge 1 commit intogottcode:masterfrom
jpleau:flatbutton
Closed
add an option "flat_button" which acts in a similar way to the same option in xfce-panel's tasklist plugin#95jpleau wants to merge 1 commit intogottcode:masterfrom jpleau:flatbutton
jpleau wants to merge 1 commit intogottcode:masterfrom
jpleau:flatbutton
Conversation
Owner
|
I'm sorry, I will not be merging this. However, I have added a widget name for the panel button itself ("whiskermenu-button") with commit 1caf5fb; you should now be able to theme the git verion's panel button however you like. |
Author
|
This option does not allow me to theme the button, as it does not draw my background (with pixmap engine) when the button's state is NORMAL (because of GTK_RELIEF_NONE) I'm fine with you not merging since it's not an option that a lot of people would use, thanks for the quick reply. |
gottcode
added a commit
that referenced
this pull request
Feb 3, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The single reason why I needed this was I was trying to theme the button that whiskermenu adds to the panel.
I was trying to add a transparent png with the pixmap engine, and thus needed to theme "state = NORMAL", however it was hard-coded as GTK_RELIEF_NONE. Rather than just changing the value manually in the code, I added a single checkbox next to the Display options for the icon.
Checking it sets the button's relief to GTK_RELIEF_NONE (by default, and that's the current setting)
Unchecking it sets the button's relief to GTK_RELIEF_NORMAL