Revision: 1824
http://geeqie.svn.sourceforge.net/geeqie/?rev=1824&view=rev
Author: nadvornik
Date: 2009-08-25 22:21:46 +0000 (Tue, 25 Aug 2009)
Log Message:
-----------
use name as a tooltip of external editor if comment is missing
the hotkey dialog ignores entries with empty tooltip
Modified Paths:
--------------
trunk/src/layout_util.c
Modified: trunk/src/layout_util.c
===================================================================
--- trunk/src/layout_util.c 2009-08-25 21:30:50 UTC (rev 1823)
+++ trunk/src/layout_util.c 2009-08-25 22:21:46 UTC (rev 1824)
@@ -1816,7 +1816,12 @@
{
GList *path;
EditorDescription *editor = work->data;
- GtkActionEntry entry = { editor->key, NULL, editor->name,
editor->hotkey, editor->comment, G_CALLBACK(layout_menu_edit_cb) };
+ GtkActionEntry entry = { editor->key,
+ NULL,
+ editor->name,
+ editor->hotkey,
+ editor->comment ? editor->comment :
editor->name,
+ G_CALLBACK(layout_menu_edit_cb) };
if (editor->icon && register_theme_icon_as_stock(editor->key,
editor->icon))
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn