Bug 156472 - canvas is missing get_center_scroll_region and set_center_scroll_region methods
canvas is missing get_center_scroll_region and set_center_scroll_region methods
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: gnome-python2 (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matthew Barnes
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-30 18:58 EDT by Fergal Daly
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: gnome-python2-2.16.2-1.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-01-02 07:08:19 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
add missing methods (649 bytes, text/plain)
2005-04-30 18:58 EDT, Fergal Daly
no flags Details

  None (edit)
Description Fergal Daly 2005-04-30 18:58:31 EDT
http://developer.gnome.org/doc/API/2.0/libgnomecanvas/GnomeCanvas.html documents
the methods "gnome_canvas_get_center_scroll_region" and
"gnome_canvas_set_center_scroll_region" but they are not available in python.
Attached is a patch to make them available as methods on a canvas object. Just
add this as Patch3 in the spec and it should work.

I'm CCing a copy to the gnome-python people too.
Comment 1 Fergal Daly 2005-04-30 18:58:31 EDT
Created attachment 113896 [details]
add missing methods
Comment 2 Matthew Miller 2006-07-10 18:42:24 EDT
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!
Comment 3 Matthew Barnes 2007-01-02 07:08:19 EST
These methods are now provided by the gnome-python2 package in Fedora Core 6.

   >>> import gnomecanvas
   >>> gnomecanvas.Canvas.get_center_scroll_region
   <method 'get_center_scroll_region' of 'gnome.canvas.Canvas' objects>
   >>> gnomecanvas.Canvas.set_center_scroll_region
   <method 'set_center_scroll_region' of 'gnome.canvas.Canvas' objects>

Note You need to log in before you can comment on or make changes to this bug.