[maemo-commits] [maemo-commits] /trunk/osso-application-installer/src/ - marivoll - r5209

From: www-data www-data at stage.maemo.org
Date: Wed Jul 5 21:05:59 EEST 2006
	Show more specific information banners when pressing on
	insensitive things.

	* src/main.cc: Throughout, onyl show "Foo has been cancelled"
	information notes for UI version 2 and up.
	(set_operation_label): Added "insens" parameter.  Updated all
	callers to provide the right string.  Force old value of "Not
	available" for UI versions below 2.  Pass insens text on to
	set_operation_menu_label.
	(make_last_update_label): Show "Never" when last_update is zero.
	(install_named_package): Use available logical instead of English.
	(insensitive_press): Expect text to show as data parameter.
	Changed all signal connections to provide the right text.
	(insensitive_operation_press): New.
	(main): Use it for the toolbar operation button.

	* src/menu.h, src/menu.cc (set_operation_menu_label): Added insens
	parameter.  Updated all callers to provide the right string.
	Force "Not available" for UI versions below 2.
	(add_item): Added insens parameter.  Updated all callers.  Only
	connect to insensitive-press signal when insens is provided.
	Force "Not available" for UI versions below 2.
	(insensitive_operation_press): New.
	(create_menu): Use it for the operation menu item.


U   projects/haf/trunk/osso-application-installer/src/main.cc
U   projects/haf/trunk/osso-application-installer/src/menu.cc
U   projects/haf/trunk/osso-application-installer/src/menu.h

URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=5209

/trunk/osso-application-installer/src/

More information about the maemo-commits mailing list