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 925945 Details for
Bug 1111039
libabiword fails to save from sugar-write activity
[?]
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.
A small program to demonstrate that while save succeeds but get_content fails
Abiword.py (text/x-python), 1.14 KB, created by
Anil Seth
on 2014-08-12 07:37:43 UTC
(
hide
)
Description:
A small program to demonstrate that while save succeeds but get_content fails
Filename:
MIME Type:
Creator:
Anil Seth
Created:
2014-08-12 07:37:43 UTC
Size:
1.14 KB
patch
obsolete
>#!/usr/bin/python >from gi.repository import Gtk >from gi.repository import Abi > >class DocumentView(Abi.Widget): > > def __init__(self): > Abi.Widget.__init__(self) > self.connect('size-allocate', self.__size_allocate_cb) > > def __size_allocate_cb(self, widget, allocation): > self.set_allocation(allocation) > > if self.get_child() is not None: > child_allocation = allocation > child_allocation.y = 0 > child_allocation.x = 0 > self.get_child().size_allocate(allocation) > >class Application(): > def app_destroy(self,widget, data=None): > self.abiword_canvas.save('file://' + '/tmp/abiword.odt', > 'application/vnd.oasis.opendocument.text' , '') > print('saved to /tmp/abiword.odt') > content=self.abiword_canvas.get_content('text/plain', None) > print(content) > Gtk.main_quit() > > def __init__(self): > self.w = Gtk.Window() > self.w.connect("delete-event",self.app_destroy) > self.abiword_canvas = DocumentView() > self.w.add(self.abiword_canvas) > self.w.show_all() > >abiword = Application() >Gtk.main() >
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 Raw
Actions:
View
Attachments on
bug 1111039
:
910264
|
910268
| 925945