summaryrefslogtreecommitdiffstats
path: root/apps/plugins/properties.c
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-06-24 20:17:17 +0000
committerAlexander Levin <al.le@rockbox.org>2009-06-24 20:17:17 +0000
commit119cfdaa0ab21130ec17fafbe869996ec741abe8 (patch)
tree45a9330dfa81f1a8cd75426d699aafec1f789e3a /apps/plugins/properties.c
parent5acfa34b9c60b9a2e5236b0fecd96e2c54e4e242 (diff)
downloadrockbox-119cfdaa0ab21130ec17fafbe869996ec741abe8.tar.gz
rockbox-119cfdaa0ab21130ec17fafbe869996ec741abe8.tar.bz2
rockbox-119cfdaa0ab21130ec17fafbe869996ec741abe8.zip
Do not unnecessarily change and restore the status bar setting (part of FS#10138 by Teruaki Kawashima)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21493 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r--apps/plugins/properties.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c
index 81e10812cc..18beec2da6 100644
--- a/apps/plugins/properties.c
+++ b/apps/plugins/properties.c
@@ -274,7 +274,6 @@ enum plugin_status plugin_start(const void* parameter)
{
struct gui_synclist properties_lists;
int button;
- bool prev_show_statusbar;
bool quit = false;
char file[MAX_PATH];
rb->strcpy(file, (const char *) parameter);
@@ -321,10 +320,6 @@ enum plugin_status plugin_start(const void* parameter)
return PLUGIN_OK;
}
- /* prepare the list for the user */
- prev_show_statusbar = rb->global_settings->statusbar;
- rb->global_settings->statusbar = false;
-
rb->gui_synclist_init(&properties_lists, &get_props, file, false, 1, NULL);
rb->gui_synclist_set_title(&properties_lists, its_a_dir ?
"Directory properties" :
@@ -347,13 +342,9 @@ enum plugin_status plugin_start(const void* parameter)
break;
default:
if (rb->default_event_handler(button) == SYS_USB_CONNECTED)
- {
- rb->global_settings->statusbar = prev_show_statusbar;
return PLUGIN_USB_CONNECTED;
- }
}
}
- rb->global_settings->statusbar = prev_show_statusbar;
return PLUGIN_OK;
}