def on_combobox_lineprops_changed(self, item):
if not self._inited: return<EOL>self._updateson = False<EOL>line = self.get_active_line()<EOL>ls = line.get_linestyle()<EOL>if ls is None: ls = '<STR_LIT:None>'<EOL>self.cbox_linestyles.set_active(self.linestyled[ls])<EOL>marker = line.get_marker()<EOL>if marker is None: marker = '<STR_LIT:None>'<EOL>self.cbox_markers.set_active(self.markerd[marker])<EOL>r,g,b = colorConverter.to_rgb(line.get_color())<EOL>color = gtk.gdk.Color(*[int(val*<NUM_LIT>) for val in (r,g,b)])<EOL>button = self.wtree.get_widget('<STR_LIT>')<EOL>button.set_color(color)<EOL>r,g,b = colorConverter.to_rgb(line.get_markerfacecolor())<EOL>color = gtk.gdk.Color(*[int(val*<NUM_LIT>) for val in (r,g,b)])<EOL>button = self.wtree.get_widget('<STR_LIT>')<EOL>button.set_color(color)<EOL>self._updateson = True<EOL>
update the widgets from the active line