From 33bc78ad1fd3dabf756fe6a4a011aaa2b83a9eb4 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Mon, 17 Dec 2012 09:19:38 +0000 Subject: [PATCH] Fix some comments. Signed-off-by: Christopher Michael SVN revision: 81084 --- src/modules/conf_randr/e_smart_monitor.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index d84500c9f..f5f99298d 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -158,6 +158,9 @@ e_smart_monitor_output_set(Evas_Object *obj, E_Randr_Output_Info *output) * NB: This clears old modes and also sets the min & max resolutions */ _e_smart_monitor_modes_fill(sd); + /* fill in list of refresh rates */ + _e_smart_monitor_refresh_rates_fill(sd); + if (sd->layout.obj) { /* with the min & max resolutions, we can now set the thumbnail size. @@ -199,7 +202,7 @@ e_smart_monitor_output_set(Evas_Object *obj, E_Randr_Output_Info *output) /* set the background image */ _e_smart_monitor_background_set(sd, desk->x, desk->y); - /* if we have an output, lets set the monitor name */ + /* if we have an output, set the monitor name */ if (sd->output) { E_Randr_Monitor_Info *monitor = NULL; @@ -212,7 +215,7 @@ e_smart_monitor_output_set(Evas_Object *obj, E_Randr_Output_Info *output) edje_object_part_text_set(sd->o_frame, "e.text.name", name); } - /* if we have an output, lets set the resolution name */ + /* if we have an output, set the resolution name */ if ((sd->output) && (sd->output->crtc)) { Ecore_X_Randr_Mode_Info *mode; @@ -240,9 +243,6 @@ e_smart_monitor_output_set(Evas_Object *obj, E_Randr_Output_Info *output) else edje_object_signal_emit(sd->o_frame, "e,state,disabled", "e"); - /* fill in list of refresh rates */ - _e_smart_monitor_refresh_rates_fill(sd); - /* with everything all setup, calculate the smallest frame width */ edje_object_size_min_get(sd->o_frame, &fw, &fh);