gnome-applets r10900 - trunk/mixer
- From: callum svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r10900 - trunk/mixer
- Date: Fri, 8 Aug 2008 01:13:10 +0000 (UTC)
Author: callum
Date: Fri Aug 8 01:13:10 2008
New Revision: 10900
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=10900&view=rev
Log:
More explicit window parameters set for the mixer popup (bug 456498).
Modified:
trunk/mixer/ChangeLog
trunk/mixer/dock.c
Modified: trunk/mixer/dock.c
==============================================================================
--- trunk/mixer/dock.c (original)
+++ trunk/mixer/dock.c Fri Aug 8 01:13:10 2008
@@ -68,12 +68,16 @@
dock->timeout = 0;
/* We can't use a simple GDK_WINDOW_TYPE_HINT_DOCK here since
- * the dock windows don't accept input by default. Instead we use the
- * popup-menu type as a base. */
+ * the dock windows don't accept input by default. Instead we use
+ * the popup menu type. In the end we set everything by hand anyway
+ * since what happens depends very heavily on the window manager. */
gtk_window_set_type_hint (GTK_WINDOW (dock),
GDK_WINDOW_TYPE_HINT_POPUP_MENU);
gtk_window_set_keep_above (GTK_WINDOW (dock), TRUE);
gtk_window_set_decorated (GTK_WINDOW (dock), FALSE);
+ gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dock), TRUE);
+ gtk_window_set_skip_pager_hint (GTK_WINDOW (dock), TRUE);
+ gtk_window_set_resizable (GTK_WINDOW (dock), FALSE);
gtk_window_stick (GTK_WINDOW (dock));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]