Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix segfault from wrong name for Module

  • Loading branch information...
commit ac15fa890b307c99f9fe6ebb9109231857aa1dc4 1 parent ad60b0a
@MattRead authored
Showing with 7 additions and 3 deletions.
  1. +2 −0  CHANGELOG
  2. +1 −1  ephyboy.ephy-extension
  3. +4 −2 ephyboy.js
View
2  CHANGELOG
@@ -2,6 +2,8 @@
* CHANGELOG: update changelog
+ * CHANGELOG: update changelog
+
* ephyboy.ephy-extension: update for new name
* README, ephyboy.js: update README for new name
View
2  ephyboy.ephy-extension
@@ -8,4 +8,4 @@ URL=http://github.com/MattRead/Ephyboy/wiki
[Loader]
Type=seed
-Module=tomboy
+Module=ephyboy
View
6 ephyboy.js
@@ -67,14 +67,16 @@ var tomboy = null;
var create_tomboy_note = function(event, window)
{
// connect to DBus if we are not yet.
- if (!tomboy)
+ if (!tomboy) {
tomboy = new Tomboy();
+ }
// short circuit if nothing selected. This doesn't really work
var content = window.get_clipboard(Gdk.atom_intern("PRIMARY")).wait_for_text().xmlEscape();
- if (!content)
+ if (!content) {
return false;
+ }
// get title, url, and selection; and encode data for XML
var web_view = window.get_active_child().get_web_view();
Please sign in to comment.
Something went wrong with that request. Please try again.