* src/FilterEditor/_EditRule.py: Change Media to MediaObject;

(__init__): Work with empty filter names (new filter).


svn: r7238
This commit is contained in:
Alex Roitman 2006-08-22 18:00:31 +00:00
parent be73b68ca5
commit 266d796333
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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()