aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@novell.com>2010-04-10 07:23:49 +0800
committerFederico Mena Quintero <federico@novell.com>2010-04-14 04:41:46 +0800
commit886a208b1c624a76e2dc3ad5fd90a6534eb0e30d (patch)
treed562f19f1ed45842593a5bb11547733e0968f51d /plugins
parentdae9d2e575e0a239c53d3079b8e20bd17f6c37b4 (diff)
downloadgsoc2013-evolution-886a208b1c624a76e2dc3ad5fd90a6534eb0e30d.tar
gsoc2013-evolution-886a208b1c624a76e2dc3ad5fd90a6534eb0e30d.tar.gz
gsoc2013-evolution-886a208b1c624a76e2dc3ad5fd90a6534eb0e30d.tar.bz2
gsoc2013-evolution-886a208b1c624a76e2dc3ad5fd90a6534eb0e30d.tar.lz
gsoc2013-evolution-886a208b1c624a76e2dc3ad5fd90a6534eb0e30d.tar.xz
gsoc2013-evolution-886a208b1c624a76e2dc3ad5fd90a6534eb0e30d.tar.zst
gsoc2013-evolution-886a208b1c624a76e2dc3ad5fd90a6534eb0e30d.zip
Hide EConfig sections that have no visible widgets
The EConfig code that creates widgets based on .eplug descriptions will already hide sections that end up containing no child widgets. Here we also make that code hide sections that end up containing only invisible child widgets. We will use this from the actual plugins, so that if they decide not to show any widgets in Express mode, then the corresponding configuration sections will not show up in the preferences dialog. EConfig types 'section' and 'section-table' have an internal factory function, which doesn't return the actual GtkFrame that they create. Instead, they return a GtkContainer which is the actual vbox or table used to insert child widgets. Here we modify the internal factory function to also return the actual GtkFrame that it creates, so that the calling code can hide *that* frame properly. Signed-off-by: Federico Mena Quintero <federico@novell.com>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions