application/data/PodcastShowsView.ra
author Sebastian Brannstrom <sebastianb@symbian.org>
Fri, 19 Nov 2010 00:16:55 +0000
branchsymbian1
changeset 373 f5de49b27caf
parent 354 a2713e6a41a9
permissions -rw-r--r--
Popup menus tweaked
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     1
/*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     2
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     3
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     4
* All rights reserved.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     5
* This component and the accompanying materials are made available
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     6
* under the terms of the License "Eclipse Public License v1.0"
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     7
* which accompanies this distribution, and is available
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     8
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     9
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    10
* Initial Contributors:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    11
* EmbedDev AB - initial contribution.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    12
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    13
* Contributors:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    14
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    15
* Description:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    16
*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    17
*/
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    18
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    19
RESOURCE AVKON_VIEW r_podcast_showsview
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    20
{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    21
	menubar = r_podcast_showsview_menubar;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    22
	cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    23
	toolbar = r_showsview_toolbar;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    24
}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    25
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    26
RESOURCE MENU_BAR r_podcast_showsview_menubar
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    27
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    28
    titles =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    29
        {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    30
        MENU_TITLE { menu_pane = r_podcast_showsview_menu; txt = "Shows"; }
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    31
        };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    32
    }
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    33
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    34
RESOURCE MENU_PANE r_podcast_showsview_menu
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    35
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    36
    items =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    37
        {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    38
        MENU_ITEM
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    39
			{
354
a2713e6a41a9 Further UI tweaks
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 352
diff changeset
    40
			command = EPodcastMarkAllPlayed;
a2713e6a41a9 Further UI tweaks
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 352
diff changeset
    41
			txt = STRING_r_view_mark_all_played_cmd_short;
a2713e6a41a9 Further UI tweaks
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 352
diff changeset
    42
			},
a2713e6a41a9 Further UI tweaks
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 352
diff changeset
    43
        MENU_ITEM
a2713e6a41a9 Further UI tweaks
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 352
diff changeset
    44
			{
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    45
			command = EPodcastAbout;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    46
			txt = STRING_r_view_about_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    47
			}, 
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    48
		MENU_ITEM
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    49
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    50
			command = EPodcastHelp;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    51
			txt = STRING_r_view_help;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    52
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    53
		MENU_ITEM
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    54
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    55
			command = EAknSoftkeyExit;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    56
			txt = STRING_r_exit_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    57
			}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    58
        };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    59
    }
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    60
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    61
RESOURCE AVKON_TOOLBAR r_showsview_toolbar
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    62
    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    63
    flags = KAknToolbarFixed;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    64
    items =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    65
        {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    66
        TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    67
            {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    68
            type = EAknCtButton;
347
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    69
            id = EPodcastUpdateAllFeeds;
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    70
            control = AVKON_BUTTON
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    71
                {
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    72
                states =
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    73
                    {
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    74
                    AVKON_BUTTON_STATE
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    75
                        {
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    76
                        bmpfile = APPICON;
350
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
    77
                        bmpid = EMbmPodcastUpdate_all;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
    78
                        bmpmask = EMbmPodcastUpdate_all_mask;
347
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    79
                        //txt = STRING_r_update_feed_short_cmd;
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    80
                        helptxt = STRING_r_update_all_feeds_cmd;
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    81
                        }  
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    82
                    };
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    83
                };
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    84
            },
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    85
        TBAR_CTRL
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    86
            {
b8d687bb7ca1 Experimenting with adding a new view to list all new shows
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 261
diff changeset
    87
            type = EAknCtButton;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    88
            id = EPodcastUpdateFeed;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    89
            control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    90
                {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    91
                states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    92
                    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    93
                    AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    94
                        {
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
    95
                        bmpfile = APPICON;
350
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
    96
                        bmpid = EMbmPodcastUpdate;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
    97
                        bmpmask = EMbmPodcastUpdate_mask;
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
    98
                        //txt = STRING_r_update_feed_short_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    99
                        helptxt = STRING_r_update_feed_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   100
                        }  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   101
                    };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   102
                };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   103
            },
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   104
            TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   105
                {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   106
                type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   107
                id = EPodcastCancelUpdateAllFeeds;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   108
                control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   109
                    {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   110
                    states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   111
                        {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   112
                        AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   113
                            {
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   114
                            bmpfile = APPICON;
350
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   115
                            bmpid = EMbmPodcastUpdate_cancel;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   116
                            bmpmask = EMbmPodcastUpdate_cancel_mask;
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   117
                            //txt = STRING_r_cancel_update_all_feeds_short_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   118
                            helptxt = STRING_r_cancel_update_all_feeds_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   119
                           }  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   120
                        };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   121
                    };
54
21ffe6559297 Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents: 29
diff changeset
   122
                },
21ffe6559297 Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents: 29
diff changeset
   123
// we keep the download toolbar button in S^3, but always disable it
21ffe6559297 Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents: 29
diff changeset
   124
// because there are drawing issues with only one item in the toolbar
21ffe6559297 Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents: 29
diff changeset
   125
            TBAR_CTRL
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   126
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   127
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   128
			id = EPodcastDownloadShow;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   129
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   130
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   131
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   132
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   133
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   134
						{
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   135
						bmpfile = APPICON;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   136
						bmpid = EMbmPodcastDownload;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   137
						bmpmask = EMbmPodcastDownload_mask;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   138
						//txt = STRING_r_view_download_show_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   139
						helptxt = STRING_r_view_download_show_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   140
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   141
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   142
				};
54
21ffe6559297 Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents: 29
diff changeset
   143
			}
21ffe6559297 Fix for middle toolbar button being drawn in single tap mode when there is only 1 button
teknolog
parents: 29
diff changeset
   144
        ,		
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   145
		TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   146
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   147
			type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   148
			id =EPodcastDeleteShow;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   149
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   150
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   151
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   152
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   153
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   154
						{
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   155
						bmpfile = APPICON;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   156
						bmpid = EMbmPodcastDelete;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   157
						bmpmask = EMbmPodcastDelete_mask;
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   158
						//txt = STRING_r_view_delete_show_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   159
						helptxt = STRING_r_view_delete_show_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   160
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   161
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   162
				};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   163
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   164
		TBAR_CTRL
350
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   165
				 {
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   166
				 type = EAknCtButton;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   167
				 id = EPodcastDownloadAll;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   168
				 control = AVKON_BUTTON
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   169
					 {
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   170
					 states =
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   171
						 {
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   172
						 AVKON_BUTTON_STATE
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   173
							 {
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   174
							 bmpfile = APPICON;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   175
							 bmpid = EMbmPodcastDownload_all;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   176
							 bmpmask = EMbmPodcastDownload_all_mask;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   177
							 //txt = STRING_r_cancel_update_all_feeds_short_cmd;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   178
							 helptxt = STRING_r_download_all_shows;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   179
							}  
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   180
						 };
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   181
					 };
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   182
				 },
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   183
		TBAR_CTRL
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   184
			{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   185
			type = EAknCtButton;
352
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   186
			id = EPodcastMarkAllPlayed;
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   187
			control = AVKON_BUTTON
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   188
				{
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   189
				states =
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   190
					{
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   191
					AVKON_BUTTON_STATE
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   192
						{
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   193
						bmpfile = APPICON;
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   194
						bmpid = EMbmPodcastMark_old_all;
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   195
						bmpmask = EMbmPodcastMark_old_all_mask;
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   196
						//txt = STRING_r_cancel_update_all_feeds_short_cmd;
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   197
						helptxt = STRING_r_view_mark_all_played_cmd;
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   198
					   }  
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   199
					};
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   200
				};
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   201
			},
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   202
		TBAR_CTRL
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   203
			{
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   204
			type = EAknCtButton;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   205
			id = EPodcastMarkAsPlayed;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   206
			control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   207
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   208
				states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   209
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   210
					AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   211
						{
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   212
						bmpfile = APPICON;
350
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   213
						bmpid = EMbmPodcastMark_old;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   214
						bmpmask = EMbmPodcastMark_old_mask;
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   215
						//txt = STRING_r_view_mark_as_played_cmd_short;
352
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   216
						helptxt = STRING_r_view_mark_as_played_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   217
						}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   218
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   219
				};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   220
			},
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   221
			TBAR_CTRL
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   222
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   223
				type = EAknCtButton;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   224
				id =EPodcastMarkAsUnplayed;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   225
				control = AVKON_BUTTON
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   226
					{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   227
					states =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   228
						{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   229
						AVKON_BUTTON_STATE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   230
							{
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   231
							bmpfile = APPICON;
350
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   232
							bmpid = EMbmPodcastMark_new;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   233
							bmpmask = EMbmPodcastMark_new_mask;
261
55305e953f12 Bug 3367 - new icons!
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 164
diff changeset
   234
							//txt = STRING_r_view_mark_as_unplayed_cmd_short;
352
31f9864a37ac Various fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 350
diff changeset
   235
							helptxt = STRING_r_view_mark_as_unplayed_cmd;
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   236
							}  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   237
						};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   238
					};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   239
				}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   240
        };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   241
    }
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   242
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   243
RESOURCE STYLUS_POPUP_MENU r_showview_popup_menu
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   244
	{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   245
		items =
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   246
		{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   247
			STYLUS_POPUP_MENU_ITEM
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   248
				{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   249
					txt = STRING_r_view_show_info_cmd;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   250
					command = EPodcastShowInfo;
350
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   251
				},
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   252
			STYLUS_POPUP_MENU_ITEM
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   253
				{
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   254
					txt = STRING_r_view_mark_as_unplayed_cmd_short;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   255
					command = EPodcastMarkAsUnplayed;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   256
				},
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   257
			STYLUS_POPUP_MENU_ITEM
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   258
				{
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   259
					txt = STRING_r_view_mark_as_played_cmd_short;
9c4fd008e20f Updated icons and other UI fixes
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 349
diff changeset
   260
					command = EPodcastMarkAsPlayed;
373
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   261
				},
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   262
			STYLUS_POPUP_MENU_ITEM
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   263
				{
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   264
				txt = STRING_r_view_download_show_cmd_short;
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   265
				command = EPodcastDownloadShow;
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   266
				},
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   267
			STYLUS_POPUP_MENU_ITEM
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   268
				{
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   269
				txt = STRING_r_view_delete_show_cmd_short;
f5de49b27caf Popup menus tweaked
Sebastian Brannstrom <sebastianb@symbian.org>
parents: 354
diff changeset
   270
				command = EPodcastDeleteShow;
29
08733234ccb1 S1 UI should only have Info in popup for show view
teknolog
parents: 24
diff changeset
   271
				}
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   272
		};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   273
	}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   274
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   275
RESOURCE DIALOG r_show_info_note
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   276
{
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   277
   flags = EAknDialogGenericQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   278
   buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   279
   items=
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   280
   {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   281
  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   282
      DLG_LINE 
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   283
      {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   284
      	 type = EAknCtPopupHeadingPane;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   285
      	 id = EAknMessageQueryHeaderId;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   286
         itemflags = EEikDlgItemNonFocusing;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   287
         control = AVKON_HEADING
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   288
         {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   289
		headinglayout=R_AVKON_LIST_HEADING_PANE_POPUPS;		
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   290
         };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   291
      },  
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   292
      DLG_LINE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   293
      {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   294
         type = EAknCtMessageQuery;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   295
         id = EAknMessageQueryContentId;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   296
         control = AVKON_MESSAGE_QUERY
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   297
         {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   298
          
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   299
         };
24
ca50ea154990 Moved search result title to navipane. Fixed but 1832
teknolog
parents: 23
diff changeset
   300
      }
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   301
   };
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   302
}
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   303