Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103486 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]
nogtk.patch
nogtk.patch (text/plain), 1.93 KB, created by
Serkan Kaba (RETIRED)
on 2006-12-06 13:15:46 UTC
(
hide
)
Description:
nogtk.patch
Filename:
MIME Type:
Creator:
Serkan Kaba (RETIRED)
Created:
2006-12-06 13:15:46 UTC
Size:
1.93 KB
patch
obsolete
>diff -Nur Jubler-3.0.0_os/src/com/panayotis/jubler/Main.java Jubler-3.0.0_nogtk/src/com/panayotis/jubler/Main.java >--- Jubler-3.0.0_os/src/com/panayotis/jubler/Main.java 2006-11-15 03:28:44.000000000 +0200 >+++ Jubler-3.0.0_nogtk/src/com/panayotis/jubler/Main.java 2006-12-06 21:58:23.000000000 +0200 >@@ -31,8 +31,6 @@ > import java.awt.event.MouseAdapter; > import java.awt.event.MouseEvent; > import javax.swing.JWindow; >-import javax.swing.UIManager; >-import javax.swing.UnsupportedLookAndFeelException; > > /** > * >@@ -46,14 +44,7 @@ > public static void main(String args[]) { > final MainSplash splash = new MainSplash("/icons/splash.jpg"); > >- /* Set look and feel */ >- try { >- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); >- } catch ( ClassNotFoundException e ) { >- } catch ( InstantiationException e ) { >- } catch (IllegalAccessException e) { >- } catch (UnsupportedLookAndFeelException e) { >- } >+ SystemDependent.setLookAndFeel(); > > new Jubler(); > SystemDependent.initApplication(); >diff -Nur Jubler-3.0.0_os/src/com/panayotis/jubler/os/SystemDependent.java Jubler-3.0.0_nogtk/src/com/panayotis/jubler/os/SystemDependent.java >--- Jubler-3.0.0_os/src/com/panayotis/jubler/os/SystemDependent.java 2006-12-06 21:52:54.000000000 +0200 >+++ Jubler-3.0.0_nogtk/src/com/panayotis/jubler/os/SystemDependent.java 2006-12-06 21:57:16.000000000 +0200 >@@ -187,6 +187,19 @@ > } > } > >+ public final static void setLookAndFeel() { >+ /* >+ try { >+ if (isWindows() || isMacOSX()) { >+ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); >+ } >+ } catch ( ClassNotFoundException e ) { >+ } catch ( InstantiationException e ) { >+ } catch (IllegalAccessException e) { >+ } catch (UnsupportedLookAndFeelException e) { >+ } >+ */ >+ } > > } >
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