projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21e62fb
)
Dimming rule hides widgets in Fremantle
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 11 Dec 2008 10:54:01 +0000
(10:54 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 11 Dec 2008 10:54:01 +0000
(10:54 +0000)
pmo-drop-split-view-r6766
src/modest-dimming-rule.c
patch
|
blob
|
history
diff --git
a/src/modest-dimming-rule.c
b/src/modest-dimming-rule.c
index
49621cf
..
ae294e5
100644
(file)
--- a/
src/modest-dimming-rule.c
+++ b/
src/modest-dimming-rule.c
@@
-187,7
+187,14
@@
modest_dimming_rule_process (ModestDimmingRule *self)
else
g_printerr ("modest: action path '%s' has not associatd action\n", priv->action_path);
} else if (priv->widget != NULL) {
+#ifdef MODEST_TOOLKIT_HILDON2
+ if (dimmed)
+ gtk_widget_hide (priv->widget);
+ else
+ gtk_widget_show (priv->widget);
+#else
gtk_widget_set_sensitive (priv->widget, !dimmed);
+#endif
}
}