mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Added feature #3521446: Now there are two additional settings for: 1) Trayicon visible 2) Settings visible
Also fixed a missing translation. git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1823 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
ffb2e892cf
commit
cf2ef1235b
6 changed files with 279 additions and 254 deletions
|
@ -93,6 +93,12 @@ namespace Greenshot {
|
|||
InitializeComponent();
|
||||
this.Icon = GreenshotPlugin.Core.GreenshotResources.getGreenshotIcon();
|
||||
|
||||
// Disable access to the settings, for feature #3521446
|
||||
preferencesToolStripMenuItem.Visible = !coreConf.DisableSettings;
|
||||
toolStripSeparator12.Visible = !coreConf.DisableSettings;
|
||||
toolStripSeparator11.Visible = !coreConf.DisableSettings;
|
||||
btnSettings.Visible = !coreConf.DisableSettings;
|
||||
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImageEditorForm));
|
||||
Image backgroundForTransparency = GreenshotPlugin.Core.GreenshotResources.getImage("Checkerboard.Image");
|
||||
surface.TransparencyBackgroundBrush = new TextureBrush(backgroundForTransparency, WrapMode.Tile);
|
||||
|
@ -380,8 +386,7 @@ namespace Greenshot {
|
|||
this.saveElementsToolStripMenuItem.Text = Language.GetString(LangKey.editor_save_objects);
|
||||
this.loadElementsToolStripMenuItem.Text = Language.GetString(LangKey.editor_load_objects);
|
||||
this.autoCropToolStripMenuItem.Text = Language.GetString(LangKey.editor_autocrop);
|
||||
this.editToolStripMenuItem.DropDownItems.Add(new ToolStripSeparator());
|
||||
this.editToolStripMenuItem.DropDownItems.Add(insert_window_toolstripmenuitem);
|
||||
this.insert_window_toolstripmenuitem.Text = Language.GetString(LangKey.editor_insertwindow);
|
||||
}
|
||||
|
||||
public ISurface Surface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue