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

Re: Feedback on katoob



On Sun, 2002-08-11 at 20:16, Jens Askengren wrote:
> Sun 2002-08-11 at 08.26 Mohammed Sameer wrote:
> 
> 
> > >  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.
> 
> > I can get the idea about removing the toolbar options but i really can't
> > get it for the window placement [...]
> 
> I don't think the window geometry settings needs a lot of options. Just
> save the windows position and size on exit. Most users would probably
> not notice it. But those that likes to carefully layout their windows
> will be happy.
Ok, it can be removed from the main menubar.
perhaps i'll add an "Advanced" category in the preferences dialog
containing the main window settings
> The only reason against saving window geomentry that I can think of, is
> that it might place the window outside the screen if the user switches
> resoultion. This is easily solved though; by also saving the resolution
> and do some scaling if it doesen't match the current resolution.
I have an idea.
the user uses 640*480, save the window placement under640-480
then the second time the user fires katoob under 800*600
then when exit, save the new placement under 800-600,... and so one
when katoob starts and doesn't find a placement for the current
resolution, it'll run with the defaults!

> > [...] But adding support for the GNOME
> > toolbar style'll increase the libraries required by katoob.
> > The same for gconf "althought it'll make my work easier instead of
> > writing a parser for the configuration file" , I'll force the user to
> > install many libraries to run katoob [...]
> 
> I am aware of that. But I suspect a lot of people have both the KDE and
> GNOME libraries installed just to be able to run the best applications
> from both desktops?
> 
I really don't want it to be turned into a GNOME application but here is
a deal ;)
if i find a way to allow a gtktoolbar to get the default system
settings, i'll use it, and to be controlled by GNOME
but if i didn't find a way i'm sorry i can't do it
ok? :-)
I really don't have much experience with gnome programming.

I think the upcoming 0.2.1 well have GConf support at least.

I've added some items to the menubar, attached the file.

-- 
----------------
-- Uniball @ DALnet
Linux registered user # 224950
ICQ # 58475622
With Great Power, Comes Great Responsibilities.
/* 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/Sa_ve Copy"),	NULL,			dummy_func,	0, "<StockItem>", GTK_STOCK_SAVE_AS },
{ N_("File/_Revert"),		NULL,			dummy_func,	0, "<Item>" },
{ 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>" },

{ N_("/_View"),                 NULL,			0,		0, "<Branch>", },
{ 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>", },

{ 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_("/Search/sep4"),           NULL,                   0,              0, "<Separator>" },
{ N_("/Search/Goto _Line"),     NULL,			dummy_func,	0, "<Item>" },

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