Skip to content

Commit

Permalink
Form GitRun() remove status bar resizing on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdevic committed Mar 31, 2011
1 parent 2e46e1b commit c8b6950
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
26 changes: 13 additions & 13 deletions FormGitRun.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions FormGitRun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ public FormGitRun(string cmd, string args)
{
InitializeComponent();
ClassWinGeometry.Restore(this);

// WAR: On Linux, remove status bar resizing grip (since it does not work under X)
if (ClassUtils.IsMono())
statusStrip.SizingGrip = false;

_cmd = cmd;
_args = args;

Expand Down
2 changes: 1 addition & 1 deletion FormGitRun.resx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="statusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="timerProgress.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand Down

0 comments on commit c8b6950

Please sign in to comment.