Removed invisible widgets from coloring
This commit is contained in:
parent
0feb06e795
commit
0aebbc46d2
@ -268,7 +268,7 @@ class pluginclass( object ):
|
|||||||
self.content_holder =self.builder.get_object( "Applications" )
|
self.content_holder =self.builder.get_object( "Applications" )
|
||||||
|
|
||||||
# Items to get custom colors
|
# Items to get custom colors
|
||||||
self.itemstocolor = [self.builder.get_object( "viewport1" ),self.builder.get_object( "viewport2" ),self.builder.get_object( "viewport3" ),self.builder.get_object( "notebook2" ) ]
|
self.itemstocolor = [self.builder.get_object( "viewport1" ),self.builder.get_object( "viewport2" ),self.builder.get_object( "viewport3" ) ]
|
||||||
|
|
||||||
# Unset all timers
|
# Unset all timers
|
||||||
self.filterTimer = None
|
self.filterTimer = None
|
||||||
@ -640,7 +640,6 @@ class pluginclass( object ):
|
|||||||
separator.set_visible_window(False)
|
separator.set_visible_window(False)
|
||||||
separator.set_size_request(-1, 20)
|
separator.set_size_request(-1, 20)
|
||||||
separator.type = "separator"
|
separator.type = "separator"
|
||||||
self.mintMenuWin.SetPaneColors( [ separator ] )
|
|
||||||
separator.show_all()
|
separator.show_all()
|
||||||
self.applicationsBox.add(separator)
|
self.applicationsBox.add(separator)
|
||||||
self.suggestions.append(separator)
|
self.suggestions.append(separator)
|
||||||
@ -719,7 +718,6 @@ class pluginclass( object ):
|
|||||||
last_separator.set_visible_window(False)
|
last_separator.set_visible_window(False)
|
||||||
last_separator.set_size_request(-1, 20)
|
last_separator.set_size_request(-1, 20)
|
||||||
last_separator.type = "separator"
|
last_separator.type = "separator"
|
||||||
self.mintMenuWin.SetPaneColors( [ last_separator ] )
|
|
||||||
last_separator.show_all()
|
last_separator.show_all()
|
||||||
self.applicationsBox.add(last_separator)
|
self.applicationsBox.add(last_separator)
|
||||||
self.suggestions.append(last_separator)
|
self.suggestions.append(last_separator)
|
||||||
@ -775,7 +773,6 @@ class pluginclass( object ):
|
|||||||
last_separator.set_visible_window(False)
|
last_separator.set_visible_window(False)
|
||||||
last_separator.set_size_request(-1, 20)
|
last_separator.set_size_request(-1, 20)
|
||||||
last_separator.type = "separator"
|
last_separator.type = "separator"
|
||||||
self.mintMenuWin.SetPaneColors( [ last_separator ] )
|
|
||||||
last_separator.show_all()
|
last_separator.show_all()
|
||||||
self.applicationsBox.add(last_separator)
|
self.applicationsBox.add(last_separator)
|
||||||
self.suggestions.append(last_separator)
|
self.suggestions.append(last_separator)
|
||||||
@ -1351,7 +1348,6 @@ class pluginclass( object ):
|
|||||||
space.connect( "button_release_event", self.favPopup )
|
space.connect( "button_release_event", self.favPopup )
|
||||||
space.type = "space"
|
space.type = "space"
|
||||||
|
|
||||||
self.mintMenuWin.SetPaneColors( [ space ] )
|
|
||||||
space.show()
|
space.show()
|
||||||
|
|
||||||
return space
|
return space
|
||||||
@ -1361,7 +1357,6 @@ class pluginclass( object ):
|
|||||||
separator.set_size_request( -1, 20 )
|
separator.set_size_request( -1, 20 )
|
||||||
separator.type = "separator"
|
separator.type = "separator"
|
||||||
|
|
||||||
self.mintMenuWin.SetPaneColors( [ separator ] )
|
|
||||||
separator.show_all()
|
separator.show_all()
|
||||||
box = Gtk.EventBox()
|
box = Gtk.EventBox()
|
||||||
box.type = "separator"
|
box.type = "separator"
|
||||||
|
Loading…
Reference in New Issue
Block a user