Update HACKING.md

master
Andy Stewart 8 years ago committed by GitHub
parent fbd7bc44a6
commit 4e2cba0507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      HACKING.md

@ -46,12 +46,12 @@ class DemoBuffer(Buffer):
2. Open file [eaf.py](core/eaf.py):
```Python
@dbus.service.method(EAF_DBUS_NAME, in_signature="ss", out_signature="s")
def new_buffer(self, buffer_id, url):
global emacs_width, emacs_height
@dbus.service.method(EAF_DBUS_NAME, in_signature="ss", out_signature="s")
def new_buffer(self, buffer_id, url):
global emacs_width, emacs_height
if url == "eaf rocks!":
self.create_buffer(buffer_id, DemoBuffer(buffer_id, url, emacs_width, emacs_height))
if url == "eaf rocks!":
self.create_buffer(buffer_id, DemoBuffer(buffer_id, url, emacs_width, emacs_height))
```
Replace "eaf rocks!" to "i am rocks!"

Loading…
Cancel
Save