- Added support for Return key-as-OK for dialogs

- Scrollbars on the SchedulablesTreeWidget only show up if needed
- Forced minimum height on the list view inside add-request dialog

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@962 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-08-29 22:24:02 +00:00
parent 1f466f80d5
commit cb59a30e06
5 changed files with 602 additions and 406 deletions

View File

@ -54,6 +54,7 @@
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-5</property>
<accelerator key="Return" modifiers="0" signal="clicked"/>
</widget>
</child>
</widget>

View File

@ -5,7 +5,6 @@
<widget class="GtkDialog" id="AddRequestDialog">
<property name="width_request">300</property>
<property name="height_request">240</property>
<property name="title">Add Request</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_MOUSE</property>
@ -133,7 +132,6 @@
<child>
<widget class="GtkScrolledWindow" id="SubRequests">
<property name="height_request">200</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
@ -143,7 +141,7 @@
<child>
<widget class="GtkTreeView" id="SubRequests.View">
<property name="height_request">100</property>
<property name="height_request">140</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="headers_visible">True</property>

View File

@ -54,6 +54,7 @@
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-5</property>
<accelerator key="Return" modifiers="0" signal="clicked"/>
</widget>
</child>
</widget>

View File

@ -54,6 +54,7 @@
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="response_id">-5</property>
<accelerator key="Return" modifiers="0" signal="clicked"/>
</widget>
</child>
</widget>

File diff suppressed because it is too large Load Diff