[gnome-commander/gcmd-1-2-8] 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/gcmd-1-2-8] 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:39 +0000 (UTC)
commit c9c3f66bd53d69e8e2deab8f1be5aeb0a7d1873b
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 034c139..311bf2d 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_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]