Re: [PATCH] Alert dialogs should not have window title according to the HIG



Martin Wehner wrote:
On Sun, 2005-12-18 at 02:04 +0100, Olav Vitters wrote:

On Sat, Dec 17, 2005 at 12:07:03AM -0800, Dennis Cranston wrote:
[..]

I have attached a one line fix for the "untitled window" button problem.

[..]

	gtk_window_set_title (GTK_WINDOW (dialog), "");
+	gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dialog), TRUE);
  	
	eel_alert_dialog_set_primary_label (EEL_ALERT_DIALOG (dialog),
	                                    primary_message);

Suggest to only set the icon title using gdk_window_set_icon_name. This
way the window border will have no name, the window list will and the
dialogs can still be seen in the window list.

--
Regards,
Olav


Yeah, that sounds like a good compromise. I just removed all the title
arguments though :(
Any takers?

According to the HIG we should not have alert dialogs in the window list:
"Alerts do not appear in the system window list. Consequently, take care to ensure that alerts stay above their parent window. Otherwise, users will be likely to lose the alert and find your application unresponsive for no apparent reason. Modal windows should always stay above the window(s) they block."

See also http://developer.gnome.org/projects/gup/hig/2.0/windows-alert.html

Jaap



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