diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-02 16:56:10 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-02 16:56:10 +0100 |
commit | 6455c47e6d7dc8ebeb92649b763a1cf6db67aa02 (patch) | |
tree | e9236603896f5bd9a7e827a6dff2d6d472373810 | |
parent | e42eb2d8daf2e4cf8a0e79f43913060cd597bc57 (diff) | |
download | control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.tar control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.tar.gz control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.tar.bz2 control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.tar.xz control-center-6455c47e6d7dc8ebeb92649b763a1cf6db67aa02.zip |
fix using --geometry with a position
this is regression of the gtk+3 port
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | control-center | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix using --geometry with a position + Version 13.9 - 2 November 2016, by Thierry Vignaud - fix centering wait message + blinking icon while loading a tool diff --git a/control-center b/control-center index 4b42e6e6..b3a33c7f 100755 --- a/control-center +++ b/control-center @@ -599,7 +599,7 @@ mygtk3::register_main_window($window_global); if ($geometry) { @h{qw(HEIGTH WIDTH)} = $geometry =~ /(\d+)x(\d+)/; my ($x, $y) = $geometry =~ /([+-]\d+)([+-]\d+)/; - $window_global->set_uposition($x, $y) if $x || $y; + $window_global->move($x, $y) if $x || $y; } else { } $window_global->resize(max($default_width, $h{WIDTH}, $min_width), max($h{HEIGTH}, $default_height, $min_height)); |