Removed suggestion about portal
This commit is contained in:
parent
c79299a9c1
commit
8ce2e2aa1e
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
mintmenu (4.9.8) isadora; urgency=low
|
||||||
|
|
||||||
|
* Removed suggestion "search in portal"
|
||||||
|
|
||||||
|
-- Clement Lefebvre <root@linuxmint.com> Sat, 01 May 2010 13:07:00 +0000
|
||||||
|
|
||||||
mintmenu (4.9.7) isadora; urgency=low
|
mintmenu (4.9.7) isadora; urgency=low
|
||||||
|
|
||||||
* Imported fixes from icius on editing favorites
|
* Imported fixes from icius on editing favorites
|
||||||
|
@ -323,12 +323,12 @@ class pluginclass( object ):
|
|||||||
|
|
||||||
#sizeIcon = gtk.icon_size_lookup( sizeIcon )
|
#sizeIcon = gtk.icon_size_lookup( sizeIcon )
|
||||||
|
|
||||||
self.suggestSearchAppButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
|
#self.suggestSearchAppButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
|
||||||
self.suggestSearchButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
|
self.suggestSearchButton = SuggestionButton(gtk.STOCK_FIND, self.iconSize, "")
|
||||||
self.suggestShowButton = SuggestionButton(gtk.STOCK_INFO, self.iconSize, "")
|
self.suggestShowButton = SuggestionButton(gtk.STOCK_INFO, self.iconSize, "")
|
||||||
self.suggestInstallButton = SuggestionButton(gtk.STOCK_ADD, self.iconSize, "")
|
self.suggestInstallButton = SuggestionButton(gtk.STOCK_ADD, self.iconSize, "")
|
||||||
|
|
||||||
self.suggestSearchAppButton.connect("clicked", self.search_mint)
|
#self.suggestSearchAppButton.connect("clicked", self.search_mint)
|
||||||
self.suggestSearchButton.connect("clicked", self.search_apt)
|
self.suggestSearchButton.connect("clicked", self.search_apt)
|
||||||
self.suggestShowButton.connect("clicked", self.show_apt)
|
self.suggestShowButton.connect("clicked", self.show_apt)
|
||||||
self.suggestInstallButton.connect("clicked", self.install_apt)
|
self.suggestInstallButton.connect("clicked", self.install_apt)
|
||||||
@ -427,7 +427,7 @@ class pluginclass( object ):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
self.suggestSearchAppButton.set_icon_size( self.iconSize )
|
#self.suggestSearchAppButton.set_icon_size( self.iconSize )
|
||||||
self.suggestSearchButton.set_icon_size( self.iconSize )
|
self.suggestSearchButton.set_icon_size( self.iconSize )
|
||||||
self.suggestShowButton.set_icon_size( self.iconSize )
|
self.suggestShowButton.set_icon_size( self.iconSize )
|
||||||
self.suggestInstallButton.set_icon_size( self.iconSize )
|
self.suggestInstallButton.set_icon_size( self.iconSize )
|
||||||
@ -608,7 +608,7 @@ class pluginclass( object ):
|
|||||||
|
|
||||||
start = time.time()
|
start = time.time()
|
||||||
#print "FILTER"
|
#print "FILTER"
|
||||||
self.applicationsBox.remove(self.suggestSearchAppButton)
|
#self.applicationsBox.remove(self.suggestSearchAppButton)
|
||||||
self.applicationsBox.remove(self.suggestSearchButton)
|
self.applicationsBox.remove(self.suggestSearchButton)
|
||||||
self.applicationsBox.remove(self.suggestShowButton)
|
self.applicationsBox.remove(self.suggestShowButton)
|
||||||
self.applicationsBox.remove(self.suggestInstallButton)
|
self.applicationsBox.remove(self.suggestInstallButton)
|
||||||
@ -628,9 +628,9 @@ class pluginclass( object ):
|
|||||||
if (not showns and os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg")):
|
if (not showns and os.path.exists("/usr/lib/linuxmint/mintInstall/icon.svg")):
|
||||||
self.suggestion = text
|
self.suggestion = text
|
||||||
|
|
||||||
self.applicationsBox.add(self.suggestSearchAppButton)
|
#self.applicationsBox.add(self.suggestSearchAppButton)
|
||||||
self.suggestSearchAppButton.set_text(_("Search portal for '%s'") % text)
|
#self.suggestSearchAppButton.set_text(_("Search portal for '%s'") % text)
|
||||||
self.suggestSearchAppButton.set_tooltip_text(_("Search portal for '%s'") % text)
|
#self.suggestSearchAppButton.set_tooltip_text(_("Search portal for '%s'") % text)
|
||||||
|
|
||||||
self.applicationsBox.add(self.suggestSearchButton)
|
self.applicationsBox.add(self.suggestSearchButton)
|
||||||
self.suggestSearchButton.set_text(_("Search repositories for '%s'") % text)
|
self.suggestSearchButton.set_text(_("Search repositories for '%s'") % text)
|
||||||
|
Loading…
Reference in New Issue
Block a user