Permalink
Browse files

merging changes from FooBarWidget

  • Loading branch information...
2 parents 50e5827 + 58a3365 commit 2ef9dfb5b6cbd702963b49c5db8d121113560090 Matt Swasey committed Jan 1, 2009
Showing with 8 additions and 22 deletions.
  1. +2 −15 install.sh
  2. +6 −7 rails.xml
View
@@ -1,4 +1,5 @@
#!/bin/sh
+set -v
killall gedit
@@ -26,19 +27,5 @@ if [ ! -d $HOME/.gnome2/gedit/plugins ]
then
mkdir -p ~/.gnome2/gedit/plugins
fi
-cp -R plugins/* ~/.gnome2/gedit/plugins
-
-if [ ! -d $HOME/.gnome2/gedit/styles ]
-then
- mkdir -p ~/.gnome2/gedit/styles
-fi
-cp -R styles/* ~/.gnome2/gedit/styles
-
-# set Darkmate as default Gedit Theme, It supports Rails specific syntax
-#
-# find more gedit themes at http://github.com/mig/gedit-themes
-gconftool-2 --set /apps/gedit-2/preferences/editor/colors/scheme -t string darkmate
-
-# set default plugins
-gconftool-2 --set /apps/gedit-2/plugins/active-plugins -t list --list-type string [line_tools,classbrowser,auto_completion,snapopen,sessionsaver,codecomment,indent,filebrowser,snippets,externaltools]
+cp -R plugins/* ~/.gnome2/gedit/plugins/
View
@@ -19,13 +19,12 @@
<glob pattern="Rakefile"/>
</mime-type>
<mime-type type="application/x-ruby">
- <comment>Ruby JavaScript</comment>
- <glob pattern="*.rjs"/>
- </mime-type>
- <mime-type type="application/x-ruby">
- <comment>Ruby XML Template</comment>
- <glob pattern="*.rxml"/>
- <glob pattern="*.builder"/>
+ <comment xml:lang="en">Ruby script</comment>
+ <!-- Some Ruby on Rails source files are incorrectly recognized as VHDL,
+ so we override that. -->
+ <magic priority="21">
+ <match value="#--\n# " type="string" offset="0:10"/>
+ </magic>
</mime-type>
<mime-type type="text/x-yaml">
<comment xml:lang="en">YAML</comment>

0 comments on commit 2ef9dfb

Please sign in to comment.