gtk2/gdk/win32
Tor Lillqvist 0f7099e308 Bug 520286 - Non-deletable window has no minimize / maximize buttons
2008-03-10  Tor Lillqvist  <tml@novell.com>

	Bug 520286 - Non-deletable window has no minimize / maximize buttons

	* gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
	New debugging output function that decodes a set of WS_* bits.

	* gdk/win32/gdkprivate-win32.h: Declare it.

	* gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
	New function that enables or disables one menu entry in the system
	menu of a top-level window. (The corresponding decoration will
	then also be enabled or disabled (grayed).)

	(update_style_bits): Do as the comment says and don't try to
	update the window style based on the GdkWMFunctions set for the
	window.
		   
	(update_system_menu): New function that enables or disables the
	system menu entries based on a window's stored set of
	GdkWMFunctions.

	(gdk_window_set_functions): Call update_system_menu() instead of
	update_style_bits().


svn path=/trunk/; revision=19743
2008-03-10 15:48:06 +00:00
..
rc Remove all .cvsignore files. 2007-12-13 11:18:45 +00:00
bdfcursor.c Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515, 2007-04-28 14:41:04 +00:00
cursor.bdf Committing changes to the source bdf font file that I forgot to commit 2007-08-17 03:40:39 +00:00
gdkapplaunchcontext-win32.c Implement GAppLaunchContext in gdk, providing startup notification. 2007-12-13 05:16:33 +00:00
gdkcolor-win32.c gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkcursor-win32.c Use native Win32 cursors where it makes sense 2007-04-26 05:27:55 +00:00
gdkdisplay-win32.c gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h 2008-01-15 15:32:37 +00:00
gdkdnd-win32.c Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x since 2.6 or 2006-08-29 23:01:53 +00:00
gdkdrawable-win32.c Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x since 2.6 or 2006-08-29 23:01:53 +00:00
gdkdrawable-win32.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkevents-win32.c gdk/win32/gdkevents-win32.c Fixed two declarations in the middle of a 2008-02-07 19:25:07 +00:00
gdkfont-win32.c Replace all calls to g_strcasecmp() with g_ascii_strcasecmp(). 2006-02-20 08:52:19 +00:00
gdkgc-win32.c gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkgeometry-win32.c gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h 2008-01-14 14:02:12 +00:00
gdkglobals-win32.c gdk/win32/gdkdisplay-win32.c gdk/win32/gdkglobals-win32.c 2008-01-10 21:40:48 +00:00
gdkim-win32.c On WM_MOUSEMOVE, don't check if this process owns the active window. This 2005-03-18 10:21:51 +00:00
gdkimage-win32.c Set visual depth to 24 for 32 bits-per-pixel devices on Win32. This allows 2005-10-13 07:08:49 +00:00
gdkinput-win32.c Remove. (gdk_device_get_type): Drop class init function. The X11 version 2007-02-19 00:32:32 +00:00
gdkinput-win32.h Remove. (gdk_device_get_type): Drop class init function. The X11 version 2007-02-19 00:32:32 +00:00
gdkinput.c Remove. (gdk_device_get_type): Drop class init function. The X11 version 2007-02-19 00:32:32 +00:00
gdkkeys-win32.c Cosmetic changes. 2007-07-24 14:40:21 +00:00
gdkmain-win32.c Bug 520286 - Non-deletable window has no minimize / maximize buttons 2008-03-10 15:48:06 +00:00
gdkpixmap-win32.c Include gdksreen.h (#337032, Kazuki IWAMOTO) 2006-04-03 18:12:04 +00:00
gdkpixmap-win32.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkprivate-win32.h Bug 520286 - Non-deletable window has no minimize / maximize buttons 2008-03-10 15:48:06 +00:00
gdkproperty-win32.c Add a gtk-im-module GTK setting 2007-12-18 03:24:17 +00:00
gdkscreen-win32.c gdk/win32/gdkdisplay-win32.c gdk/win32/gdkglobals-win32.c 2008-01-10 21:40:48 +00:00
gdkselection-win32.c Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x since 2.6 or 2006-08-29 23:01:53 +00:00
gdkspawn-win32.c workaround for bug #137496, the real fix would involve just another small 2004-04-11 15:25:06 +00:00
gdktestutils-win32.c New file, dummy implementations. 2007-11-25 22:25:18 +00:00
gdkvisual-win32.c Set visual depth to 24 for 32 bits-per-pixel devices on Win32. This allows 2005-10-13 07:08:49 +00:00
gdkwin32.h gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 2008-02-05 16:47:24 +00:00
gdkwin32id.c Fixes #136082 and #135265, patch by Morten Welinder. 2004-03-06 03:38:59 +00:00
gdkwindow-win32.c Bug 520286 - Non-deletable window has no minimize / maximize buttons 2008-03-10 15:48:06 +00:00
gdkwindow-win32.h gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 2008-02-05 16:47:24 +00:00
libwntab32x.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
Makefile.am Implement GAppLaunchContext in gdk, providing startup notification. 2007-12-13 05:16:33 +00:00
makefile.msc [merged from gtk-2-6 branch] let dash_offset shift the start of the line 2005-04-03 21:03:08 +00:00
pktdef.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
wintab.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
xcursors.h Modified the sb_h_double_arrow and sb_v_double_arrow mouse cursors to 2007-08-15 14:58:45 +00:00