projects
/
cinaest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5203eb
)
Genre filter dialog: fix initial visibility of the clear button
author
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 6 Aug 2010 16:14:59 +0000
(18:14 +0200)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 6 Aug 2010 16:38:59 +0000
(18:38 +0200)
src/genre-filter-dialog.vala
patch
|
blob
|
history
diff --git
a/src/genre-filter-dialog.vala
b/src/genre-filter-dialog.vala
index
b5c8aef
..
08bb5ce
100644
(file)
--- a/
src/genre-filter-dialog.vala
+++ b/
src/genre-filter-dialog.vala
@@
-87,6
+87,10
@@
class GenreFilterDialog : Gtk.Dialog {
}
show_all ();
+ if (genres.field == 0)
+ button_clear.hide ();
+ else
+ update_title ();
do {
res = base.run ();