SF.net SVN: geany:[3721] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Apr 21 20:53:42 UTC 2009


Revision: 3721
          http://geany.svn.sourceforge.net/geany/?rev=3721&view=rev
Author:   eht16
Date:     2009-04-21 20:53:42 +0000 (Tue, 21 Apr 2009)

Log Message:
-----------
Add new toolbar element: Print (patch by Roland Baudin, thanks).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/geany.html
    trunk/doc/geany.txt
    trunk/src/toolbar.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-04-21 20:53:23 UTC (rev 3720)
+++ trunk/ChangeLog	2009-04-21 20:53:42 UTC (rev 3721)
@@ -7,6 +7,8 @@
  * src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
    Add utils_str_middle_truncate() and
    document_get_basename_for_display() to the plugin API.
+ * doc/geany.html, doc/geany.txt, src/toolbar.c:
+   Add new toolbar element: Print (patch by Roland Baudin, thanks).
 
 
 2009-04-20  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html	2009-04-21 20:53:23 UTC (rev 3720)
+++ trunk/doc/geany.html	2009-04-21 20:53:42 UTC (rev 3721)
@@ -6,7 +6,7 @@
 <meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
 <title>Geany</title>
 <meta name="authors" content="Enrico Tröger  Nick Treleaven  Frank Lanitz" />
-<meta name="date" content="2009-03-31" />
+<meta name="date" content="$Date$" />
 <style type="text/css">
 
 /*
@@ -139,7 +139,7 @@
 <br />Nick Treleaven
 <br />Frank Lanitz</td></tr>
 <tr><th class="docinfo-name">Date:</th>
-<td>2009-03-31</td></tr>
+<td>$Date$</td></tr>
 <tr><th class="docinfo-name">Version:</th>
 <td>0.17</td></tr>
 </tbody>
@@ -3834,8 +3834,8 @@
 <p>Then edit it and add any of the available elements listed in the file or remove
 any of the existing elements. Of course, you can also reorder the elements as
 you wish and add or remove additional separators.
-This file must be valid XML unless it can't be loaded and the global toolbar
-UI definition is used.</p>
+This file must be valid XML, otherwise the global toolbar UI definition
+will be used instead.</p>
 <div class="note">
 <p class="first admonition-title">Note</p>
 <ol class="last arabic simple">
@@ -3879,6 +3879,9 @@
 <tr><td>CloseAll</td>
 <td>Close all open files</td>
 </tr>
+<tr><td>Print</td>
+<td>Print the current file</td>
+</tr>
 <tr><td>Cut</td>
 <td>Cut the current selection</td>
 </tr>
@@ -3940,7 +3943,7 @@
 <td>The goto field belonging to the 'Goto' element (can be used alone)</td>
 </tr>
 <tr><td>Goto</td>
-<td>Jump to the entered line number (only useful if you also use 'SearchEntry')</td>
+<td>Jump to the entered line number (only useful if you also use 'GotoEntry')</td>
 </tr>
 <tr><td>Preferences</td>
 <td>Show the preferences dialog</td>
@@ -4789,7 +4792,7 @@
 <div class="footer">
 <hr class="footer" />
 <a class="reference external" href="geany.txt">View document source</a>.
-Generated on: 2009-04-05 15:09 UTC.
+Generated on: 2009-04-21 19:06 UTC.
 Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
 
 </div>

Modified: trunk/doc/geany.txt
===================================================================
--- trunk/doc/geany.txt	2009-04-21 20:53:23 UTC (rev 3720)
+++ trunk/doc/geany.txt	2009-04-21 20:53:42 UTC (rev 3721)
@@ -3476,6 +3476,7 @@
 Reload             Reload the current file from disk
 Close              Close the current file
 CloseAll           Close all open files
+Print              Print the current file
 Cut                Cut the current selection
 Copy               Copy the current selection
 Paste              Paste the contents of the clipboard

Modified: trunk/src/toolbar.c
===================================================================
--- trunk/src/toolbar.c	2009-04-21 20:53:23 UTC (rev 3720)
+++ trunk/src/toolbar.c	2009-04-21 20:53:42 UTC (rev 3721)
@@ -72,6 +72,7 @@
 	{ "Goto", GTK_STOCK_JUMP_TO, NULL, NULL, N_("Jump to the entered line number"), G_CALLBACK(on_toolbutton_goto_clicked) },
 	{ "Preferences", GTK_STOCK_PREFERENCES, NULL, NULL, N_("Show the preferences dialog"), G_CALLBACK(on_toolbutton_preferences_clicked) },
 	{ "Quit", GTK_STOCK_QUIT, NULL, NULL, N_("Quit Geany"), G_CALLBACK(on_toolbutton_quit_clicked) },
+	{ "Print", GTK_STOCK_PRINT, NULL, NULL, N_("Print document"), G_CALLBACK(on_print1_activate) }
 };
 const guint ui_entries_n = G_N_ELEMENTS(ui_entries);
 


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



More information about the Commits mailing list