projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3192c2f
)
Meaningless comparison
author
Philip Van Hoof
<philip@codeminded.be>
Thu, 20 Sep 2007 10:57:05 +0000
(10:57 +0000)
committer
Philip Van Hoof
<philip@codeminded.be>
Thu, 20 Sep 2007 10:57:05 +0000
(10:57 +0000)
pmo-trunk-r3367
src/modest-ui-dimming-rules.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-dimming-rules.c
b/src/modest-ui-dimming-rules.c
index
be43ca6
..
77b6d9b
100644
(file)
--- a/
src/modest-ui-dimming-rules.c
+++ b/
src/modest-ui-dimming-rules.c
@@
-196,7
+196,7
@@
_define_main_window_dimming_state (ModestMainWindow *window)
if (model != NULL){
gint count;
count = gtk_tree_model_iter_n_children(model, NULL);
- if(state->n_selected == count != 0)
+ if(state->n_selected == count)
state->all_selected = TRUE;
}