Revision: 956 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=956&view=rev Author: frlan Date: 2009-09-26 10:22:56 +0000 (Sat, 26 Sep 2009)
Log Message: ----------- GeanyLaTeX: Move defintions for keybindings enum to latexkeybindings.h
Modified Paths: -------------- trunk/geanylatex/src/geanylatex.c trunk/geanylatex/src/latexkeybindings.h
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2009-09-26 10:22:32 UTC (rev 955) +++ trunk/geanylatex/src/geanylatex.c 2009-09-26 10:22:56 UTC (rev 956) @@ -68,31 +68,6 @@ /* Configuration file */ static gchar *config_file = NULL;
-/* Doing some basic keybinding stuff */ -enum -{ - KB_LATEX_WIZARD, - KB_LATEX_INSERT_LABEL, - KB_LATEX_INSERT_REF, - KB_LATEX_INSERT_NEWLINE, - KB_LATEX_TOGGLE_ACTIVE, - KB_LATEX_ENVIRONMENT_INSERT, - KB_LATEX_INSERT_NEWITEM, - KB_LATEX_REPLACE_SPECIAL_CHARS, - KB_LATEX_FORMAT_BOLD, - KB_LATEX_FORMAT_ITALIC, - KB_LATEX_FORMAT_TYPEWRITER, - KB_LATEX_FORMAT_CENTER, - KB_LATEX_FORMAT_LEFT, - KB_LATEX_FORMAT_RIGHT, - KB_LATEX_ENVIRONMENT_INSERT_DESCRIPTION, - KB_LATEX_ENVIRONMENT_INSERT_ITEMIZE, - KB_LATEX_ENVIRONMENT_INSERT_ENUMERATE, - KB_LATEX_STRUCTURE_LVLUP, - KB_LATEX_STRUCTURE_LVLDOWN, - COUNT_KB -}; - PLUGIN_KEY_GROUP(geanylatex, COUNT_KB)
const GtkActionEntry format_icons[] =
Modified: trunk/geanylatex/src/latexkeybindings.h =================================================================== --- trunk/geanylatex/src/latexkeybindings.h 2009-09-26 10:22:32 UTC (rev 955) +++ trunk/geanylatex/src/latexkeybindings.h 2009-09-26 10:22:56 UTC (rev 956) @@ -24,6 +24,32 @@
#include "geanylatex.h"
+/* Enum for available keybindings */ +enum +{ + KB_LATEX_WIZARD, + KB_LATEX_INSERT_LABEL, + KB_LATEX_INSERT_REF, + KB_LATEX_INSERT_NEWLINE, + KB_LATEX_TOGGLE_ACTIVE, + KB_LATEX_ENVIRONMENT_INSERT, + KB_LATEX_INSERT_NEWITEM, + KB_LATEX_REPLACE_SPECIAL_CHARS, + KB_LATEX_FORMAT_BOLD, + KB_LATEX_FORMAT_ITALIC, + KB_LATEX_FORMAT_TYPEWRITER, + KB_LATEX_FORMAT_CENTER, + KB_LATEX_FORMAT_LEFT, + KB_LATEX_FORMAT_RIGHT, + KB_LATEX_ENVIRONMENT_INSERT_DESCRIPTION, + KB_LATEX_ENVIRONMENT_INSERT_ITEMIZE, + KB_LATEX_ENVIRONMENT_INSERT_ENUMERATE, + KB_LATEX_STRUCTURE_LVLUP, + KB_LATEX_STRUCTURE_LVLDOWN, + COUNT_KB +}; + + void glatex_kblabel_insert(G_GNUC_UNUSED guint key_id); void glatex_kbref_insert(G_GNUC_UNUSED guint key_id); void glatex_kbref_insert_environment(G_GNUC_UNUSED guint key_id);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.