Permalink
Browse files

Don't block all inbox consolidation based on username

  • Loading branch information...
1 parent 1f1d5cc commit 10a53eb8394d430822dcdeeddf0a14c609efb7f2 @jensck committed Jan 17, 2013
Showing with 8 additions and 10 deletions.
  1. +3 −0 fluidity/boxidate.py
  2. +5 −10 fluidity/main_app.py
View
@@ -228,6 +228,9 @@ def __init__(self):
self.tbus = dbus_misc.notes_proxy
def consolidate(self):
+ # FIXME: REMOVE LATER
+ if os.environ.get("USER") not in ("jensck", "jknutson"):
+ return
notelist = self.build_note_list(self.MAIN_INBOX)
agg_xml = self.build_aggregate_note(notelist)
self._back_up_SH()
View
@@ -157,16 +157,11 @@ def complete_project(self, prj):
self.fill_prj_list_w()
def consolidate_inboxes(self, widget):
- # FIXME: this shit really belongs in DataManager
- # Also, it needs to actually work for other people... *cough*
- if os.environ.get("USER") != "jensck":
- pass
- else:
- self.temporarily_disable_widget(widget)
- boxidate.consolidate()
- self._inbox_manager.gather_slider_items()
- self._inbox_manager.add_actual_shit_to_columns()
- self.temporarily_disable_widget(widget)
+ self.temporarily_disable_widget(widget)
+ boxidate.consolidate()
+ self._inbox_manager.gather_slider_items()
+ self._inbox_manager.add_actual_shit_to_columns()
+ self.temporarily_disable_widget(widget)
def create_new_aof(self):
d = self.b.get_object("new_aof_dialog")

0 comments on commit 10a53eb

Please sign in to comment.