Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:unamanic:unstable
mintmenu
mintmenu-remove_apt_cache.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mintmenu-remove_apt_cache.patch of Package mintmenu
diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index f0cc656..a879df0 100644 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -280,7 +280,7 @@ class pluginclass( object ): self.gconf.notifyAdd( "swap_generic_name", self.changeSwapGenericName ) self.gconf.notifyAdd( "show_category_icons", self.changeShowCategoryIcons ) self.gconf.notifyAdd( "show_application_comments", self.changeShowApplicationComments ) - self.gconf.notifyAdd( "use_apt", self.switchAPTUsage) +# self.gconf.notifyAdd( "use_apt", self.switchAPTUsage) self.gconf.notifyAdd( "fav_cols", self.changeFavCols ) self.gconf.bindGconfEntryToVar( "int", "category_hover_delay", self, "categoryhoverdelay" ) @@ -322,10 +322,10 @@ class pluginclass( object ): self.wTree.get_widget("searchButton").connect( "button-release-event", self.searchPopup ) - def refresh_apt_cache(self): - if self.useAPT: - os.system("mkdir -p %s/.linuxmint/mintMenu/" % home) - os.system("/usr/share/linuxmint/mintMenu/plugins/get_apt_cache.py > %s/.linuxmint/mintMenu/apt.cache &" % home) +# def refresh_apt_cache(self): +# if self.useAPT: +# os.system("mkdir -p %s/.linuxmint/mintMenu/" % home) +# os.system("/usr/share/linuxmint/mintMenu/plugins/get_apt_cache.py > %s/.linuxmint/mintMenu/apt.cache &" % home) def get_panel(self): self.panel = None @@ -414,9 +414,9 @@ class pluginclass( object ): if isinstance( child, FavApplicationLauncher): child.setIconSize( self.faviconsize ) - def switchAPTUsage( self, client, connection_id, entry, args ): - self.useAPT = entry.get_value().get_bool() - self.refresh_apt_cache() +# def switchAPTUsage( self, client, connection_id, entry, args ): +# self.useAPT = entry.get_value().get_bool() +# self.refresh_apt_cache() def changeShowApplicationComments( self, client, connection_id, entry, args ): self.showapplicationcomments = entry.get_value().get_bool() @@ -442,7 +442,7 @@ class pluginclass( object ): self.favoritesPositionOnGrid( fav ) def RegenPlugin( self, *args, **kargs ): - self.refresh_apt_cache() +# self.refresh_apt_cache() # save old config - this is necessary because the app will notified when it sets the default values and you don't want the to reload itself several times oldcategories_mouse_over = self.categories_mouse_over
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