summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-07-22 06:05:53 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-07-22 06:05:53 +0000
commitf7675a244b0d1d52bfdf5a1ee0051b46e73f9f2e (patch)
treea24862b74e4a16e971349a4f4b2975b93e45d5b4 /apps/gui
parent9d756e2760a0926aa416b22e276c4a5b2685e84e (diff)
downloadrockbox-f7675a244b0d1d52bfdf5a1ee0051b46e73f9f2e.zip
rockbox-f7675a244b0d1d52bfdf5a1ee0051b46e73f9f2e.tar.gz
rockbox-f7675a244b0d1d52bfdf5a1ee0051b46e73f9f2e.tar.bz2
rockbox-f7675a244b0d1d52bfdf5a1ee0051b46e73f9f2e.tar.xz
remove the need for action_signalscreenchange().
Fixes problems with targets where the ACTION_STD_CANCEL event is a combo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/color_picker.c1
-rw-r--r--apps/gui/gwps-common.c1
-rw-r--r--apps/gui/gwps.c6
-rw-r--r--apps/gui/option_select.c2
-rw-r--r--apps/gui/quickscreen.c2
-rw-r--r--apps/gui/yesno.c2
6 files changed, 0 insertions, 14 deletions
diff --git a/apps/gui/color_picker.c b/apps/gui/color_picker.c
index 392ae54..1116aaa 100644
--- a/apps/gui/color_picker.c
+++ b/apps/gui/color_picker.c
@@ -408,6 +408,5 @@ bool set_color(struct screen *display, char *title, unsigned *color,
}
}
- action_signalscreenchange();
return false;
}
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 4032d8b..91f60d7 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -282,7 +282,6 @@ bool ffwd_rew(int button)
if (!exit)
button = get_action(CONTEXT_WPS,TIMEOUT_BLOCK);
}
- action_signalscreenchange();
return usb;
}
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index d726dae..714dfe8 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -101,8 +101,6 @@ long gui_wps_show(void)
bool update_track = false;
int i;
long last_left = 0, last_right = 0;
-
- action_signalscreenchange();
wps_state_init();
@@ -242,7 +240,6 @@ long gui_wps_show(void)
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
show_remote_main_backdrop();
#endif
- action_signalscreenchange();
if (onplay(wps_state.id3->path, FILE_ATTR_AUDIO, CONTEXT_WPS)
== ONPLAY_MAINMENU)
return GO_TO_ROOT;
@@ -268,7 +265,6 @@ long gui_wps_show(void)
#endif
FOR_NB_SCREENS(i)
gui_wps[i].display->stop_scroll();
- action_signalscreenchange();
return GO_TO_PREVIOUS_BROWSER;
break;
@@ -562,7 +558,6 @@ long gui_wps_show(void)
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
show_remote_main_backdrop();
#endif
- action_signalscreenchange();
if (1 == pitch_screen())
return SYS_USB_CONNECTED;
#if LCD_DEPTH > 1
@@ -668,7 +663,6 @@ long gui_wps_show(void)
}
if (exit) {
- action_signalscreenchange();
#ifdef HAVE_LCD_CHARCELLS
status_set_record(false);
status_set_audio(false);
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index d104a64..11352fd 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -364,7 +364,6 @@ bool option_screen(struct settings_list *setting, bool use_temp_var)
gui_synclist_limit_scroll(&lists, true);
gui_synclist_draw(&lists);
- action_signalscreenchange();
/* talk the item */
option_talk(setting, *variable);
while (!done)
@@ -436,7 +435,6 @@ bool option_screen(struct settings_list *setting, bool use_temp_var)
settings_save();
}
- action_signalscreenchange();
return false;
}
diff --git a/apps/gui/quickscreen.c b/apps/gui/quickscreen.c
index 310d480..008c6fa 100644
--- a/apps/gui/quickscreen.c
+++ b/apps/gui/quickscreen.c
@@ -172,7 +172,6 @@ bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_enter)
bool can_quit=false;
gui_syncquickscreen_draw(qs);
gui_syncstatusbar_draw(&statusbars, true);
- action_signalscreenchange();
while (true) {
button = get_action(CONTEXT_QUICKSCREEN,TIMEOUT_BLOCK);
if(default_event_handler(button) == SYS_USB_CONNECTED)
@@ -195,7 +194,6 @@ bool gui_syncquickscreen_run(struct gui_quickscreen * qs, int button_enter)
gui_syncstatusbar_draw(&statusbars, false);
}
- action_signalscreenchange();
return false;
}
diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c
index 381d6d8..4f874df 100644
--- a/apps/gui/yesno.c
+++ b/apps/gui/yesno.c
@@ -111,7 +111,6 @@ enum yesno_res gui_syncyesno_run(struct text_message * main_message,
gui_yesno_set_display(&(yn[i]), &(screens[i]));
gui_yesno_draw(&(yn[i]));
}
- action_signalscreenchange();
while (result==-1)
{
button = get_action(CONTEXT_YESNOSCREEN,TIMEOUT_BLOCK);
@@ -130,7 +129,6 @@ enum yesno_res gui_syncyesno_run(struct text_message * main_message,
result = YESNO_NO;
}
}
- action_signalscreenchange();
FOR_NB_SCREENS(i)
result_displayed=gui_yesno_draw_result(&(yn[i]), result);
if(result_displayed)