From 5c9020b18893d260f2007b469139a4284939ea18 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Sat, 1 Aug 2009 13:35:18 +0000 Subject: [PATCH] Remove old design remains --- src/sugar/graphics/radiopalette.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/sugar/graphics/radiopalette.py b/src/sugar/graphics/radiopalette.py index 70ba2e09..9a9476dc 100644 --- a/src/sugar/graphics/radiopalette.py +++ b/src/sugar/graphics/radiopalette.py @@ -74,19 +74,18 @@ class RadioPalette(Palette): button.palette_label = label if not children: - self.__clicked_cb(button, True) + self.__clicked_cb(button) def update_button(self): for i in self.button_box.get_children(): - self.__clicked_cb(i, True) + self.__clicked_cb(i) - def __clicked_cb(self, button, quiet=False): + def __clicked_cb(self, button): if not button.get_active(): return self.set_primary_text(button.palette_label) - if not quiet: - self.popdown(immediate=True) + self.popdown(immediate=True) if self.invoker is not None: parent = self.invoker.parent