+
+ original_big_clock_height = big_clock_height;
+ original_big_clock_width = w;
+
+ Pango::FontDescription fd (big_clock.get_style()->get_font());
+ original_big_clock_font_size = fd.get_size ();
+
+ if (!fd.get_size_is_absolute ()) {
+ original_big_clock_font_size /= PANGO_SCALE;
+ }
+
+ /* we can't set the real size until we know the original one, with the UI rc-file-set font
+ size, so do this here.
+ */
+
+ XMLNode* node = Config->extra_xml (X_("UI"));
+
+ if (node) {
+
+ const XMLProperty* prop;
+ int w, h, x, y;
+ int have_pos = 0;
+
+ w = h = x = y = 0;
+
+ if ((prop = node->property ("big-clock-x-size")) != 0) {
+ w = atoi (prop->value());
+ }
+ if ((prop = node->property ("big-clock-y-size")) != 0) {
+ h = atoi (prop->value());
+ }
+
+ if (w && h) {
+ big_clock_window->set_default_size (w, h);
+ }
+
+ if ((prop = node->property ("big-clock-x-off")) != 0) {
+ x = atoi (prop->value());
+ have_pos++;
+ }
+ if ((prop = node->property ("big-clock-y-off")) != 0) {
+ y = atoi (prop->value());
+ have_pos++;
+ }
+
+ if (have_pos == 2) {
+ big_clock_window->move (x, y);
+ }
+ }