Merge "fix: use EINA_* booleans instread of TRUE/FALSE" into tizen
[platform/framework/web/wrt.git] / src / view / webkit / view_logic_authentication_challenge_support.cpp
index 85ce0d5..e42c8e9 100644 (file)
@@ -43,7 +43,6 @@ const char* const ELM_SWALLOW_LABEL = "elm.swallow.label";
 const char* const ELM_SWALLOW_IDFIELD = "elm.swallow.idfield";
 const char* const ELM_SWALLOW_PASSWDFIELD = "elm.swallow.passwdfield";
 
-const char* const DAEMON_EDJ_PATH = "/usr/share/edje/wrt/Daemon.edj";
 const char* const GROUP_NAME_AUTHENTICATION_CHALLENGE_POPUP =
     "authChallengePopup";
 const char* const THEME_EDITFIELD = "editfield";
@@ -129,7 +128,7 @@ void askUserInformation(authenticationData* authData)
 
     Evas_Object* popupLayout = elm_layout_add(popup);
     elm_layout_file_set(popupLayout,
-                        DAEMON_EDJ_PATH,
+                        WRT_EDJ_PATH,
                         GROUP_NAME_AUTHENTICATION_CHALLENGE_POPUP);
     evas_object_size_hint_weight_set(popupLayout,
                                      EVAS_HINT_EXPAND,
@@ -211,7 +210,7 @@ Evas_Object* createEditLayout(Evas_Object* parent, bool isPasswordEdit)
         elm_object_signal_emit(layout, ELM_SIGNAL_STATE_ERASER_SHOW, ELM);
     }
     elm_entry_text_style_user_push(
-        layout,
+        entry,
         STYLE_DEFAULT_EDITFIELD);
     return layout;
 }