|
From: Zev W. <ze...@be...> - 2014-07-28 01:38:55
|
Hi,
This patch makes some of etherape's various auxiliary windows behave more nicely in a tiling WM environment (such as xmonad).
Thanks,
Zev Weiss
commit 1249d3a76ad100301fdccf6b57731c5a900f59dc
Author: Zev Weiss <ze...@be...>
Date: 2014-07-27 20:10:07 -0500
Set some attributes on auxiliary windows.
Gives friendlier behavior when run under a tiling window manager.
diff --git a/glade/etherape.glade b/glade/etherape.glade
index ec1d2a5..887dc64 100644
--- a/glade/etherape.glade
+++ b/glade/etherape.glade
@@ -48,6 +48,9 @@
<widget class="GtkDialog" id="diag_pref">
<property name="title" translatable="yes">EtherApe: Preferences</property>
<property name="type_hint">dialog</property>
+ <property name="resizable">False</property>
+ <property name="window_position">center</property>
+ <property name="type_hint">dialog</property>
<child internal-child="vbox">
<widget class="GtkVBox" id="dialog-vbox2">
<property name="visible">True</property>
@@ -1408,6 +1411,7 @@ Square Root</property>
<property name="title" translatable="yes">Select color</property>
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
+ <property name="window_position">center</property>
<signal name="delete_event" handler="gtk_widget_hide"/>
<child internal-child="color_selection">
<widget class="GtkColorSelection" id="colorselection1">
@@ -1443,6 +1447,8 @@ Square Root</property>
<widget class="GtkDialog" id="protocol_edit_dialog">
<property name="title" translatable="yes">EtherApe: assign protocol</property>
<property name="modal">True</property>
+ <property name="resizable">False</property>
+ <property name="window_position">center</property>
<property name="type_hint">dialog</property>
<signal name="show" handler="on_protocol_edit_dialog_show"/>
<child internal-child="vbox">
@@ -1933,6 +1939,7 @@ Square Root</property>
<widget class="GtkAboutDialog" id="about1">
<property name="border_width">5</property>
<property name="type_hint">normal</property>
+ <property name="window_position">center</property>
<property name="has_separator">False</property>
<property name="program_name">EtherApe</property>
<property name="copyright" translatable="yes">Copyright 2001-2013 Juan Toledo, Riccardo Ghetta</property>
|