summaryrefslogtreecommitdiff
path: root/plugins/gtkui
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-25 18:29:08 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-25 18:29:08 +0200
commitcd081a0e7ae30c689fec11c71d081f42cd9fc160 (patch)
tree66126be7d8e8903c451d5c35a85bdbb9ee0da32b /plugins/gtkui
parent02c6d48cd18df1739564e9f71734ab3908f08f04 (diff)
remove minimize/maximize from add files progress dialog
Diffstat (limited to 'plugins/gtkui')
-rw-r--r--plugins/gtkui/deadbeef.glade2
-rw-r--r--plugins/gtkui/interface.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gtkui/deadbeef.glade b/plugins/gtkui/deadbeef.glade
index 0351668d..45626100 100644
--- a/plugins/gtkui/deadbeef.glade
+++ b/plugins/gtkui/deadbeef.glade
@@ -1249,7 +1249,7 @@
<property name="decorated">True</property>
<property name="skip_taskbar_hint">True</property>
<property name="skip_pager_hint">True</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property>
<property name="urgency_hint">False</property>
diff --git a/plugins/gtkui/interface.c b/plugins/gtkui/interface.c
index 5d3dde1a..62b4c022 100644
--- a/plugins/gtkui/interface.c
+++ b/plugins/gtkui/interface.c
@@ -1101,6 +1101,7 @@ create_progressdlg (void)
gtk_window_set_modal (GTK_WINDOW (progressdlg), TRUE);
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (progressdlg), TRUE);
gtk_window_set_skip_pager_hint (GTK_WINDOW (progressdlg), TRUE);
+ gtk_window_set_type_hint (GTK_WINDOW (progressdlg), GDK_WINDOW_TYPE_HINT_DIALOG);
vbox6 = gtk_vbox_new (FALSE, 8);
gtk_widget_show (vbox6);