summaryrefslogtreecommitdiff
path: root/epan/filesystem.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-10-01 16:29:37 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-10-01 16:29:37 +0000
commit98f6aa93114eb9529bc8da961789a97e7f76e853 (patch)
treec2613e71492404ced8036ef24122b14520f30e68 /epan/filesystem.c
parent0c2f1829e17cfc1f8c825571c87234e9c3523314 (diff)
downloadwireshark-98f6aa93114eb9529bc8da961789a97e7f76e853.tar.gz
Add a new right-click popup menu for the statusbar profiles for easy functions
to create new, copy, delete and rename configuration profiles. svn path=/trunk/; revision=34312
Diffstat (limited to 'epan/filesystem.c')
-rw-r--r--epan/filesystem.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/filesystem.c b/epan/filesystem.c
index b5e149029f..283ea30dd7 100644
--- a/epan/filesystem.c
+++ b/epan/filesystem.c
@@ -965,6 +965,12 @@ get_profile_name(void)
}
}
+gboolean
+is_default_profile(void)
+{
+ return (!persconfprofile || strcmp(persconfprofile, DEFAULT_PROFILE) == 0) ? TRUE : FALSE;
+}
+
void
profile_store_persconffiles(gboolean store)
{