Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:iboss32
awn-extras-without-gnome
904-mail-fix-crash-on-toggle.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 904-mail-fix-crash-on-toggle.patch of Package awn-extras-without-gnome
------------------------------------------------------------ revno: 1404 fixes bug(s): https://launchpad.net/bugs/557410 committer: onox <denkpadje@gmail.com> branch nick: awn-extras timestamp: Sat 2010-09-18 19:21:06 +0200 message: Mail: potential fix for NameError + remove useless horizontal box + indent "Folder:" and entry ------------------------------------------------------------ === modified file 'applets/maintained/mail/mail.py' Index: awn-extras-0.4.1/applets/maintained/mail/mail.py =================================================================== --- awn-extras-0.4.1.orig/applets/maintained/mail/mail.py 2010-09-24 17:17:37.000000000 +0200 +++ awn-extras-0.4.1/applets/maintained/mail/mail.py 2010-09-24 17:17:44.000000000 +0200 @@ -872,17 +872,17 @@ allE.set_active(True) vbox.add(allE) - hbox_box = gtk.HBox(False, 12) - vbox.add(hbox_box) - foldE, boxE = get_label_entry(_("Folder:"), *groups) foldE.set_text("INBOX") - vbox.add(boxE) + alignmentE = gtk.Alignment(0.5, 0.5, 1.0, 1.0) + alignmentE.props.left_padding = 12 + alignmentE.add(boxE) + vbox.add(alignmentE) - def on_toggle(w): - boxE.set_sensitive(allE.get_active()) + def on_toggle(widget, box): + box.set_sensitive(widget.get_active()) - allE.connect("toggled", on_toggle) + allE.connect("toggled", on_toggle, boxE) return {"layout": vbox, "callback": cls.__submitLoginWindow, "widgets": [usrE, pwdE, srvE, sslE, allE, foldE]}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor