Bug 877870 - Rename bookmark_item_row.xml to home_item_row.xml (r=sriram)
authorLucas Rocha <lucasr@mozilla.com>
Tue, 11 Jun 2013 17:57:44 +0100
changeset 151295 2e9bcd6958013330e15c5ea8dc8316445f8d2510
parent 151294 2b2bdaae5bd3af2b48e14ffcab313aa161a2fd1c
child 151296 8b24cd7f46aeede79c53ef0b7853e4703636f945
push idunknown
push userunknown
push dateunknown
reviewerssriram
bugs877870
milestone24.0a1
Bug 877870 - Rename bookmark_item_row.xml to home_item_row.xml (r=sriram)
mobile/android/base/Makefile.in
mobile/android/base/home/BookmarksPage.java
mobile/android/base/resources/layout/home_item_row.xml
--- a/mobile/android/base/Makefile.in
+++ b/mobile/android/base/Makefile.in
@@ -438,25 +438,25 @@ RES_LAYOUT = \
   res/layout/awesomebar_search.xml \
   res/layout/awesomebar_suggestion_row.xml \
   res/layout/awesomebar_suggestion_item.xml \
   res/layout/awesomebar_suggestion_prompt.xml \
   res/layout/awesomebar_tab_indicator.xml \
   res/layout/awesomebar_tabs.xml \
   res/layout/bookmark_edit.xml \
   res/layout/bookmark_folder_row.xml \
-  res/layout/bookmark_item_row.xml \
   res/layout/browser_toolbar.xml \
   res/layout/datetime_picker.xml \
   res/layout/doorhangerpopup.xml \
   res/layout/doorhanger.xml \
   res/layout/doorhanger_button.xml \
   res/layout/find_in_page_content.xml \
   res/layout/font_size_preference.xml \
   res/layout/gecko_app.xml \
+  res/layout/home_item_row.xml \
   res/layout/web_app.xml \
   res/layout/launch_app_list.xml \
   res/layout/launch_app_listitem.xml \
   res/layout/menu_action_bar.xml \
   res/layout/menu_popup.xml \
   res/layout/notification_icon_text.xml \
   res/layout/notification_progress.xml \
   res/layout/notification_progress_text.xml \
--- a/mobile/android/base/home/BookmarksPage.java
+++ b/mobile/android/base/home/BookmarksPage.java
@@ -392,17 +392,17 @@ public class BookmarksPage extends Fragm
          * {@inheritDoc}
          */
         @Override
         public View getView(int position, View convertView, ViewGroup parent) {
             final int viewType = getItemViewType(position);
 
             if (convertView == null) {
                 if (viewType == VIEW_TYPE_ITEM) {
-                    convertView = LayoutInflater.from(parent.getContext()).inflate(R.layout.bookmark_item_row, null);
+                    convertView = LayoutInflater.from(parent.getContext()).inflate(R.layout.home_item_row, null);
                 } else {
                     convertView = LayoutInflater.from(parent.getContext()).inflate(R.layout.bookmark_folder_row, null);
                 }
             }
 
             Cursor cursor = getCursor();
             if (!cursor.moveToPosition(position)) {
                 throw new IllegalStateException("Couldn't move cursor to position " + position);
copy from mobile/android/base/resources/layout/bookmark_item_row.xml
copy to mobile/android/base/resources/layout/home_item_row.xml