Create the randr widget in _basic_create.
authorChristopher Michael <cp.michael@samsung.com>
Tue, 19 Feb 2013 10:55:09 +0000 (10:55 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 19 Feb 2013 10:55:09 +0000 (10:55 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84118

src/modules/conf_randr/e_int_config_randr.c

index 64ecb83..60a3e74 100644 (file)
@@ -84,6 +84,12 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
    o = e_widget_list_add(evas, 0, 0);
 
    /* try to create randr smart widget */
+   if ((cfdata->o_randr = e_smart_randr_add(evas)))
+     {
+        /* append randr widget to list object */
+        e_widget_list_object_append(o, cfdata->o_randr, 1, 1, 0.5);
+     }
+
    return o;
 }