SF.net SVN: geany-plugins:[1317] trunk/geanygendoc/src/ggd-plugin.c

colombanw at users.sourceforge.net colombanw at xxxxx
Wed Apr 28 21:30:47 UTC 2010


Revision: 1317
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1317&view=rev
Author:   colombanw
Date:     2010-04-28 21:30:47 +0000 (Wed, 28 Apr 2010)

Log Message:
-----------
GeanyGenDoc: Show the "indent" preference

Show the "indent" preference in the plugin's preference dialog.

Modified Paths:
--------------
    trunk/geanygendoc/src/ggd-plugin.c

Modified: trunk/geanygendoc/src/ggd-plugin.c
===================================================================
--- trunk/geanygendoc/src/ggd-plugin.c	2010-04-28 21:30:25 UTC (rev 1316)
+++ trunk/geanygendoc/src/ggd-plugin.c	2010-04-28 21:30:47 UTC (rev 1317)
@@ -471,6 +471,14 @@
   ggd_opt_group_set_proxy_gtktogglebutton (plugin->config, &GGD_OPT_save_to_refresh,
                                            widget);
   gtk_box_pack_start (GTK_BOX (box), widget, FALSE, FALSE, 0);
+  /* indent */
+  widget = gtk_check_button_new_with_mnemonic (_("_Indent comments"));
+  ui_widget_set_tooltip_text (widget, _("Whether to indent the comments to fit "
+                                        "the indentation at the insertion "
+                                        "position."));
+  ggd_opt_group_set_proxy_gtktogglebutton (plugin->config, &GGD_OPT_indent,
+                                           widget);
+  gtk_box_pack_start (GTK_BOX (box), widget, FALSE, FALSE, 0);
   
   gtk_widget_show_all (box);
   


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list