SF.net SVN: geany:[3675] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Tue Mar 31 17:39:17 UTC 2009
Revision: 3675
http://geany.svn.sourceforge.net/geany/?rev=3675&view=rev
Author: eht16
Date: 2009-03-31 17:39:17 +0000 (Tue, 31 Mar 2009)
Log Message:
-----------
Add widget names for the menubar and toolbar.
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/geany.html
trunk/doc/geany.txt
trunk/src/main.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-03-31 15:11:58 UTC (rev 3674)
+++ trunk/ChangeLog 2009-03-31 17:39:17 UTC (rev 3675)
@@ -1,3 +1,9 @@
+2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * doc/geany.txt, doc/geany.html, src/main.c:
+ Add widget names for the menubar and toolbar.
+
+
2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html 2009-03-31 15:11:58 UTC (rev 3674)
+++ trunk/doc/geany.html 2009-03-31 17:39:17 UTC (rev 3675)
@@ -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-16" />
+<meta name="date" content="2009-03-29" />
<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-16</td></tr>
+<td>2009-03-29</td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>0.17</td></tr>
</tbody>
@@ -757,7 +757,7 @@
<p>To get a defined style get noticed by Geany you must it assign to
one of Geany's widgets. To do so, use the following line:</p>
<pre class="literal-block">
-widget "Geany*" style "geany_style"
+widget "Geany*" style "geanyStyle"
</pre>
<p>This would assign your already defined style "geany_style" to all Geany
widgets. You can also assign styles only to specific widgets. At the
@@ -770,6 +770,8 @@
<li>GeanyDialogPrefs</li>
<li>GeanyDialogProject</li>
<li>GeanyDialogSearch</li>
+<li>GeanyMenubar</li>
+<li>GeanyToolbar</li>
</ul>
<p>Example of a simple <tt class="docutils literal"><span class="pre">.gtkrc-2.0</span></tt>:</p>
<pre class="literal-block">
@@ -1811,7 +1813,7 @@
<dd>Whether to show the toolbar.</dd>
<dt>Append Toolbar to the Menu</dt>
<dd>Allows to append the toolbar to the main menu bar instead of placing it below.
-This is useful to save horizontal space.</dd>
+This is useful to save vertical space.</dd>
</dl>
</div>
<div class="section" id="appearance">
@@ -4715,7 +4717,7 @@
<div class="footer">
<hr class="footer" />
<a class="reference external" href="geany.txt">View document source</a>.
-Generated on: 2009-03-29 16:08 UTC.
+Generated on: 2009-03-31 17:37 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-03-31 15:11:58 UTC (rev 3674)
+++ trunk/doc/geany.txt 2009-03-31 17:39:17 UTC (rev 3675)
@@ -376,7 +376,7 @@
To get a defined style get noticed by Geany you must it assign to
one of Geany's widgets. To do so, use the following line::
- widget "Geany*" style "geany_style"
+ widget "Geany*" style "geanyStyle"
This would assign your already defined style "geany_style" to all Geany
widgets. You can also assign styles only to specific widgets. At the
@@ -389,6 +389,8 @@
* GeanyDialogPrefs
* GeanyDialogProject
* GeanyDialogSearch
+* GeanyMenubar
+* GeanyToolbar
Example of a simple ``.gtkrc-2.0``::
Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c 2009-03-31 15:11:58 UTC (rev 3674)
+++ trunk/src/main.c 2009-03-31 17:39:17 UTC (rev 3675)
@@ -292,6 +292,8 @@
gtk_widget_set_name(main_widgets.window, "GeanyMainWindow");
gtk_widget_set_name(ui_widgets.toolbar_menu, "GeanyToolbarMenu");
gtk_widget_set_name(main_widgets.editor_menu, "GeanyEditMenu");
+ gtk_widget_set_name(ui_lookup_widget(main_widgets.window, "menubar1"), "GeanyMenubar");
+ gtk_widget_set_name(main_widgets.toolbar, "GeanyToolbar");
#if ! GTK_CHECK_VERSION(2, 10, 0)
/* hide Page setup menu item, it isn't supported with non-GTK printing */
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