Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 145211 Details for
Bug 201851
wmacpi don't change when on battery
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
initialize properly libdockapp
wmacpi-2.1-libdockapp.patch (text/plain), 803 bytes, created by
Patrice Dumas
on 2007-01-10 00:29:58 UTC
(
hide
)
Description:
initialize properly libdockapp
Filename:
MIME Type:
Creator:
Patrice Dumas
Created:
2007-01-10 00:29:58 UTC
Size:
803 bytes
patch
obsolete
>--- wmacpi-2.1/wmacpi.c.libdockapp 2005-02-02 03:32:29.000000000 +0100 >+++ wmacpi-2.1/wmacpi.c 2007-01-10 01:03:07.000000000 +0100 >@@ -137,7 +137,14 @@ > static void new_window(char *display, char *name, int argc, char **argv) > { > /* Initialise the dockapp window and appicon */ >- DAInitialize(display, name, 64, 64, argc, argv); >+ /* we don't want libdocapp to parse the command line, but we have to >+ initialize it with DAParseArguments, so we set argc to 1 */ >+ DAParseArguments(1, argv, NULL, 0, >+ "help option done", "version option done"); >+ /* deprecated >+ DAInitialize(display, name, 64, 64, argc, argv); */ >+ DAOpenDisplay(display, argc, argv); >+ DACreateIcon(name, 64, 64, argc, argv); > dockapp->display = DADisplay; > dockapp->win = DAWindow; >
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 201851
:
145210
| 145211