* src/FilterEditor/_EditRule.py: Change Media to MediaObject;
(__init__): Work with empty filter names (new filter). svn: r7238
This commit is contained in:
parent
be73b68ca5
commit
266d796333
@ -18,7 +18,8 @@
|
||||
* src/DisplayState.py (DisplayState.__signals__): Register
|
||||
'filters-changed' signal.
|
||||
* src/FilterEditor/_ShowResults.py: Change Media to MediaObject.
|
||||
* src/FilterEditor/_EditRule.py: Change Media to MediaObject.
|
||||
* src/FilterEditor/_EditRule.py: Change Media to MediaObject;
|
||||
(__init__): Work with empty filter names (new filter).
|
||||
* src/FilterEditor/_FilterEditor.py (close): Emit 'filters-changed'.
|
||||
* src/Filters/SideBar/*py: Take uistate and connect to the
|
||||
'filters-changed' signal.
|
||||
|
@ -149,7 +149,7 @@ class MyFilters(gtk.ComboBox):
|
||||
self.flist.sort()
|
||||
|
||||
for fname in self.flist:
|
||||
if filter_name.strip() and (fname != filter_name):
|
||||
if fname != filter_name:
|
||||
store.append(row=[fname])
|
||||
self.set_active(0)
|
||||
self.show()
|
||||
|
Loading…
Reference in New Issue
Block a user