public SettingShortcutController()
{
+ ShortcutInfo settings = SettingShortcutFactory.Get(SettingID.SETTINGS);
+ settingShortcutList.Add(settings);
+
ShortcutInfo wifi = SettingShortcutFactory.Get(SettingID.WiFi);
settingShortcutList.Add(wifi);
{
public enum SettingID
{
+ SETTINGS,
WiFi,
BLUETOOTH
};
ShortcutInfo sc;
switch (id)
{
+ case SettingID.SETTINGS:
+ sc = new AppShortcutInfo()
+ {
+ StateDescriptions =
+ {
+ {
+ "default",
+ new StateDescription
+ {
+ Label = "Settings",
+ IconPath = "ic_tizen_home_menu_settings_selected.png",
+ Action = new AppControlAction() {
+ AppID = "org.tizen.settings"
+ },
+ }
+ },
+ }
+ };
+ sc.UpdateState();
+ return sc;
+
case SettingID.WiFi:
sc = new WiFiSettingShortcutInfo()
{
string[] AppName = { "Recent", "Apps", "Settings" };
// TODO : Revert this before release
//string[] AppControlID = { "org.tizen.settings", "org.tizen.apps", "org.tizen.settings" };
- string[] AppControlID = { "org.tizen.settings", "org.tizen.example.TVApps.TizenTV", "org.tizen.settings" };
+ string[] AppControlID = { "org.tizen.example.TVApps.TizenTV", "org.tizen.example.TVApps.TizenTV", "org.tizen.settings" };
string[] AppDefaultIconPath = { "ic_tizen_home_menu_recent_normal.png", "ic_tizen_home_menu_apps_normal.png", "ic_tizen_home_menu_settings_normal.png" };
string[] AppFocusedIconPath = { "ic_tizen_home_menu_recent_focused.png", "ic_tizen_home_menu_apps_focused.png", "ic_tizen_home_menu_settings_focused.png" };
string[] AppSelectedIconPath = { "ic_tizen_home_menu_recent_selected.png", "ic_tizen_home_menu_apps_selected.png", "ic_tizen_home_menu_settings_selected.png" };
PanelButton button;
if (item.StateDescriptions["default"].Label.Equals("All apps")
- || item.StateDescriptions["default"].Label.Equals("Add pin"))
+ || item.StateDescriptions["default"].Label.Equals("Add pin")
+ || item.StateDescriptions["default"].Label.Equals("Settings"))
{
button = new SubPanelAllAppsButton();
}