[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feedback on katoob



Hello

Attached is a file with a menu mockup that more closely follows the
gnome HIG: http://developer.gnome.org/projects/gup/hig/
I know this is not a gnome program, but it does not hurt to try to keep
a consistent meny layout and use stockitems when possible.


I am afraid that the settings dialog would scare anyone who has read the
gnome usability mailing list. I'd suggest that the whole "Interface" tab
be removed, since the toolbar preferences is a global setting. Most of
the other settings involving window placement could probably also be
removed. Having sane dafaults is often much better than a lot of strange
settings.


Uh.. that sounded very critic. Anyway, it seems to be a nice, promising
application. 

	-Jens

/* Menu mockup for katoob to closely match the gnome HIG
 * jensus at linux dot nu
 */
static GtkItemFactoryEntry menu_items[] =
{
{ N_("/_File"),				NULL,			0,		0, "<Branch>" },
{ N_("/File/_New"),			"<control>N", 		dummy_func,	0, "<StockItem>", GTK_STOCK_NEW },
{ N_("/File/_Open"),			"<control>O", 		dummy_func,	0, "<StockItem>", GTK_STOCK_OPEN },
{ N_("/File/Recent _Files"),		NULL, 			0, 		0, "<Branch>" },
{ N_("/File/sep1"),			NULL,         		0,		0, "<Separator>" },
{ N_("/File/_Save"),			"<control>S", 		dummy_func,	0, "<StockItem>", GTK_STOCK_SAVE },
{ N_("/File/Save _As"),			"<shift><control>S", 	dummy_func,	0, "<StockItem>", GTK_STOCK_SAVE_AS },
{ N_("/File/sep2"),			NULL,         		0,		0, "<Separator>" },
{ N_("/File/_Quit"),			"<control>Q", 		dummy_func,	0, "<StockItem>", GTK_STOCK_QUIT },


{ N_("/_Edit"),				NULL,         		0,		0, "<Branch>" },
{ N_("/Edit/_Undo"),			"<control>Z", 		dummy_func,	0, "<StockItem>", GTK_STOCK_UNDO },
{ N_("/Edit/_Redo"),			"<shift><control>Z",	dummy_func,	0, "<StockItem>", GTK_STOCK_REDO },
{ N_("/Edit/sep1"),			NULL,         		0,		0, "<Separator>" },
{ N_("/Edit/Cu_t"),			"<control>X", 		dummy_func,	0, "<StockItem>", GTK_STOCK_CUT },
{ N_("/Edit/_Copy"),			"<control>C", 		dummy_func,	0, "<StockItem>", GTK_STOCK_COPY },
{ N_("/Edit/_Paste"),			"<control>V", 		dummy_func,	0, "<StockItem>", GTK_STOCK_PASTE },
{ N_("/Edit/_Delete"),			NULL, 			dummy_func,	0, "<StockItem>", GTK_STOCK_DELETE },
{ N_("/Edit/sep2"),			NULL,         		0,		0, "<Separator>" },
{ N_("/Edit/Select _All"),		"<control>A", 		dummy_func,	0, "<Item>"  },
{ N_("/Edit/Dese_lect All"),		"<shift><control>A",	dummy_func,	0, "<Item>"  },
{ N_("/Edit/sep3"),			NULL,         		0,		0, "<Separator>" },
{ N_("/Edit/_Preferences"),		NULL,			dummy_func,	0, "<Item>" },
/* Removed "save window geometry": see gnome-dev/usability list for motivation */
/* Removed "save prefs on exit":  use gconf */


{ N_("/_View"),                   	NULL,			0,		0, "<Branch>", },
/* I don't think GTK_STOCK_JUSTIFY_[RIGHT|LEFT] should be used here. Maybe an arrow, like Yudit instead?
 * It would be nice with a keybord shortcut to change direction
 */
{ N_("/View/_Right To Left"),		NULL,         		dummy_func,	0, "<Item>", },
{ N_("/View/_Left To Right"),		NULL,         		dummy_func,	0, "<Item>", },
{ N_("/View/_Wrap Text"),		NULL,         		dummy_func,	0, "<Item>", },
{ N_("/View/_Encoding"),		NULL,         		0,		0, "<Branch>", },
/* toolbar settings removed, since it is a global setting controlled by the desktop default*/


{ N_("/_Search"),                   	NULL,			0,		0, "<Branch>", },
{ N_("/Search/_Find"),			"<control>F",		dummy_func,	0, "<StockItem>", GTK_STOCK_FIND },
{ N_("/Search/Find _Next"),		"<control>G",		dummy_func,	0, "<StockItem>", GTK_STOCK_FIND },
{ N_("/Search/_Replace"),		"<control>R",		dummy_func,	0, "<StockItem>", GTK_STOCK_FIND_AND_REPLACE },


{ N_("/_Help"),                        	NULL,         		0,		0, "<Branch>" },
{ N_("/Help/_About"),			NULL,         		dummy_func,    	0, "<StockItem>", GTK_STOCK_ABOUT },
};