Commit 570fd9b 1 parent 87726e3 commit 570fd9b Copy full SHA for 570fd9b
File tree 3 files changed +33
-0
lines changed
3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ 2008-07-08 Lincoln de Sousa <
[email protected] >
2
+
3
+ Bug #31 - Double click behavior
4
+
5
+ * src/guake.py (Guake.add_tab): Setting word_chars of each new
6
+ terminal.
7
+
8
+ * data/guake.schemas: Adding word_chars property in guake schemas.
9
+
1
10
2008-06-26 Gabriel Falcão <
[email protected] >
2
11
3
12
* data/guake.1: Added.
Original file line number Diff line number Diff line change 296
296
</locale>
297
297
</schema>
298
298
299
+ <!-- These options are not shown in guake-prefs window to
300
+ avoid bloating that pretty ui =) -->
301
+
302
+ <schema>
303
+ <key>/schemas/apps/guake/general/word_chars</key>
304
+ <applyto>/apps/guake/general/word_chars</applyto>
305
+ <owner>guake</owner>
306
+ <type>string</type>
307
+ <default>-A-Za-z0-9,./?%&#:_</default>
308
+ <locale name="C">
309
+ <!-- these comments were stolen from gnome-terminal,
310
+ thanks gnome-temrinal buddies -->
311
+ <short>Characters that are considered "part of a word"</short>
312
+ <long>When selecting text by word, sequences of these
313
+ characters are considered single words. Ranges can be
314
+ given as "A-Z". Literal hyphen (not expressing a
315
+ range) should be the first character given. </long>
316
+ </locale>
317
+ </schema>
318
+
299
319
</schemalist>
300
320
</gconfschemafile>
Original file line number Diff line number Diff line change @@ -983,6 +983,10 @@ def add_tab(self):
983
983
last_added = len (self .term_list )
984
984
self .term_list .append (vte .Terminal ())
985
985
986
+ # setting the word chars in the terminal
987
+ word_chars = self .client .get_string (GCONF_PATH + 'general/word_chars' )
988
+ self .term_list [last_added ].set_word_chars (word_chars )
989
+
986
990
shell_name = self .client .get_string (GCONF_PATH + 'general/default_shell' )
987
991
directory = os .path .expanduser ('~' )
988
992
pid = self .term_list [last_added ].\
You can’t perform that action at this time.
0 commit comments