View | Details | Raw Unified | Return to bug 28331
Collapse All | Expand All

(-)a/enlightenment/src/modules/systray/e_mod_main.c (-1 / +2 lines)
Lines 329-340 _systray_icon_add(Instance *inst, const Ecore_X_Window win) Link Here
329
329
330
   edje_object_part_geometry_get(inst->ui.gadget, _part_size,
330
   edje_object_part_geometry_get(inst->ui.gadget, _part_size,
331
                                 NULL, NULL, &w, &h);
331
                                 NULL, NULL, &w, &h);
332
   sz = h;
332
   if (w > h)
333
   if (w > h)
333
     w = h;
334
     w = h;
334
   else
335
   else
335
     h = w;
336
     h = w;
336
337
337
   /* assuming systray must be on a shelf here */
338
   if (inst->gcc->gadcon->shelf)
338
   switch (inst->gcc->gadcon->orient)
339
   switch (inst->gcc->gadcon->orient)
339
     {
340
     {
340
      case E_GADCON_ORIENT_HORIZ:
341
      case E_GADCON_ORIENT_HORIZ:

Return to bug 28331