summaryrefslogtreecommitdiff
path: root/sysutils/burn/files/patch-ExtProgressIndicator.m
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/burn/files/patch-ExtProgressIndicator.m')
-rw-r--r--sysutils/burn/files/patch-ExtProgressIndicator.m41
1 files changed, 0 insertions, 41 deletions
diff --git a/sysutils/burn/files/patch-ExtProgressIndicator.m b/sysutils/burn/files/patch-ExtProgressIndicator.m
deleted file mode 100644
index 786d1cb0c33f..000000000000
--- a/sysutils/burn/files/patch-ExtProgressIndicator.m
+++ /dev/null
@@ -1,41 +0,0 @@
---- ExtProgressIndicator.m.orig 2005-05-12 17:58:49.000000000 +0200
-+++ ExtProgressIndicator.m 2012-06-09 13:03:54.000000000 +0200
-@@ -21,6 +21,8 @@
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-+#include <AppKit/NSAttributedString.h>
-+#include <GNUstepGUI/GSTheme.h>
- #include <AppKit/NSColor.h>
- #include <AppKit/NSParagraphStyle.h>
- #include <Foundation/Foundation.h>
-@@ -29,6 +31,11 @@
-
- #include "Constants.h"
-
-+static inline NSSize
-+my_sizeForBorderType (NSBorderType aType)
-+{
-+ return [[GSTheme theme] sizeForBorderType: aType];
-+}
-
- @implementation ExtProgressIndicator
-
-@@ -79,7 +86,7 @@
-
- // Calculate the inside rect to be drawn
- if (_isBezeled) {
-- NSSize borderSize = _sizeForBorderType (NSBezelBorder);
-+ NSSize borderSize = my_sizeForBorderType (NSBezelBorder);
- origRect = NSInsetRect(_bounds, borderSize.width, borderSize.height);
- } else
- origRect = _bounds;
-@@ -96,7 +103,7 @@
- if (value > _maxValue)
- value = _maxValue;
-
-- if (_isVertical){
-+ if ([self isVertical]){
- fillRect.size.height = 1;
- fillRect.origin.y += NSHeight(origRect) * (value / (_maxValue - _minValue));
- } else {