~3v1n0/compiz/gtk-decorator-finalize-menu-0.9.10

« back to all changes in this revision

Viewing changes to plugins/ezoom/ezoom.xml.in

plugins/ezoom/src/ezoom.cpp:
Also initialize xtrans and ytrans in the ctors.
Just just enable blending if it is disabled and just
disable it if it was disabled before.
Introduced the variables oWidth, oHeight, halfOWidth and
halfOHeight to speed up following calculations.
Return ASAP, do not calculate possibly redundant stuff.
Declaration and assignment of local variables in one line.
Improved readability.
Added and removed newlines.
Minor indentation fixes.

plugins/ezoom/ezoom.xml.in:
Removed redundant whitespaces from a tooltip.

(LP: #1101572). Fixes: https://bugs.launchpad.net/bugs/1101572.

Approved by Sam Spilsbury, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
                    <_short>Fitting</_short>
157
157
                    <option type="key" name="fit_to_zoom_key">
158
158
                        <_short>Fit the window to the zoom level</_short>
159
 
                        <_long>Resize the window so it matches the current zoom level.  </_long>
 
159
                        <_long>Resize the window so it matches the current zoom level.</_long>
160
160
                        <default></default>
161
161
                    </option>
162
162
                    <option type="key" name="fit_to_window_key">