On 11/05/2015 02:29 PM, İrem Şendur wrote:
I 'm working on this bug
https://bugs.documentfoundation.org/show_bug.cgi?id=46279.
I looked files under the extensions directory but I couldn't find where
checking installation of extensions. I should add a dialog about
installation extensions and user should restart LibreOffice.
I asked this question on IRC and <@jmadero> suggested me that I might
mail the LibreOffice mail list.
Can anyone help me with finding the file or about what should I do ?
The code of the "Tools - Extension Manager..." dialog is in 
desktop/source/deployment/gui/dp_gui_theextmgr.cxx (all the 
extension-related functionality is in desktop/source/deployment/), 
TheExtensionManager::installPackage is the starting point for installing 
an extension from within that dialog.
However, what we probably want is something more elaborate than simply 
urging the user to restart LO upon every extension installation (as well 
as extension update, deinstallation, enabling, disabling?).
The referenced bug quotes some issues (missing menu update for already 
open documents) that can probably be addressed without needing a 
restart.  There might be other issues that cannot be resolved without a 
restart, but then we should only urge the user to restart LO if the 
given extension really triggers that issue.
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.