SF.net SVN: geany:[3093] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Tue Oct 14 17:47:26 UTC 2008
Revision: 3093
http://geany.svn.sourceforge.net/geany/?rev=3093&view=rev
Author: ntrel
Date: 2008-10-14 17:47:26 +0000 (Tue, 14 Oct 2008)
Log Message:
-----------
Fix having a small gap before plugin toolbar items.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/ui_utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-10-14 17:39:50 UTC (rev 3092)
+++ trunk/ChangeLog 2008-10-14 17:47:26 UTC (rev 3093)
@@ -1,7 +1,7 @@
2008-10-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Update of name of Korean translator. Thanks
- Park Jang-heon
+ Park Jang-heon.
2008-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
@@ -19,6 +19,8 @@
except the Demo plugin (as an example).
* doc/Doxyfile.in, doc/pluginsymbols.c:
Generate API documentation for deprecated symbols.
+ * src/ui_utils.c:
+ Fix having a small gap before plugin toolbar items.
2008-10-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c 2008-10-14 17:39:50 UTC (rev 3092)
+++ trunk/src/ui_utils.c 2008-10-14 17:47:26 UTC (rev 3093)
@@ -1560,9 +1560,12 @@
GtkWidget *quit = lookup_widget(main_widgets.window, "toolbutton_quit");
gint pos = gtk_toolbar_get_item_index(GTK_TOOLBAR(main_widgets.toolbar), GTK_TOOL_ITEM(quit));
+ /* use one position before the real position of the quit button to place new
+ * items between the last 2 separators and the quit button */
if (pos > 0)
- pos--; /* use one position before the real position of the quit button to place new
- * items between the last separator and the quit button */
+ pos--;
+ if (pos > 0)
+ pos--;
return pos;
}
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