aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-22 17:31:23 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-03-22 17:31:23 +0000
commitf24ce3f381c2cf934b04a6ab8030023aa2a3563b (patch)
tree4252745e6e7dabf1308cbd354ce29a16640c2c93 /ui
parentd5e14301ba0fdce5df77a77e5a5ed745388da45d (diff)
Remove minimize / maximize buttons for "Edit Interfaces / Remote Capture Settings" Dialog
svn path=/trunk/; revision=48483
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk/capture_dlg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c
index dc0611b49d..42ca4153df 100644
--- a/ui/gtk/capture_dlg.c
+++ b/ui/gtk/capture_dlg.c
@@ -1783,6 +1783,8 @@ options_remote_cb(GtkWidget *w _U_, gpointer d _U_)
opt_remote_w = dlg_window_new("Remote Capture Settings");
gtk_window_set_modal(GTK_WINDOW(opt_remote_w), TRUE);
gtk_window_set_transient_for(GTK_WINDOW(opt_remote_w), GTK_WINDOW(caller));
+ gtk_window_set_type_hint(GTK_WINDOW(opt_remote_w), GDK_WINDOW_TYPE_HINT_MENU);
+
g_object_set_data(G_OBJECT(opt_remote_w), E_OPT_REMOTE_CALLER_PTR_KEY, caller);
g_object_set_data(G_OBJECT(caller), E_OPT_REMOTE_DIALOG_PTR_KEY, opt_remote_w);
@@ -2625,6 +2627,7 @@ void options_interface_cb(GtkTreeView *view, GtkTreePath *path, GtkTreeViewColum
marked_row = atoi(gtk_tree_path_to_string(path));
opt_edit_w = dlg_window_new("Edit Interface Settings");
gtk_window_set_modal(GTK_WINDOW(opt_edit_w), TRUE);
+ gtk_window_set_type_hint (GTK_WINDOW (opt_edit_w), GDK_WINDOW_TYPE_HINT_MENU);
g_object_set_data(G_OBJECT(opt_edit_w), E_OPT_EDIT_CALLER_PTR_KEY, caller);
g_object_set_data(G_OBJECT(caller), E_OPT_EDIT_DIALOG_PTR_KEY, opt_edit_w);