[gnome-commander] If not set to "utility", some window managers (e.g. Awesome) will just display this as a regular dia



commit 01f8bcfb483349370e977b0ef1680e10cd22c2a8
Author: Thomas Jost <thomas jost gmail com>
Date:   Fri Nov 12 23:52:34 2010 +0100

    If not set to "utility", 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 688a5d0..3c681be 100644
--- a/src/gnome-cmd-rename-dialog.cc
+++ b/src/gnome-cmd-rename-dialog.cc
@@ -151,6 +151,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_UTILITY);
     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]