[gnome-commander] If not set to GDK_WINDOW_TYPE_HINT_DIALOG, some window managers (e.g. Awesome) will just display thi
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] If not set to GDK_WINDOW_TYPE_HINT_DIALOG, some window managers (e.g. Awesome) will just display thi
- Date: Thu, 2 Dec 2010 19:46:44 +0000 (UTC)
commit 61b5492ace54aa865550ee2138e553e33d4c3211
Author: Thomas Jost <thomas jost gmail com>
Date: Thu Dec 2 20:43:06 2010 +0100
If not set to GDK_WINDOW_TYPE_HINT_DIALOG, some window managers (e.g. Awesome) will just display this as a regular dialog window.
src/gnome-cmd-rename-dialog.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-rename-dialog.cc b/src/gnome-cmd-rename-dialog.cc
index 21438a9..7313262 100644
--- a/src/gnome-cmd-rename-dialog.cc
+++ b/src/gnome-cmd-rename-dialog.cc
@@ -150,6 +150,7 @@ GtkWidget *gnome_cmd_rename_dialog_new (GnomeCmdFile *f, gint x, gint y, gint wi
gtk_window_set_has_frame (GTK_WINDOW (dialog), 0);
gtk_window_set_decorated (GTK_WINDOW (dialog), 0);
gtk_widget_set_uposition (GTK_WIDGET (dialog), x, y);
+ gtk_window_set_type_hint (GTK_WINDOW (dialog), GDK_WINDOW_TYPE_HINT_DIALOG);
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dialog), TRUE);
gtk_widget_set_size_request (GTK_WIDGET (dialog), width+1, height+1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]