Branch: refs/heads/master Author: Dimitar Zhekov dimitar.zhekov@gmail.com Committer: Dimitar Zhekov dimitar.zhekov@gmail.com Date: Mon, 02 Jun 2014 17:19:20 UTC Commit: d16f94335daba5a1668eee9301b58c0190daaddc https://github.com/geany/geany-plugins/commit/d16f94335daba5a1668eee9301b58c...
Log Message: ----------- geanyinsertnum PLUGIN_KEY_GROUP() -> plugin_set_key_group()
Modified Paths: -------------- geanyinsertnum/src/insertnum.c
Modified: geanyinsertnum/src/insertnum.c 7 lines changed, 4 insertions(+), 3 deletions(-) =================================================================== @@ -42,7 +42,7 @@ GeanyFunctions *geany_functions; PLUGIN_VERSION_CHECK(189)
PLUGIN_SET_INFO(_("Insert Numbers"), _("Insert/Fill columns with numbers."), - "0.2.1", "Dimitar Toshkov Zhekov dimitar.zhekov@gmail.com") + "0.2.2", "Dimitar Toshkov Zhekov dimitar.zhekov@gmail.com")
/* Keybinding(s) */ enum @@ -51,8 +51,6 @@ enum COUNT_KB };
-PLUGIN_KEY_GROUP(insert_numbers, COUNT_KB) - /* when altering the RANGE_ or MAX_LINES, make sure that RANGE_ * MAX_LINES fit in gint64, and that RANGE_LEN is enough for RANGE_ digits and sign */ #define RANGE_MIN (-2147483647 - 1) @@ -468,7 +466,10 @@ static void on_tools_show(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpo
void plugin_init(G_GNUC_UNUSED GeanyData *data) { + GeanyKeyGroup *plugin_key_group; + main_locale_init(LOCALEDIR, GETTEXT_PACKAGE); + plugin_key_group = plugin_set_key_group(geany_plugin, "insert_numbers", COUNT_KB, NULL);
start_value = 1; step_value = 1;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).