Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101189 Details for
Bug 153992
media-video/jubler-3.3.0 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
clean out code not related to linux
os.patch (text/plain), 2.64 KB, created by
Serkan Kaba (RETIRED)
on 2006-11-03 21:59:40 UTC
(
hide
)
Description:
clean out code not related to linux
Filename:
MIME Type:
Creator:
Serkan Kaba (RETIRED)
Created:
2006-11-03 21:59:40 UTC
Size:
2.64 KB
patch
obsolete
>--- Jubler-3.0.0-rc4/src/com/panayotis/jubler/options/SystemDependent.java 2006-04-18 14:30:20.000000000 +0300 >+++ SystemDependent.java 2006-08-16 06:56:43.000000000 +0300 >@@ -23,10 +23,11 @@ > > package com.panayotis.jubler.options; > >+/* > import com.apple.eawt.Application; > import com.apple.eawt.ApplicationAdapter; > import com.apple.eawt.ApplicationEvent; >- >+*/ > > import static com.panayotis.jubler.i18n.I18N._; > >@@ -68,13 +69,15 @@ > return OS.toLowerCase().indexOf("linux") >= 0; > } > >+ /* > private static boolean isWindows() { > return OS.toLowerCase().indexOf("windows") >= 0; > } >+ > private static boolean isMacOSX() { > return OS.toLowerCase().indexOf("mac") >= 0; > } >- >+ */ > public static int getSliderLOffset() { > return 7; > } >@@ -120,9 +123,11 @@ > if (!isLinux()) { > fontconfig = ""; > } >+ /* > if (isWindows()) { > fontname = "c:\\Windows\\fonts\\arial.ttf"; > } >+ */ > return "%p -slave -identify -ontop -utf8 -noquiet -nofs "+fontconfig+"-subfont-autoscale 0 -volstep 10"+ > " -sub %s -ss %t -geometry +%x+%y -font "+fontname+" -subfont-text-scale %z %v"; > } >@@ -137,19 +142,23 @@ > > > public static void hideSystemMenus(Jubler jub, JMenu about, JMenuItem prefs, JMenuItem quit) { >+ /* > if (isMacOSX()) { > jub.JublerMenuBar.getMenu(0).remove(prefs); > jub.JublerMenuBar.getMenu(0).remove(quit); > jub.JublerMenuBar.remove(about); > } >+ */ > } > > > public static void initApplication() { > /* In Linux this is a dummy function */ >+ /* > if (isMacOSX()) { > JublerApp japp = new JublerApp(); > } >+ */ > } > > >@@ -157,6 +166,7 @@ > return 4; > } > public static String getKeyMods(boolean [] mods) { >+ /* > if (isMacOSX()) { > StringBuffer res = new StringBuffer(); > if (mods[0]) res.append("\u2318"); >@@ -166,6 +176,7 @@ > if (res.length()>0) res.append(' '); > return res.toString(); > } >+ */ > > StringBuffer res = new StringBuffer(); > if (mods[0]) res.append("+Meta"); >@@ -180,7 +191,7 @@ > } > > public static int getDefaultKeyModifier() { >- if (isMacOSX()) return 0; >+ //if (isMacOSX()) return 0; > return 2; > } > >@@ -188,7 +199,7 @@ > > > >- >+/* > class JublerApp extends Application { > public JublerApp() { > setEnabledPreferencesMenu(true); >@@ -215,3 +226,4 @@ > event.setHandled(false); > } > } >+*/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 153992
:
101186
|
101187
|
101188
|
101189
|
101190
|
101204
|
101207
|
101411
|
101412
|
103008
|
103009
|
103010
|
103485
|
103486