bigboard r7300 - trunk/bigboard/stocks/apps
- From: marco svn gnome org
- To: svn-commits-list gnome org
- Subject: bigboard r7300 - trunk/bigboard/stocks/apps
- Date: Tue, 15 Apr 2008 22:54:08 +0100 (BST)
Author: marco
Date: Tue Apr 15 22:54:08 2008
New Revision: 7300
URL: http://svn.gnome.org/viewvc/bigboard?rev=7300&view=rev
Log:
Fix broken indentation and remove unnecessary semicolons
Modified:
trunk/bigboard/stocks/apps/appbrowser.py
trunk/bigboard/stocks/apps/apps.py
Modified: trunk/bigboard/stocks/apps/appbrowser.py
==============================================================================
--- trunk/bigboard/stocks/apps/appbrowser.py (original)
+++ trunk/bigboard/stocks/apps/appbrowser.py Tue Apr 15 22:54:08 2008
@@ -142,8 +142,8 @@
class Bar(hippo.CanvasBox):
_height = 12
_width = 100
- _min_color = (0xeb, 0xdc, 0xf3);
- _max_color = (0xa4, 0x5a, 0xc6);
+ _min_color = (0xeb, 0xdc, 0xf3)
+ _max_color = (0xa4, 0x5a, 0xc6)
def __init__(self, factor, **kwargs):
self.__factor = factor
@@ -473,22 +473,22 @@
self.__sync_display()
def __on_overview_click(self, overview, event):
- _logger.debug("pressed %s %d", overview, event.count)
+ _logger.debug("pressed %s %d", overview, event.count)
- if event.count == 1:
- if overview == self.__selected_app:
- self.emit("launch")
- return
+ if event.count == 1:
+ if overview == self.__selected_app:
+ self.emit("launch")
+ return
- if self.__selected_app:
- self.__selected_app.set_force_prelight(False)
+ if self.__selected_app:
+ self.__selected_app.set_force_prelight(False)
- app = overview.get_app()
- self.__selected_app = overview
- self.__selected_app.set_force_prelight(True)
- self.emit("selected", app)
- elif event.count == 2:
- self.emit("launch")
+ app = overview.get_app()
+ self.__selected_app = overview
+ self.__selected_app.set_force_prelight(True)
+ self.emit("selected", app)
+ elif event.count == 2:
+ self.emit("launch")
class AppBrowser(BigWindow):
def __init__(self):
Modified: trunk/bigboard/stocks/apps/apps.py
==============================================================================
--- trunk/bigboard/stocks/apps/apps.py (original)
+++ trunk/bigboard/stocks/apps/apps.py Tue Apr 15 22:54:08 2008
@@ -360,7 +360,7 @@
self.__myself = myself
myself.connect(self.__on_my_top_apps_changed, "topApplications")
myself.connect(self.__on_my_pinned_apps_changed, "pinnedApplications")
- myself.connect(self.__on_usage_enabled_changed, "applicationUsageEnabled");
+ myself.connect(self.__on_usage_enabled_changed, "applicationUsageEnabled")
self.__on_my_top_apps_changed(myself)
self.__on_my_pinned_apps_changed(myself)
self.__on_usage_enabled_changed(myself)
@@ -534,7 +534,7 @@
self.set_app_id_pinned(app.get_id(), pinned)
def __on_search_results(self, results_handler, category, search_terms, app_resources):
- _logger.debug("Got search results for search_terms='%s'", search_terms);
+ _logger.debug("Got search results for search_terms='%s'", search_terms)
## on the first results_handler to be called, we'll need to remove the pending
## query
if search_terms:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]