Remove *= e_scale. It produces unwanted results.
authorLeif Middelschulte <leif.middelschulte@gmail.com>
Wed, 22 Feb 2012 15:42:00 +0000 (15:42 +0000)
committerLeif Middelschulte <leif.middelschulte@gmail.com>
Wed, 22 Feb 2012 15:42:00 +0000 (15:42 +0000)
SVN revision: 68275

src/modules/conf_randr/e_int_config_randr_arrangement.c

index 5d4d6da..0dfaab8 100644 (file)
@@ -314,7 +314,6 @@ _dialog_subdialog_arrangement_smart_class_resize(Evas_Object *obj, Evas_Coord w,
      }
 
    scaling_factor = (((float)parent_geo.w / (float)real_sum_w) < ((float)parent_geo.h / (float)real_sum_h)) ? ((float)parent_geo.w / (float)real_sum_w) : ((float)parent_geo.h / (float)real_sum_h);
-   scaling_factor *= e_scale;
 
    EINA_LIST_FOREACH(lst, itr, rep)
      {
@@ -371,7 +370,6 @@ _dialog_subdialog_arrangement_smart_class_resize(Evas_Object *obj, Evas_Coord w,
         //resize edje element
         evas_object_resize(rep, new_geo.w, new_geo.h);
         //also resize bg
-        e_thumb_icon_size_set(output_dialog_data->bg, new_geo.w, new_geo.h); //need to clarify the usage of e_thumb. Usable without e_thumb_icon_file_set??!!
         evas_object_move(rep, new_geo.x, new_geo.y);
         fprintf(stderr, "CONF_RANDR: output representation %p was resized to %d x %d\n", rep, new_geo.w, new_geo.h);
         fprintf(stderr, "CONF_RANDR: output representation %p was moved to %d x %d\n", rep, new_geo.x, new_geo.y);