Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 101464 Details for
Bug 126845
'None' doesn't work with gnome.help_display()
Home
New
Search
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.rh92 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]
patch for help_display
help-display.patch (text/plain), 866 bytes, created by
Zoltan Kota
on 2004-06-28 12:38:17 UTC
(
hide
)
Description:
patch for help_display
Filename:
MIME Type:
Creator:
Zoltan Kota
Created:
2004-06-28 12:38:17 UTC
Size:
866 bytes
patch
obsolete
>--- gnome-python-2.0.0/gnome/gnome.override.none 2003-08-23 07:12:01.000000000 +0200 >+++ gnome-python-2.0.0/gnome/gnome.override 2004-06-28 11:16:10.000000000 +0200 >@@ -74,3 +74,23 @@ > > return pygobject_new ((GObject*)program); > } >+%% >+override gnome_help_display kwargs >+static PyObject * >+_wrap_gnome_help_display(PyObject *self, PyObject *args, PyObject *kwargs) >+{ >+ static char *kwlist[] = { "doc_name", "link_id", NULL }; >+ char *doc_name, *link_id = NULL; >+ int ret; >+ GError *error = NULL; >+ PyObject *py_ret; >+ >+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s|z:help_display", kwlist, &doc_name, &link_id)) >+ return NULL; >+ ret = gnome_help_display(doc_name, link_id, &error); >+ if (pyg_error_check(&error)) >+ return NULL; >+ py_ret = ret ? Py_True : Py_False; >+ Py_INCREF(py_ret); >+ return py_ret; >+}
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 126845
: 101464