Fixed a bug where the app halts when running on different screen sizes 73/3273/1 2.0 accepted/2.0/20130405.191924 submit/2.0/20130405.195000
authorJimmy Huang <jimmy.huang@intel.com>
Wed, 3 Apr 2013 17:51:45 +0000 (10:51 -0700)
committerJimmy Huang <jimmy.huang@intel.com>
Wed, 3 Apr 2013 17:51:45 +0000 (10:51 -0700)
commit677eae9e6419a8e2fba23260912f1f48ce789810
tree2e4a74176d08d07e3b00434be2f8dc55e80e1d30
parentf4725c47d9bc2dc15a3c75841d5b5df93c1ffce8
Fixed a bug where the app halts when running on different screen sizes

The memo app have some hard-coded property that only works for running in
480x800, 600x1024 and 720x1280.  This causes the program to halt when it
runs in different screen resolution or orientations, since it looking those
non-existing properties causes elementary to throw out errors.  This patch
makes it so that all screen sizes will map to the same height property used
so it is more generic and no longer dependent on certain screen width and
height.

Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
edc/common.edc
edc/doodle_editor.edc
edc/doodle_viewer.edc
edc/text_editor.edc
src/memo_doodle_editor.c
src/memo_doodle_viewer.c
src/memo_text_editor.c