Author: abrander
Date: 2010-12-19 21:20:58 +0100 (Sun, 19 Dec 2010)
New Revision: 3688
Modified:
trunk/src/rs-toolbox.c
Log:
Give some hint to the WM about the spinner-popups.
Modified: trunk/src/rs-toolbox.c
===================================================================
--- trunk/src/rs-toolbox.c 2010-12-19 20:01:45 UTC (rev 3687)
+++ trunk/src/rs-toolbox.c 2010-12-19 20:20:58 UTC (rev 3688)
@@ -25,6 +25,7 @@
#endif
#include "gettext.h"
#include "rs-toolbox.h"
+#include "gtk-interface.h"
#include "gtk-helper.h"
#include "rs-settings.h"
#include "rs-curve.h"
@@ -386,6 +387,8 @@
GtkWidget *box = gtk_hbox_new(FALSE, 10);
gtk_window_set_title(GTK_WINDOW(popup), _("Edit
Value"));
gtk_window_set_position(GTK_WINDOW(popup),
GTK_WIN_POS_MOUSE);
+ gtk_window_set_transient_for(GTK_WINDOW(popup),
rawstudio_window);
+ gtk_window_set_type_hint(GTK_WINDOW(popup),
GDK_WINDOW_TYPE_HINT_UTILITY);
gtk_box_pack_start(GTK_BOX(box), label, FALSE, TRUE, 5);
gtk_box_pack_start(GTK_BOX(box), GTK_WIDGET(spinner),
FALSE, TRUE, 0);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit