diff options
author | Simon Schampijer <simon@schampijer.de> | 2009-01-05 10:44:39 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2009-01-05 10:44:39 (GMT) |
commit | ff3a2f17d3890963d1719eedd0d81698551402a5 (patch) | |
tree | 967f525e971090dd849470a94fcece3fa085b9b4 /src/jarabe/journal/journalactivity.py | |
parent | 7aa2e148538518a611f8c375899355f5869edcfa (diff) |
Focus Search is not exposed via dbus anymore #89
instead it is a method of journalactivity
Diffstat (limited to 'src/jarabe/journal/journalactivity.py')
-rw-r--r-- | src/jarabe/journal/journalactivity.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/jarabe/journal/journalactivity.py b/src/jarabe/journal/journalactivity.py index ff73d16..a4cbdb8 100644 --- a/src/jarabe/journal/journalactivity.py +++ b/src/jarabe/journal/journalactivity.py @@ -60,15 +60,6 @@ class JournalActivityDBusService(dbus.service.Object): dbus.service.Object.__init__(self, bus_name, J_DBUS_PATH) @dbus.service.method(J_DBUS_INTERFACE, - in_signature='', out_signature='') - def FocusSearch(self): - """Become visible and give focus to the search entry - """ - self._parent.present() - self._parent.show_main_view() - self._parent.search_grab_focus() - - @dbus.service.method(J_DBUS_INTERFACE, in_signature='s', out_signature='') def ShowObject(self, object_id): """Pop-up journal and show object with object_id""" @@ -332,6 +323,13 @@ class JournalActivity(Window): def set_active_volume(self, mount): self._volumes_toolbar.set_active_volume(mount) + def focus_search(self): + """Become visible and give focus to the search entry + """ + self.present() + self.show_main_view() + self.search_grab_focus() + _journal = None def get_journal(): |