[TSAM-917] Changed title changing logic on language change. 30/58230/1 accepted/tizen/mobile/20160129.003241 submit/tizen_mobile/20160128.134343
authorRahul Dadhich <r.dadhich@samsung.com>
Thu, 28 Jan 2016 11:38:10 +0000 (17:08 +0530)
committerRahul Dadhich <r.dadhich@samsung.com>
Thu, 28 Jan 2016 11:38:10 +0000 (17:08 +0530)
Change-Id: I2d1ad783b1f9d9474449e1f60e2dc444da91cfcf
Signed-off-by: Rahul Dadhich <r.dadhich@samsung.com>
src/features/gl-albums.c
src/features/gl-thumbs.c

index 142b3e4ae3e5399589a667b0df9f0136a160618d..4f431f7197a5edebba85c30dc34de18666f4da33 100644 (file)
@@ -1409,6 +1409,7 @@ int gl_albums_open_album(gl_cluster *album)
        }
        char *i18n_name = _gl_get_i18n_album_name(album->cluster);
        gl_sdbg("Album: %s, UUID: %s", i18n_name, album->cluster->uuid);
+       ad->gridinfo.title = album->cluster->uuid;
        _gl_albums_set_current(ad, album);
        Eina_List *medias_elist = NULL;
        _gl_data_get_items_album(ad, album, GL_FIRST_VIEW_START_POS,
index 5e59fc279563c9c311d6b24dc77dd0e6640e0226..fee713428404510b789eee35b1be5ee01bd98ef5 100644 (file)
@@ -2142,6 +2142,12 @@ int _gl_thumbs_update_label_text(Elm_Object_Item *nf_it, int sel_cnt,
 int _gl_thumbs_update_lang(void *data)
 {
        GL_CHECK_VAL(data, -1);
+       gl_appdata *ad = (gl_appdata *)data;
+       _gl_thumbs_update_view(data);
+
+       if (ad->gridinfo.title) {
+               _gl_ui_change_navi_title(ad->gridinfo.nf_it, ad->gridinfo.title, true);
+       }
        return 0;
 }