summaryrefslogtreecommitdiff
path: root/cui
AgeCommit message (Collapse)AuthorFilesLines
2015-04-21tdf#82784: cui: Area tab page: do not override imported bitmapsMichael Stahl1-18/+28
Check that we don't clobber a custom bitmap in the dialog. The (non-obvious) trick is that the name of these is non-empty, so we can check that to filter out pool default items that Draw likes to put into item sets (?), as well as just plain weird items that Draw likes to put into item sets, while avoiding relying on the surprisingly implemented ImpGraphic::operator==(). (regression from 38d0047da7f964c862360b48d88cc869ad376b6b) Change-Id: I0b94e49ef3a9a32c188c3b117a57f780f55e1584 (cherry picked from commit 171fb61c6526daf83d6948a543a1614215590946) Reviewed-on: https://gerrit.libreoffice.org/15371 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit e6530bd11bd37cc8bdec7f075c78d9ed52862424) Reviewed-on: https://gerrit.libreoffice.org/15437 Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-13Personas: add “non_homogeneous” to status messageAdolfo Jayme Barrientos1-2/+3
… so that it avoids changing the size of the buttons in some languages. Change-Id: Ida4c6a7f0af338240c61d8febf3b871b577def0e (cherry picked from commit 04b74906e28aa6732ba4bfcd97f4028c0201c166) Reviewed-on: https://gerrit.libreoffice.org/15258 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-03Follow-up tdf#84288: call SetRectangleAttributes only onceKatarina Behrens1-1/+0
cherry-picking code from master (4.5) branch to 4.4 branch sadly didn't remove/replace the faulty m_pCtlXRectPreview->SetRectangleAttributes line b/c 4.4 code calls it a bit earlier. I noticed too late and dtardon was too quick with merging. Change-Id: Ib6e43c4475aacd5d87d9b82f321c24386187b736 Reviewed-on: https://gerrit.libreoffice.org/15114 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-01tdf#84228: Fix annoying double shadow in previewKatarina Behrens1-0/+8
SfxItemSet passed to ActivatePage method contains both rectangle AND shadow attributes, causing the old shadow to stick around even after new shadow attributes have been set. Thus, set shadow to none in a local copy of SfxItemSet and use that one to repaint the rectangle Change-Id: If798351fbecaaf951ef0479ae4a2c70d2db68ca4 Reviewed-on: https://gerrit.libreoffice.org/15099 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-11Make "Embedded Objects" frame expendable to fill space betterZolnai Tamás1-0/+2
Change-Id: I9b9335464c774bca13013576583877895d673592
2015-02-12Related: fdo#87876 calculate ideal width after icon style entries are addedCaolán McNamara1-16/+16
which stops the ui jumping around if that drop down is activated Change-Id: I6abe00f125f41f4a83b30f1ffb6c8d039d0372ed Reviewed-on: https://gerrit.libreoffice.org/14438 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-02-09fix buildCaolán McNamara1-2/+2
Change-Id: I797e2a4feb240c463bd34c9699c945d6df72bb55
2015-02-09Resolves: fdo#87876 full text of war and peace used as checkbox labelCaolán McNamara2-1/+12
Change-Id: I016975123c0f277b4e4c8c8097e89fd84d93530a (cherry picked from commit 081f3c0f70a9aa4d9f1f72bfbdb838bbd2dc993e) Reviewed-on: https://gerrit.libreoffice.org/14379 Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2015-01-16fdo#87551 Category tree is too thin since conversion to .uiCaolán McNamara1-0/+1
Measure in approx chars and not pixels. Change-Id: Ibf34083d99e0aceee2855ed10939ad3b60b8abae Reviewed-on: https://gerrit.libreoffice.org/13948 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2015-01-06Resolves: fdo#87823 Move Menu->New MenuCaolán McNamara1-1/+1
Change-Id: I677b519a1bcae3266baff4577b63971b6f8add75 (cherry picked from commit 3fda8cb3ed7c790d1b591f4f833054b777e5b490)
2014-12-29fdo#86592 Fix radio button’s groups (4.4)Adolfo Jayme Barrientos1-5/+5
Change-Id: I861a8f38adf8bb2bda193befe100ba535eef83ba Reviewed-on: https://gerrit.libreoffice.org/13691 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> (cherry picked from commit 12496548474d5361c034eba0ecb382a375b02769) Reviewed-on: https://gerrit.libreoffice.org/13692 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2014-12-25Resolves fdo#87581: Pb to delete words with 2 initials in Autocorr ExceptJulien Nabet1-1/+1
Cherry-picked from a5811c70bb443190a76a52585580659f96a58a04 Change-Id: I49b97c5c1546f0410542cb67540c5507c95bec98 Reviewed-on: https://gerrit.libreoffice.org/13618 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-21ifix the OpenGL UI config partMarkus Mohrhard1-1/+1
Change-Id: I931a4b618f35188e4e0cca07305ff15bbbacc20a Reviewed-on: https://gerrit.libreoffice.org/13520 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-19spell dialog: Make [Close] work in protected documents with editable fields.Jan Holesovsky1-3/+7
We have to call ToggleChildWindow directly; calling SfxDispatcher's Execute() does not work here when we are in a document with protected section - in that case, the cursor can move from the editable field to the protected area, and the slots get disabled because of SW_DISABLE_ON_PROTECTED_CURSOR (see FN_SPELL_GRAMMAR_DIALOG in .sdi). Change-Id: I1c310c028aaaf774431d0b1e6bba10e901a8166d Reviewed-on: https://gerrit.libreoffice.org/13531 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-12-17after resetting the values are not modifiedMarkus Mohrhard1-0/+1
Change-Id: I0211c9c7dcc24ce40fe7c573f35ac13c02e742c1
2014-12-17implement the ui part for the OpenGL config variablesMarkus Mohrhard2-0/+90
Change-Id: I46e2de444d38f1f93eb68ffd50b7a283d05d1738
2014-12-16add two options for OpenGL renderingMarkus Mohrhard3-1/+33
Change-Id: I1b37d8332e9a5b779c27373b2ec038ccdf2b90df
2014-12-11Remove resizable:False property from dialogs containing GtkEntry.Jan Holesovsky16-16/+0
As agreed with Adolfo (and others) at the Design hangout on 2014-12-10. Change-Id: Ibe0e8075566523e746866b9d2c15c348c345d2df
2014-12-10Make some dialogs resizable again.Jan Holesovsky1-1/+0
As discussed in http://listarchives.libreoffice.org/global/design/msg06845.html Change-Id: I9e9ada1b2bee6023ee7f79d28cf4de2765c5daa0
2014-12-08Don't treat clew as part of an "external" clcc moduleTor Lillqvist1-2/+2
There is no obvious authoritative upstream for clew anyway, so it causes philosophical problems for distros. For a while, we used to use a zip archive from the "clcc" project on SourceForge that included clew.c and clew.h. (Before that we also just had clew.c and clew.h in our source repo.) So, drop the external/clcc module and have clew.c and clew.h in the source repo again. But this time clew is in a module of its own, not in sc. This re-introduces "No need to have OpenCL optional at configure-time" This reverts commit 764836cb00e8e6dfd2ab48e080a166ec90359e01. Change-Id: I413142f4f9f8399489f9c3e5327132822f07a454 Reviewed-on: https://gerrit.libreoffice.org/13368 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-12-03Add a limit for graphic cache based on used integer type to avoid overflowZolnai Tamás2-8/+2
Change-Id: Ibdf2cbf3c50f6732301d894d91a1b8ea58e4e5d6 (cherry picked from commit f20043a0805c3a75eb4024ed59f45291aea93ac0)
2014-12-01Simplify and beautify the Similarity Search dialogAdolfo Jayme Barrientos1-127/+92
* Remove unnecessary containers and unhelpful frame * Center main container * Right-align labels to remove large gaps between controls * A bit of separation for the Help button This should serve as a model for similar dialogs. Change-Id: I1964e8909159506484950df9d8ef7283809cce5f Reviewed-on: https://gerrit.libreoffice.org/13057 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit baa59ca5eaf061e6b799798406cc31c0a2fa7c9f) Reviewed-on: https://gerrit.libreoffice.org/13137
2014-12-01Save vertical space by putting labels and checkboxes in the same row…Adolfo Jayme Barrientos1-69/+73
... as dialog buttons. Change-Id: Ieea882b467c87093e7648590bbf14fe6dfa0b7ee Reviewed-on: https://gerrit.libreoffice.org/13061 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit b625baafd00ce578f8e68206fd8c1dd1206da2fc) Reviewed-on: https://gerrit.libreoffice.org/13138
2014-11-29non-translatable placeholderAndras Timar1-1/+1
Change-Id: Id210dad9b44f0164bfb247266a99c5886bfb7cbd (cherry picked from commit e22325ca9076de4cf11c82f21da611b8c7ba1b5a)
2014-11-28Fix packing overlapTor Lillqvist1-9/+9
Change-Id: I3fa211be09daf3089b0ac54f885a3fb7d1753b2f
2014-11-28Fix OpenCL-less buildTor Lillqvist1-0/+4
Change-Id: I36a0151640067e3d040ebf46784bdb8c534153e1
2014-11-28Work in progress: Move Calc-independend OpenCL configuration out of scTor Lillqvist12-53/+998
Intermediate commit. More changes will follow: The device selection logic needs to be moved, too. (And cleaned up.) Instead of the separate formulacalculationoptions dialog we should simply have a normal options page for those OpenCL-related settings that will remain purely Calc-specific, like the formula opcode subsetting. Change-Id: Id60d95e80d377cbbf5780beb473b221bce06b5e5
2014-11-28Make whether to use OpenCL or not a global optionTor Lillqvist3-0/+53
Add a toggle to the "General" page. Change-Id: If35b1472032706b09a3bc3499c55cbd3ac2e13ac
2014-11-28fdo#70861: cui: fix crash in SvxExtParagraphTabPageMichael Stahl1-1/+1
SvxExtParagraphTabPage::Reset() must not request a pool default for SID_ATTR_PARA_PAGENUM because it simply does not exist; the item is backed by a member of SwPageDesc in Writer. Change-Id: I9b157f048cd986566f9b01f3677b53d5974b6c8d (cherry picked from commit 9c1a1b98776ca2216d82af303394a09f2bac0471)
2014-11-26Resolves: fdo#79707 duplicate acceserator keys in spell checking dialogCaolán McNamara1-5/+37
Change-Id: I75d2c7ac735ad3fd430eb7a3ef28ff58930769b6 (cherry picked from commit da6ea10cd4a673661da016c6e8195f12876e7f73)
2014-11-26Resolves: fdo#85590 'Pick a color' circle location is incorrect when openedCaolán McNamara1-0/+1
Change-Id: I18a00d0ab7acc30f4751c0e19cceffefdce90474 (cherry picked from commit 7716d86f46dea72bd0e99f7074f718d558e88f49)
2014-11-25fdo#86579 Give uniform width to Category and Format framesAdolfo Jayme Barrientos1-6/+6
Change-Id: I55648417f56c28b0ac07ebff908805764bb2eb0c Reviewed-on: https://gerrit.libreoffice.org/13059 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 936ffd5924e68e1803c8ddeb8a2435375d356260) Reviewed-on: https://gerrit.libreoffice.org/13112
2014-11-24fdo#84904 Don’t stretch icons horizontallyAdolfo Jayme Barrientos1-44/+18
Seems you need this, see also 36f275cb0f19d11151abf85f3c191a2736bd73da Change-Id: I06970401d73bf8f73170bb1fc6bf001eac9947cf Reviewed-on: https://gerrit.libreoffice.org/13083 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com> (cherry picked from commit 92a0793265c66d289828c0193097b14b7e7e2d0f)
2014-11-23add missing spacesStanislav Horacek1-2/+2
Change-Id: I11be0c2cd4a4ee182b0f57f24a8fe65cd14d8200 Reviewed-on: https://gerrit.libreoffice.org/13073 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-11-23mark numbers as untranslatableStanislav Horacek1-3/+3
Change-Id: I6306ad4ecb4a3450f1ae518d8b8c88531695fe12 Reviewed-on: https://gerrit.libreoffice.org/13075 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-11-22fdo#86550 make some strings localizableAndras Timar4-6/+30
Change-Id: Ie3b47e30b22b4bbae86f575ca1c9f3639afd3afd (cherry picked from commit 6745c24fdad942f61c225632688bce78da0a547e)
2014-11-22Do not limit graphic cache size setting to 256 MB.Zolnai Tamás1-1/+8
Change-Id: I62835721225cc39dd9fd5131843d57497794be95 (cherry picked from commit 356006b4967fad26c7edd2126860abf01206fdbd)
2014-11-19coverity#735402 Logically dead codeCaolán McNamara1-1/+1
Change-Id: Iafc67b4ccd30afdc2dc1c4fb058f9933fa90185a
2014-11-18fdo#80280 Don't add items with no bitmapsMaxim Monastirsky1-7/+10
Change-Id: I625aff5d2dcae0b1491fa77b04605d4579ec8530
2014-11-18fdo#76937 Improve organization and layout in Position tabsAdolfo Jayme Barrientos1-287/+318
Change-Id: I55e08db1c4c32d0e2a1def293d1d42abb6717cb0 Reviewed-on: https://gerrit.libreoffice.org/12520 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-16vcl: let the ModalDialog ctor take an OUStringMiklos Vajna6-6/+6
Change-Id: I839435338f4acf80c40896b6c86f7ef122f5449d
2014-11-16fdo#85432 : Add locale details to help->aboutBrij Mohan Lal Srivastava3-0/+44
Added locale text to About dialog Change-Id: Ic26219e8fe845b4c5027b65d5f5edba9279b1b11 Reviewed-on: https://gerrit.libreoffice.org/12464 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-11-15Resolves: fdo#86222 hard-coded pixel dimensions are too high/wideCaolán McNamara1-6/+29
Change-Id: Ie6183a7e78b671a2d126127e4fcaa3b353d8a324
2014-11-15Related: fdo#86222 rework area graphic fill page for better heightCaolán McNamara1-99/+114
Change-Id: Ibd8e68a5a2ebd6ac2a829004c8918f9a449ef5d7
2014-11-15fdo#67040 There’s a valid use case to enable manual resizing in this dialogAdolfo Jayme Barrientos1-1/+0
Change-Id: I8af9ad0dd0bf09bd84aea7d6c9c5d5800ab8792c Reviewed-on: https://gerrit.libreoffice.org/12448 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-14coverity#1242900 Unused valueCaolán McNamara1-3/+3
Change-Id: I4276f5dabedac97c0508aa7904473a4e20767e62
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava5-9/+9
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-14vcl: move the Impl class of MapMode ...uhm... out of the public header?Michael Stahl1-0/+1
And remove the tools/fract.hxx include. grep -l -r fract.hxx workdir/Dep/*Object* |wc -l before: 4569 after: 1851 Shrinks some libraries, example from --enable-dbgutil Fedora gcc 4.8.3: libvcllo.so by 473k (0.35%) libswlo.so by ~1Mb (sadly that is just 0.2%) Change-Id: I09bd025d551a5d2c5528b938a68c6aa5f8f114a0
2014-11-13Remove unhelpful tooltipsAdolfo Jayme Barrientos1-3/+0
These buttons should be self-explanatory. Change-Id: I3ae973f093430cb3c1c88284267cff005caf7bff Reviewed-on: https://gerrit.libreoffice.org/12397 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>