+2010-02-07 Daniel Martin Yerga <dyerga@gmail.com>
+
+ * Settings are saved with the system backup. MB#6078
+ * It's possible to add to the Portfolio without setting a name. MB#6077
+
2009-11-18 Daniel Martin Yerga <dyerga@gmail.com>
* Changed URL to the right maemo.org download page.
inst_icon = ['stockthis.png']
inst_icon_sca = ['pixmaps/stockthis.png']
sh_bin = ['stockthis']
+backup_conf = ['stockthis.conf']
data_files = [
('share/applications/hildon', inst_desktop),
('share/icons/hicolor/26x26/hildon/', inst_icon),
('share/icons/hicolor/scalable/hildon/', inst_icon_sca),
('share/dbus-1/services', inst_dbus),
+ ('/etc/osso-backup/applications/', backup_conf),
]
--- /dev/null
+<backup-configuration>
+ <locations>
+ <location type="dir" category="settings">/home/user/.stockthis</location>
+ <location type="file" category="settings" auto="true">/etc/osso-backup/applications/stockthis.conf</location>
+ </locations>
+</backup-configuration>
name = entry1.get_text()
shares = button.get_value()
+ if name == '' or symbol == '':
+ self.show_info_banner(widget, "Must add the name and symbol")
+ return
+
self.add_to_portfolio(widget, button, symbol, name)
dlg.destroy()