Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ykoba:Current_Leap
mate-menu
fix-show-icon-button.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-show-icon-button.patch of Package mate-menu
--- ./lib/mate-menu.py.orig 2022-03-25 07:32:01.000000000 +0900 +++ ./lib/mate-menu.py 2023-06-10 02:19:31.825550302 +0900 @@ -517,6 +517,10 @@ return True def do_load_icon(self, icon_name): + if self.hideIcon: + self.button_icon.hide() + else: + self.button_icon.show() icon_theme = Gtk.IconTheme.get_default() icon_size = self.applet.get_size() - 8 scale_factor = self.button_icon.get_scale_factor() @@ -638,12 +642,12 @@ about.set_program_name("Advanced MATE Menu") about.set_version(__VERSION__) about.set_comments( _("An Advanced Menu for the MATE Desktop") ) - icon_theme = Gtk.IconTheme.get_default () - pixbuf = icon_theme.load_icon ( self.icon, 256, 0 ) + icon_theme = Gtk.IconTheme.get_default() + pixbuf = icon_theme.load_icon( self.icon, 256, 0 ) if pixbuf: - about.set_logo ( pixbuf ) + about.set_logo( pixbuf ) else: - about.set_logo_icon_name ( self.icon ) + about.set_logo_icon_name( self.icon ) about.connect( "response", lambda dialog, r: dialog.destroy() ) about.show()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor