/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/StationList.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/StationList.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 483 by torben, Thu Oct 29 10:49:14 2009 UTC revision 484 by torben, Thu Oct 29 11:38:58 2009 UTC
# Line 135  public class StationList extends ListAct Line 135  public class StationList extends ListAct
135                                    
136          }          }
137          protected void setTitle() {          protected void setTitle() {
138                  String dialogTitle;                  String dialogTitle = getResources().getString(R.string.app_name);
139                  switch (listType) {                  switch (listType) {
140                  case ListNearest:                  case ListNearest:
141                          dialogTitle = "TrainInfo DK - Nearby stations";                          dialogTitle += " - Nearby stations";
142                          break;                          break;
143                  case ListSearch:                  case ListSearch:
144                          dialogTitle = "TrainInfo DK - Search";                          dialogTitle += " - Search";
145                          break;                          break;
146                  case ListFavorites:                  case ListFavorites:
147                          dialogTitle = "TrainInfo DK - Favorites";                          dialogTitle += " - Favorites";
148                          break;                          break;
149                  default:                  default:
150                          dialogTitle = "";//not possible                                                          dialogTitle = "";//not possible                                

Legend:
Removed from v.483  
changed lines
  Added in v.484

  ViewVC Help
Powered by ViewVC 1.1.20