Created
October 17, 2013 18:14
-
-
Save sarim/7029618 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/avropref.ui b/avropref.ui | |
index 0c111c0..95bb17f 100644 | |
--- a/avropref.ui | |
+++ b/avropref.ui | |
@@ -3,7 +3,7 @@ | |
<!-- interface-requires gtk+ 3.0 --> | |
<object class="GtkAdjustment" id="lutable_size"> | |
<property name="lower">5</property> | |
- <property name="upper">16</property> | |
+ <property name="upper">15</property> | |
<property name="step_increment">1</property> | |
<property name="page_increment">10</property> | |
</object> | |
diff --git a/com.omicronlab.avro.gschema.xml b/com.omicronlab.avro.gschema.xml | |
index 1006ab2..e4c995c 100644 | |
--- a/com.omicronlab.avro.gschema.xml | |
+++ b/com.omicronlab.avro.gschema.xml | |
@@ -17,7 +17,7 @@ | |
<description>Whether enter key should commit newline after applying candidate</description> | |
</key> | |
<key type="i" name="lutable-size"> | |
- <default>16</default> | |
+ <default>15</default> | |
<summary>lutable-size</summary> | |
<description>Dictionary suggestion lookup table size</description> | |
</key> | |
diff --git a/main-gjs.js b/main-gjs.js | |
index de2d12e..63e0172 100755 | |
--- a/main-gjs.js | |
+++ b/main-gjs.js | |
@@ -36,7 +36,7 @@ const Gio = imports.gi.Gio; | |
const prefwindow = imports.pref; | |
//check if running from ibus | |
-exec_by_ibus = (ARGV[0] == '--ibus') | |
+var exec_by_ibus = (ARGV[0] == '--ibus') | |
// Let's initialize ibus | |
IBus.init(); | |
@@ -194,7 +194,7 @@ if (bus.is_connected()) { | |
}); | |
var proplist = new IBus.PropList(); | |
- var propp = new IBus.Property.new( | |
+ var propp = IBus.Property.new( | |
'setup', | |
IBus.PropType.NORMAL, | |
IBus.Text.new_from_string("Preferences - Avro"), | |
diff --git a/utf8.js b/utf8.js | |
index c5766fe..2ca8da1 100755 | |
--- a/utf8.js | |
+++ b/utf8.js | |
@@ -1,3 +1,3 @@ | |
function utf8Decode(str) { | |
- return decodeURIComponent( escape( str ) ); | |
+ return decodeURIComponent( unescape( str ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment