- Supersede old GUI in favor of a more clean (and hopefully clear) interface

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@918 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-08-20 21:26:14 +00:00
parent 0f94562617
commit 7bcc3b9eb4
9 changed files with 1742 additions and 2644 deletions

View File

@ -1,235 +1,154 @@
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!-- Generated with glade3
Version: 3.0.0
Date: Sun Aug 20 22:30:50 2006
User: matteo
Host: tulip
-->
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="AddProcessDialog">
<widget class="GtkDialog" id="AddProcessDialog"> <property name="title">Add Process</property>
<property name="title" translatable="yes">Add Process</property> <property name="resizable">False</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="modal">True</property>
<property name="window_position">GTK_WIN_POS_MOUSE</property> <property name="window_position">GTK_WIN_POS_MOUSE</property>
<property name="modal">True</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="resizable">False</property> <child internal-child="vbox">
<property name="destroy_with_parent">False</property> <widget class="GtkVBox" id="MainVBox">
<property name="decorated">True</property> <property name="visible">True</property>
<property name="skip_taskbar_hint">False</property> <child>
<property name="skip_pager_hint">False</property> <widget class="GtkTable" id="MainTable">
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="visible">True</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="border_width">6</property>
<property name="focus_on_map">True</property> <property name="n_rows">3</property>
<property name="urgency_hint">False</property> <property name="n_columns">2</property>
<property name="has_separator">True</property> <property name="column_spacing">9</property>
<property name="row_spacing">11</property>
<child internal-child="vbox"> <child>
<widget class="GtkVBox" id="MainVBox"> <widget class="GtkLabel" id="Name.Label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="xalign">0,000000</property>
<property name="spacing">0</property> <property name="yalign">0,000000</property>
<property name="label" translatable="yes">Name</property>
<child internal-child="action_area"> </widget>
<widget class="GtkHButtonBox" id="MainButtonBox"> <packing>
<property name="visible">True</property> <property name="x_options">GTK_FILL</property>
<property name="layout_style">GTK_BUTTONBOX_END</property> <property name="y_options"></property>
</packing>
<child> </child>
<widget class="GtkButton" id="Cancel.Button"> <child>
<property name="visible">True</property> <widget class="GtkLabel" id="BasePriority.Label">
<property name="can_default">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="xalign">0,000000</property>
<property name="label">gtk-cancel</property> <property name="yalign">0,000000</property>
<property name="use_stock">True</property> <property name="label" translatable="yes">Base Priority</property>
<property name="relief">GTK_RELIEF_NORMAL</property> </widget>
<property name="focus_on_click">True</property> <packing>
<property name="response_id">-6</property> <property name="top_attach">2</property>
</widget> <property name="bottom_attach">3</property>
</child> <property name="x_options">GTK_FILL</property>
<property name="y_options"></property>
<child> </packing>
<widget class="GtkButton" id="OK.Button"> </child>
<property name="visible">True</property> <child>
<property name="can_default">True</property> <widget class="GtkLabel" id="ArrivalTime.Label">
<property name="can_focus">True</property> <property name="visible">True</property>
<property name="label">gtk-ok</property> <property name="xalign">0,000000</property>
<property name="use_stock">True</property> <property name="yalign">0,000000</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="label" translatable="yes">Arrival Time</property>
<property name="focus_on_click">True</property> </widget>
<property name="response_id">-5</property> <packing>
</widget> <property name="top_attach">1</property>
</child> <property name="bottom_attach">2</property>
</widget> <property name="x_options">GTK_FILL</property>
<packing> <property name="y_options"></property>
<property name="padding">0</property> </packing>
<property name="expand">False</property> </child>
<property name="fill">True</property> <child>
<property name="pack_type">GTK_PACK_END</property> <widget class="GtkEntry" id="Name.Entry">
</packing> <property name="visible">True</property>
</child> <property name="can_focus">True</property>
<property name="invisible_char">●</property>
<child> <property name="width_chars">17</property>
<widget class="GtkTable" id="MainTable"> </widget>
<property name="border_width">6</property> <packing>
<property name="visible">True</property> <property name="left_attach">1</property>
<property name="n_rows">3</property> <property name="right_attach">2</property>
<property name="n_columns">2</property> <property name="y_options"></property>
<property name="homogeneous">False</property> </packing>
<property name="row_spacing">11</property> </child>
<property name="column_spacing">9</property> <child>
<widget class="GtkSpinButton" id="ArrivalTime.Spin">
<child> <property name="visible">True</property>
<widget class="GtkLabel" id="Name.Label"> <property name="can_focus">True</property>
<property name="visible">True</property> <property name="adjustment">1,000000 1,000000 0,000000 1,000000 10,000000 10,000000</property>
<property name="label" translatable="yes">Name</property> <property name="climb_rate">1</property>
<property name="use_underline">False</property> <property name="numeric">True</property>
<property name="use_markup">False</property> </widget>
<property name="justify">GTK_JUSTIFY_LEFT</property> <packing>
<property name="wrap">False</property> <property name="left_attach">1</property>
<property name="selectable">False</property> <property name="right_attach">2</property>
<property name="xalign">0</property> <property name="top_attach">1</property>
<property name="yalign">0.5</property> <property name="bottom_attach">2</property>
<property name="xpad">0</property> <property name="y_options"></property>
<property name="ypad">0</property> </packing>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> </child>
<property name="width_chars">-1</property> <child>
<property name="single_line_mode">False</property> <widget class="GtkSpinButton" id="BasePriority.Spin">
<property name="angle">0</property> <property name="visible">True</property>
</widget> <property name="can_focus">True</property>
<packing> <property name="adjustment">0,000000 0,000000 0,000000 1,000000 10,000000 10,000000</property>
<property name="left_attach">0</property> <property name="climb_rate">1</property>
<property name="right_attach">1</property> <property name="numeric">True</property>
<property name="top_attach">0</property> </widget>
<property name="bottom_attach">1</property> <packing>
<property name="x_options">fill</property> <property name="left_attach">1</property>
<property name="y_options"></property> <property name="right_attach">2</property>
</packing> <property name="top_attach">2</property>
</child> <property name="bottom_attach">3</property>
<property name="y_options"></property>
<child> </packing>
<widget class="GtkLabel" id="BasePriority.Label"> </child>
<property name="visible">True</property> </widget>
<property name="label" translatable="yes">Base Priority</property> <packing>
<property name="use_underline">False</property> <property name="position">2</property>
<property name="use_markup">False</property> </packing>
<property name="justify">GTK_JUSTIFY_LEFT</property> </child>
<property name="wrap">False</property> <child internal-child="action_area">
<property name="selectable">False</property> <widget class="GtkHButtonBox" id="MainButtonBox">
<property name="xalign">0</property> <property name="visible">True</property>
<property name="yalign">0.5</property> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="xpad">0</property> <child>
<property name="ypad">0</property> <widget class="GtkButton" id="Cancel.Button">
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="visible">True</property>
<property name="width_chars">-1</property> <property name="can_focus">True</property>
<property name="single_line_mode">False</property> <property name="can_default">True</property>
<property name="angle">0</property> <property name="label">gtk-cancel</property>
</widget> <property name="use_stock">True</property>
<packing> <property name="response_id">-6</property>
<property name="left_attach">0</property> </widget>
<property name="right_attach">1</property> </child>
<property name="top_attach">2</property> <child>
<property name="bottom_attach">3</property> <widget class="GtkButton" id="OK.Button">
<property name="x_options">fill</property> <property name="visible">True</property>
<property name="y_options"></property> <property name="can_focus">True</property>
</packing> <property name="can_default">True</property>
</child> <property name="has_default">True</property>
<property name="label">gtk-ok</property>
<child> <property name="use_stock">True</property>
<widget class="GtkLabel" id="ArrivalTime.Label"> <property name="response_id">-5</property>
<property name="visible">True</property> </widget>
<property name="label" translatable="yes">Arrival Time</property> <packing>
<property name="use_underline">False</property> <property name="position">1</property>
<property name="use_markup">False</property> </packing>
<property name="justify">GTK_JUSTIFY_LEFT</property> </child>
<property name="wrap">False</property> </widget>
<property name="selectable">False</property> <packing>
<property name="xalign">0</property> <property name="expand">False</property>
<property name="yalign">0.5</property> <property name="pack_type">GTK_PACK_END</property>
<property name="xpad">0</property> </packing>
<property name="ypad">0</property> </child>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> </widget>
<property name="width_chars">-1</property> </child>
<property name="single_line_mode">False</property> </widget>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkEntry" id="Name.Entry">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="has_frame">True</property>
<property name="invisible_char">●</property>
<property name="activates_default">False</property>
<property name="width_chars">17</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">0</property>
<property name="bottom_attach">1</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="ArrivalTime.Spin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">1 1 inf 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="BasePriority.Spin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface> </glade-interface>

View File

@ -1,443 +1,296 @@
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!-- Generated with glade3
Version: 3.0.0
Date: Sun Aug 20 22:24:53 2006
User: matteo
Host: tulip
-->
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="AddRequestDialog">
<widget class="GtkDialog" id="AddRequestDialog"> <property name="width_request">300</property>
<property name="height_request">0</property> <property name="height_request">240</property>
<property name="title" translatable="yes">Add Request</property> <property name="title">Add Request</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="modal">True</property>
<property name="window_position">GTK_WIN_POS_MOUSE</property> <property name="window_position">GTK_WIN_POS_MOUSE</property>
<property name="modal">True</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="resizable">True</property> <child internal-child="vbox">
<property name="destroy_with_parent">False</property> <widget class="GtkVBox" id="MainVBox">
<property name="decorated">True</property> <property name="visible">True</property>
<property name="skip_taskbar_hint">False</property> <child>
<property name="skip_pager_hint">False</property> <widget class="GtkVBox" id="InputArea">
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="visible">True</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="border_width">4</property>
<property name="focus_on_map">True</property> <property name="spacing">6</property>
<property name="urgency_hint">False</property> <child>
<property name="has_separator">True</property> <widget class="GtkHBox" id="Instant.Box">
<property name="visible">True</property>
<child internal-child="vbox"> <property name="spacing">6</property>
<widget class="GtkVBox" id="MainVBox"> <child>
<property name="visible">True</property> <widget class="GtkLabel" id="Instant.Label">
<property name="homogeneous">False</property> <property name="visible">True</property>
<property name="spacing">0</property> <property name="xalign">0,000000</property>
<property name="yalign">0,000000</property>
<child internal-child="action_area"> <property name="label" translatable="yes">Instant</property>
<widget class="GtkHButtonBox" id="MainButtonBox"> </widget>
<property name="visible">True</property> <packing>
<property name="layout_style">GTK_BUTTONBOX_SPREAD</property> <property name="expand">False</property>
<property name="fill">False</property>
<child> </packing>
<widget class="GtkButton" id="Cancel.Button"> </child>
<property name="visible">True</property> <child>
<property name="can_default">True</property> <widget class="GtkSpinButton" id="Instant.Spin">
<property name="can_focus">True</property> <property name="visible">True</property>
<property name="label">gtk-cancel</property> <property name="can_focus">True</property>
<property name="use_stock">True</property> <property name="adjustment">0,000000 0,000000 0,000000 1,000000 10,000000 10,000000</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="climb_rate">1</property>
<property name="focus_on_click">True</property> <property name="numeric">True</property>
<property name="response_id">-6</property> </widget>
</widget> <packing>
</child> <property name="position">1</property>
</packing>
<child> </child>
<widget class="GtkButton" id="OK.Button"> </widget>
<property name="visible">True</property> <packing>
<property name="can_default">True</property> <property name="expand">False</property>
<property name="can_focus">True</property> <property name="fill">False</property>
<property name="label">gtk-ok</property> </packing>
<property name="use_stock">True</property> </child>
<property name="relief">GTK_RELIEF_NORMAL</property> <child>
<property name="focus_on_click">True</property> <widget class="GtkScrolledWindow" id="SubRequests">
<property name="response_id">-5</property> <property name="visible">True</property>
</widget> <property name="can_focus">True</property>
</child> <property name="hscrollbar_policy">GTK_POLICY_NEVER</property>
</widget> <property name="shadow_type">GTK_SHADOW_IN</property>
<packing> <child>
<property name="padding">0</property> <widget class="GtkTreeView" id="SubRequests.View">
<property name="expand">False</property> <property name="visible">True</property>
<property name="fill">True</property> <property name="can_focus">True</property>
<property name="pack_type">GTK_PACK_END</property> <property name="reorderable">True</property>
</packing> </widget>
</child> </child>
</widget>
<child> <packing>
<widget class="GtkVBox" id="InputArea"> <property name="position">1</property>
<property name="border_width">4</property> </packing>
<property name="visible">True</property> </child>
<property name="homogeneous">False</property> <child>
<property name="spacing">6</property> <widget class="GtkTable" id="SubRequestInput">
<property name="visible">True</property>
<child> <property name="n_rows">2</property>
<widget class="GtkHBox" id="Instant.Box"> <property name="n_columns">2</property>
<property name="visible">True</property> <property name="column_spacing">6</property>
<property name="homogeneous">False</property> <property name="row_spacing">6</property>
<property name="spacing">6</property> <child>
<widget class="GtkComboBox" id="Resource.Combo">
<child> <property name="visible">True</property>
<widget class="GtkLabel" id="Instant.Label"> </widget>
<property name="visible">True</property> <packing>
<property name="label" translatable="yes">Instant</property> <property name="left_attach">1</property>
<property name="use_underline">False</property> <property name="right_attach">2</property>
<property name="use_markup">False</property> <property name="x_options">GTK_FILL</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="y_options">GTK_FILL</property>
<property name="wrap">False</property> </packing>
<property name="selectable">False</property> </child>
<property name="xalign">0</property> <child>
<property name="yalign">0.5</property> <widget class="GtkSpinButton" id="Duration.Spin">
<property name="xpad">0</property> <property name="visible">True</property>
<property name="ypad">0</property> <property name="can_focus">True</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="adjustment">0,000000 1,000000 0,000000 1,000000 10,000000 10,000000</property>
<property name="width_chars">-1</property> <property name="climb_rate">1</property>
<property name="single_line_mode">False</property> <property name="numeric">True</property>
<property name="angle">0</property> </widget>
</widget> <packing>
<packing> <property name="left_attach">1</property>
<property name="padding">0</property> <property name="right_attach">2</property>
<property name="expand">False</property> <property name="top_attach">1</property>
<property name="fill">False</property> <property name="bottom_attach">2</property>
</packing> <property name="y_options"></property>
</child> </packing>
</child>
<child> <child>
<widget class="GtkSpinButton" id="Instant.Spin"> <widget class="GtkLabel" id="Resource.Label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="xalign">0,000000</property>
<property name="climb_rate">1</property> <property name="yalign">0,000000</property>
<property name="digits">0</property> <property name="label" translatable="yes">Resource</property>
<property name="numeric">True</property> </widget>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <packing>
<property name="snap_to_ticks">False</property> <property name="x_options">GTK_FILL</property>
<property name="wrap">False</property> <property name="y_options"></property>
<property name="adjustment">0 0 inf 1 10 10</property> </packing>
</widget> </child>
<packing> <child>
<property name="padding">0</property> <widget class="GtkLabel" id="Duration.Label">
<property name="expand">True</property> <property name="visible">True</property>
<property name="fill">True</property> <property name="xalign">0,000000</property>
</packing> <property name="yalign">0,000000</property>
</child> <property name="label" translatable="yes">Duration</property>
</widget> </widget>
<packing> <packing>
<property name="padding">0</property> <property name="top_attach">1</property>
<property name="expand">False</property> <property name="bottom_attach">2</property>
<property name="fill">False</property> <property name="x_options">GTK_FILL</property>
</packing> <property name="y_options"></property>
</child> </packing>
</child>
<child> </widget>
<widget class="GtkScrolledWindow" id="SubRequests"> <packing>
<property name="visible">True</property> <property name="expand">False</property>
<property name="can_focus">True</property> <property name="fill">False</property>
<property name="hscrollbar_policy">GTK_POLICY_NEVER</property> <property name="position">2</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property> </packing>
<property name="shadow_type">GTK_SHADOW_IN</property> </child>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property> <child>
<widget class="GtkHButtonBox" id="AddRemoveButtons">
<child> <property name="visible">True</property>
<widget class="GtkTreeView" id="SubRequests.View"> <property name="border_width">6</property>
<property name="visible">True</property> <property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
<property name="can_focus">True</property> <child>
<property name="headers_visible">True</property> <widget class="GtkButton" id="Add">
<property name="rules_hint">False</property> <property name="visible">True</property>
<property name="reorderable">True</property> <property name="can_focus">True</property>
<property name="enable_search">True</property> <property name="can_default">True</property>
<property name="fixed_height_mode">False</property> <child>
<property name="hover_selection">False</property> <widget class="GtkAlignment" id="alignment1">
<property name="hover_expand">False</property> <property name="visible">True</property>
</widget> <property name="xalign">0,000000</property>
</child> <property name="yalign">0,000000</property>
</widget> <property name="xscale">0,000000</property>
<packing> <property name="yscale">0,000000</property>
<property name="padding">0</property> <child>
<property name="expand">True</property> <widget class="GtkHBox" id="hbox2">
<property name="fill">True</property> <property name="visible">True</property>
</packing> <property name="spacing">2</property>
</child> <child>
<widget class="GtkImage" id="image1">
<child> <property name="visible">True</property>
<widget class="GtkTable" id="SubRequestInput"> <property name="xalign">0,000000</property>
<property name="visible">True</property> <property name="yalign">0,000000</property>
<property name="n_rows">2</property> <property name="stock">gtk-add</property>
<property name="n_columns">2</property> </widget>
<property name="homogeneous">False</property> <packing>
<property name="row_spacing">6</property> <property name="expand">False</property>
<property name="column_spacing">6</property> <property name="fill">False</property>
</packing>
<child> </child>
<widget class="GtkLabel" id="Duration.Label"> <child>
<property name="visible">True</property> <widget class="GtkLabel" id="label4">
<property name="label" translatable="yes">Duration</property> <property name="visible">True</property>
<property name="use_underline">False</property> <property name="xalign">0,000000</property>
<property name="use_markup">False</property> <property name="yalign">0,000000</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="label" translatable="yes">Add</property>
<property name="wrap">False</property> <property name="use_underline">True</property>
<property name="selectable">False</property> </widget>
<property name="xalign">0</property> <packing>
<property name="yalign">0.5</property> <property name="expand">False</property>
<property name="xpad">0</property> <property name="fill">False</property>
<property name="ypad">0</property> <property name="position">1</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> </packing>
<property name="width_chars">-1</property> </child>
<property name="single_line_mode">False</property> </widget>
<property name="angle">0</property> </child>
</widget> </widget>
<packing> </child>
<property name="left_attach">0</property> </widget>
<property name="right_attach">1</property> </child>
<property name="top_attach">1</property> <child>
<property name="bottom_attach">2</property> <widget class="GtkButton" id="Remove">
<property name="x_options">fill</property> <property name="visible">True</property>
<property name="y_options"></property> <property name="can_focus">True</property>
</packing> <property name="can_default">True</property>
</child> <child>
<widget class="GtkAlignment" id="alignment2">
<child> <property name="visible">True</property>
<widget class="GtkLabel" id="Resource.Label"> <property name="xalign">0,000000</property>
<property name="visible">True</property> <property name="yalign">0,000000</property>
<property name="label" translatable="yes">Resource</property> <property name="xscale">0,000000</property>
<property name="use_underline">False</property> <property name="yscale">0,000000</property>
<property name="use_markup">False</property> <child>
<property name="justify">GTK_JUSTIFY_LEFT</property> <widget class="GtkHBox" id="hbox3">
<property name="wrap">False</property> <property name="visible">True</property>
<property name="selectable">False</property> <property name="spacing">2</property>
<property name="xalign">0</property> <child>
<property name="yalign">0.5</property> <widget class="GtkImage" id="image2">
<property name="xpad">0</property> <property name="visible">True</property>
<property name="ypad">0</property> <property name="xalign">0,000000</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <property name="yalign">0,000000</property>
<property name="width_chars">-1</property> <property name="stock">gtk-remove</property>
<property name="single_line_mode">False</property> </widget>
<property name="angle">0</property> <packing>
</widget> <property name="expand">False</property>
<packing> <property name="fill">False</property>
<property name="left_attach">0</property> </packing>
<property name="right_attach">1</property> </child>
<property name="top_attach">0</property> <child>
<property name="bottom_attach">1</property> <widget class="GtkLabel" id="label5">
<property name="x_options">fill</property> <property name="visible">True</property>
<property name="y_options"></property> <property name="xalign">0,000000</property>
</packing> <property name="yalign">0,000000</property>
</child> <property name="label" translatable="yes">Remove</property>
<property name="use_underline">True</property>
<child> </widget>
<widget class="GtkSpinButton" id="Duration.Spin"> <packing>
<property name="visible">True</property> <property name="expand">False</property>
<property name="can_focus">True</property> <property name="fill">False</property>
<property name="climb_rate">1</property> <property name="position">1</property>
<property name="digits">0</property> </packing>
<property name="numeric">True</property> </child>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> </widget>
<property name="snap_to_ticks">False</property> </child>
<property name="wrap">False</property> </widget>
<property name="adjustment">1 1 inf 1 10 10</property> </child>
</widget> </widget>
<packing> <packing>
<property name="left_attach">1</property> <property name="position">1</property>
<property name="right_attach">2</property> </packing>
<property name="top_attach">1</property> </child>
<property name="bottom_attach">2</property> </widget>
<property name="y_options"></property> <packing>
</packing> <property name="expand">False</property>
</child> <property name="position">3</property>
</packing>
<child> </child>
<widget class="GtkComboBox" id="Resource.Combo"> </widget>
<property name="visible">True</property> <packing>
<property name="add_tearoffs">False</property> <property name="position">2</property>
<property name="focus_on_click">True</property> </packing>
</widget> </child>
<packing> <child internal-child="action_area">
<property name="left_attach">1</property> <widget class="GtkHButtonBox" id="MainButtonBox">
<property name="right_attach">2</property> <property name="visible">True</property>
<property name="top_attach">0</property> <property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
<property name="bottom_attach">1</property> <child>
<property name="x_options">fill</property> <widget class="GtkButton" id="Cancel.Button">
<property name="y_options">fill</property> <property name="visible">True</property>
</packing> <property name="can_focus">True</property>
</child> <property name="can_default">True</property>
</widget> <property name="label">gtk-cancel</property>
<packing> <property name="use_stock">True</property>
<property name="padding">0</property> <property name="response_id">-6</property>
<property name="expand">False</property> </widget>
<property name="fill">False</property> </child>
</packing> <child>
</child> <widget class="GtkButton" id="OK.Button">
<property name="visible">True</property>
<child> <property name="can_focus">True</property>
<widget class="GtkHButtonBox" id="AddRemoveButtons"> <property name="can_default">True</property>
<property name="border_width">6</property> <property name="has_default">True</property>
<property name="visible">True</property> <property name="label">gtk-ok</property>
<property name="layout_style">GTK_BUTTONBOX_SPREAD</property> <property name="use_stock">True</property>
<property name="spacing">0</property> <property name="response_id">-5</property>
</widget>
<child> <packing>
<widget class="GtkButton" id="Add"> <property name="position">1</property>
<property name="visible">True</property> </packing>
<property name="can_default">True</property> </child>
<property name="can_focus">True</property> </widget>
<property name="relief">GTK_RELIEF_NORMAL</property> <packing>
<property name="focus_on_click">True</property> <property name="expand">False</property>
<property name="pack_type">GTK_PACK_END</property>
<child> </packing>
<widget class="GtkAlignment" id="alignment1"> </child>
<property name="visible">True</property> </widget>
<property name="xalign">0.5</property> </child>
<property name="yalign">0.5</property> </widget>
<property name="xscale">0</property>
<property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child>
<widget class="GtkHBox" id="hbox2">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">2</property>
<child>
<widget class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="stock">gtk-add</property>
<property name="icon_size">4</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="label" translatable="yes">Add</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkButton" id="Remove">
<property name="visible">True</property>
<property name="can_default">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<child>
<widget class="GtkAlignment" id="alignment2">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xscale">0</property>
<property name="yscale">0</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">0</property>
<property name="right_padding">0</property>
<child>
<widget class="GtkHBox" id="hbox3">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">2</property>
<child>
<widget class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="stock">gtk-remove</property>
<property name="icon_size">4</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="label" translatable="yes">Remove</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface> </glade-interface>

View File

@ -1,285 +1,184 @@
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!-- Generated with glade3
Version: 3.0.0
Date: Sun Aug 20 22:25:08 2006
User: matteo
Host: tulip
-->
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="AddResourceDialog">
<widget class="GtkDialog" id="AddResourceDialog"> <property name="title">Add Resource</property>
<property name="title" translatable="yes">Add Resource</property> <property name="resizable">False</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="modal">True</property>
<property name="window_position">GTK_WIN_POS_MOUSE</property> <property name="window_position">GTK_WIN_POS_MOUSE</property>
<property name="modal">True</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="resizable">False</property> <child internal-child="vbox">
<property name="destroy_with_parent">False</property> <widget class="GtkVBox" id="MainVBox">
<property name="decorated">True</property> <property name="visible">True</property>
<property name="skip_taskbar_hint">False</property> <child>
<property name="skip_pager_hint">False</property> <widget class="GtkTable" id="MainTable">
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="visible">True</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="border_width">6</property>
<property name="focus_on_map">True</property> <property name="n_rows">4</property>
<property name="urgency_hint">False</property> <property name="n_columns">2</property>
<property name="has_separator">True</property> <property name="column_spacing">9</property>
<property name="row_spacing">11</property>
<child internal-child="vbox"> <child>
<widget class="GtkVBox" id="MainVBox"> <widget class="GtkLabel" id="Preemptable.Label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="xalign">0,000000</property>
<property name="spacing">0</property> <property name="yalign">0,000000</property>
<property name="label" translatable="yes">Pre-emptable</property>
<child internal-child="action_area"> </widget>
<widget class="GtkHButtonBox" id="MainButtonBox"> <packing>
<property name="visible">True</property> <property name="top_attach">3</property>
<property name="layout_style">GTK_BUTTONBOX_END</property> <property name="bottom_attach">4</property>
<property name="x_options">GTK_FILL</property>
<child> <property name="y_options"></property>
<widget class="GtkButton" id="Cancel.Button"> </packing>
<property name="visible">True</property> </child>
<property name="can_default">True</property> <child>
<property name="can_focus">True</property> <widget class="GtkCheckButton" id="Preemptable.Check">
<property name="label">gtk-cancel</property> <property name="visible">True</property>
<property name="use_stock">True</property> <property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="use_underline">True</property>
<property name="focus_on_click">True</property> <property name="draw_indicator">True</property>
<property name="response_id">-6</property> </widget>
</widget> <packing>
</child> <property name="left_attach">1</property>
<property name="right_attach">2</property>
<child> <property name="top_attach">3</property>
<widget class="GtkButton" id="OK.Button"> <property name="bottom_attach">4</property>
<property name="visible">True</property> <property name="x_options">GTK_FILL</property>
<property name="can_default">True</property> <property name="y_options"></property>
<property name="can_focus">True</property> </packing>
<property name="label">gtk-ok</property> </child>
<property name="use_stock">True</property> <child>
<property name="relief">GTK_RELIEF_NORMAL</property> <widget class="GtkSpinButton" id="Availability.Spin">
<property name="focus_on_click">True</property> <property name="visible">True</property>
<property name="response_id">-5</property> <property name="can_focus">True</property>
</widget> <property name="adjustment">0,000000 0,000000 0,000000 1,000000 10,000000 10,000000</property>
</child> <property name="climb_rate">1</property>
</widget> <property name="numeric">True</property>
<packing> </widget>
<property name="padding">0</property> <packing>
<property name="expand">False</property> <property name="left_attach">1</property>
<property name="fill">True</property> <property name="right_attach">2</property>
<property name="pack_type">GTK_PACK_END</property> <property name="top_attach">2</property>
</packing> <property name="bottom_attach">3</property>
</child> <property name="y_options"></property>
</packing>
<child> </child>
<widget class="GtkTable" id="MainTable"> <child>
<property name="border_width">6</property> <widget class="GtkLabel" id="Availability.Label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="n_rows">4</property> <property name="xalign">0,000000</property>
<property name="n_columns">2</property> <property name="yalign">0,000000</property>
<property name="homogeneous">False</property> <property name="label" translatable="yes">Availability</property>
<property name="row_spacing">11</property> </widget>
<property name="column_spacing">9</property> <packing>
<property name="top_attach">2</property>
<child> <property name="bottom_attach">3</property>
<widget class="GtkLabel" id="Name.Label"> <property name="x_options">GTK_FILL</property>
<property name="visible">True</property> <property name="y_options"></property>
<property name="label" translatable="yes">Name</property> </packing>
<property name="use_underline">False</property> </child>
<property name="use_markup">False</property> <child>
<property name="justify">GTK_JUSTIFY_LEFT</property> <widget class="GtkSpinButton" id="Places.Spin">
<property name="wrap">False</property> <property name="visible">True</property>
<property name="selectable">False</property> <property name="can_focus">True</property>
<property name="xalign">0</property> <property name="adjustment">0,000000 1,000000 0,000000 1,000000 10,000000 10,000000</property>
<property name="yalign">0.5</property> <property name="climb_rate">1</property>
<property name="xpad">0</property> <property name="numeric">True</property>
<property name="ypad">0</property> </widget>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> <packing>
<property name="width_chars">-1</property> <property name="left_attach">1</property>
<property name="single_line_mode">False</property> <property name="right_attach">2</property>
<property name="angle">0</property> <property name="top_attach">1</property>
</widget> <property name="bottom_attach">2</property>
<packing> <property name="y_options"></property>
<property name="left_attach">0</property> </packing>
<property name="right_attach">1</property> </child>
<property name="top_attach">0</property> <child>
<property name="bottom_attach">1</property> <widget class="GtkLabel" id="Places.Label">
<property name="x_options">fill</property> <property name="visible">True</property>
<property name="y_options"></property> <property name="xalign">0,000000</property>
</packing> <property name="yalign">0,000000</property>
</child> <property name="label" translatable="yes">Places</property>
</widget>
<child> <packing>
<widget class="GtkEntry" id="Name.Entry"> <property name="top_attach">1</property>
<property name="visible">True</property> <property name="bottom_attach">2</property>
<property name="can_focus">True</property> <property name="x_options">GTK_FILL</property>
<property name="editable">True</property> <property name="y_options"></property>
<property name="visibility">True</property> </packing>
<property name="max_length">0</property> </child>
<property name="text" translatable="yes"></property> <child>
<property name="has_frame">True</property> <widget class="GtkEntry" id="Name.Entry">
<property name="invisible_char">●</property> <property name="visible">True</property>
<property name="activates_default">False</property> <property name="can_focus">True</property>
<property name="width_chars">17</property> <property name="invisible_char">●</property>
</widget> <property name="width_chars">17</property>
<packing> </widget>
<property name="left_attach">1</property> <packing>
<property name="right_attach">2</property> <property name="left_attach">1</property>
<property name="top_attach">0</property> <property name="right_attach">2</property>
<property name="bottom_attach">1</property> <property name="y_options"></property>
<property name="y_options"></property> </packing>
</packing> </child>
</child> <child>
<widget class="GtkLabel" id="Name.Label">
<child> <property name="visible">True</property>
<widget class="GtkLabel" id="Places.Label"> <property name="xalign">0,000000</property>
<property name="visible">True</property> <property name="yalign">0,000000</property>
<property name="label" translatable="yes">Places</property> <property name="label" translatable="yes">Name</property>
<property name="use_underline">False</property> </widget>
<property name="use_markup">False</property> <packing>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="x_options">GTK_FILL</property>
<property name="wrap">False</property> <property name="y_options"></property>
<property name="selectable">False</property> </packing>
<property name="xalign">0</property> </child>
<property name="yalign">0.5</property> </widget>
<property name="xpad">0</property> <packing>
<property name="ypad">0</property> <property name="position">2</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> </packing>
<property name="width_chars">-1</property> </child>
<property name="single_line_mode">False</property> <child internal-child="action_area">
<property name="angle">0</property> <widget class="GtkHButtonBox" id="MainButtonBox">
</widget> <property name="visible">True</property>
<packing> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="left_attach">0</property> <child>
<property name="right_attach">1</property> <widget class="GtkButton" id="Cancel.Button">
<property name="top_attach">1</property> <property name="visible">True</property>
<property name="bottom_attach">2</property> <property name="can_focus">True</property>
<property name="x_options">fill</property> <property name="can_default">True</property>
<property name="y_options"></property> <property name="label">gtk-cancel</property>
</packing> <property name="use_stock">True</property>
</child> <property name="response_id">-6</property>
</widget>
<child> </child>
<widget class="GtkSpinButton" id="Places.Spin"> <child>
<property name="visible">True</property> <widget class="GtkButton" id="OK.Button">
<property name="can_focus">True</property> <property name="visible">True</property>
<property name="climb_rate">1</property> <property name="can_focus">True</property>
<property name="digits">0</property> <property name="can_default">True</property>
<property name="numeric">True</property> <property name="has_default">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property> <property name="label">gtk-ok</property>
<property name="snap_to_ticks">False</property> <property name="use_stock">True</property>
<property name="wrap">False</property> <property name="response_id">-5</property>
<property name="adjustment">1 1 inf 1 10 10</property> </widget>
</widget> <packing>
<packing> <property name="position">1</property>
<property name="left_attach">1</property> </packing>
<property name="right_attach">2</property> </child>
<property name="top_attach">1</property> </widget>
<property name="bottom_attach">2</property> <packing>
<property name="y_options"></property> <property name="expand">False</property>
</packing> <property name="pack_type">GTK_PACK_END</property>
</child> </packing>
</child>
<child> </widget>
<widget class="GtkLabel" id="Availability.Label"> </child>
<property name="visible">True</property> </widget>
<property name="label" translatable="yes">Availability</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="Availability.Spin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkCheckButton" id="Preemptable.Check">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes"></property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<property name="active">False</property>
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="Preemptable.Label">
<property name="visible">True</property>
<property name="label" translatable="yes">Pre-emptable</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface> </glade-interface>

View File

@ -1,284 +1,184 @@
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!-- Generated with glade3
Version: 3.0.0
Date: Sun Aug 20 22:25:18 2006
User: matteo
Host: tulip
-->
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="AddThreadDialog">
<widget class="GtkDialog" id="AddThreadDialog"> <property name="title">Add Thread</property>
<property name="title" translatable="yes">Add Thread</property> <property name="resizable">False</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="modal">True</property>
<property name="window_position">GTK_WIN_POS_MOUSE</property> <property name="window_position">GTK_WIN_POS_MOUSE</property>
<property name="modal">True</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="resizable">False</property> <child internal-child="vbox">
<property name="destroy_with_parent">False</property> <widget class="GtkVBox" id="MainVBox">
<property name="decorated">True</property> <property name="visible">True</property>
<property name="skip_taskbar_hint">False</property> <child>
<property name="skip_pager_hint">False</property> <widget class="GtkTable" id="MainTable">
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="visible">True</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="border_width">6</property>
<property name="focus_on_map">True</property> <property name="n_rows">4</property>
<property name="urgency_hint">False</property> <property name="n_columns">2</property>
<property name="has_separator">True</property> <property name="column_spacing">9</property>
<property name="row_spacing">11</property>
<child internal-child="vbox"> <child>
<widget class="GtkVBox" id="MainVBox"> <widget class="GtkSpinButton" id="BasePriority.Spin">
<property name="visible">True</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="can_focus">True</property>
<property name="spacing">0</property> <property name="adjustment">0,000000 0,000000 0,000000 1,000000 10,000000 10,000000</property>
<property name="climb_rate">1</property>
<child internal-child="action_area"> <property name="numeric">True</property>
<widget class="GtkHButtonBox" id="MainButtonBox"> </widget>
<property name="visible">True</property> <packing>
<property name="layout_style">GTK_BUTTONBOX_END</property> <property name="left_attach">1</property>
<property name="right_attach">2</property>
<child> <property name="top_attach">3</property>
<widget class="GtkButton" id="Cancel.Button"> <property name="bottom_attach">4</property>
<property name="visible">True</property> <property name="y_options"></property>
<property name="can_default">True</property> </packing>
<property name="can_focus">True</property> </child>
<property name="label">gtk-cancel</property> <child>
<property name="use_stock">True</property> <widget class="GtkSpinButton" id="ArrivalTime.Spin">
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="visible">True</property>
<property name="focus_on_click">True</property> <property name="can_focus">True</property>
<property name="response_id">-6</property> <property name="adjustment">0,000000 0,000000 0,000000 1,000000 10,000000 10,000000</property>
</widget> <property name="climb_rate">1</property>
</child> <property name="numeric">True</property>
</widget>
<child> <packing>
<widget class="GtkButton" id="OK.Button"> <property name="left_attach">1</property>
<property name="visible">True</property> <property name="right_attach">2</property>
<property name="can_default">True</property> <property name="top_attach">2</property>
<property name="can_focus">True</property> <property name="bottom_attach">3</property>
<property name="label">gtk-ok</property> <property name="y_options"></property>
<property name="use_stock">True</property> </packing>
<property name="relief">GTK_RELIEF_NORMAL</property> </child>
<property name="focus_on_click">True</property> <child>
<property name="response_id">-5</property> <widget class="GtkSpinButton" id="CpuTime.Spin">
</widget> <property name="visible">True</property>
</child> <property name="can_focus">True</property>
</widget> <property name="adjustment">0,000000 1,000000 0,000000 1,000000 10,000000 10,000000</property>
<packing> <property name="climb_rate">1</property>
<property name="padding">0</property> <property name="numeric">True</property>
<property name="expand">False</property> </widget>
<property name="fill">True</property> <packing>
<property name="pack_type">GTK_PACK_END</property> <property name="left_attach">1</property>
</packing> <property name="right_attach">2</property>
</child> <property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<child> <property name="y_options"></property>
<widget class="GtkTable" id="MainTable"> </packing>
<property name="border_width">6</property> </child>
<property name="visible">True</property> <child>
<property name="n_rows">4</property> <widget class="GtkLabel" id="CpuTime.Label">
<property name="n_columns">2</property> <property name="visible">True</property>
<property name="homogeneous">False</property> <property name="xalign">0,000000</property>
<property name="row_spacing">11</property> <property name="yalign">0,000000</property>
<property name="column_spacing">9</property> <property name="label" translatable="yes">Cpu Time</property>
</widget>
<child> <packing>
<widget class="GtkLabel" id="Name.Label"> <property name="top_attach">1</property>
<property name="visible">True</property> <property name="bottom_attach">2</property>
<property name="label" translatable="yes">Name</property> <property name="x_options">GTK_FILL</property>
<property name="use_underline">False</property> <property name="y_options"></property>
<property name="use_markup">False</property> </packing>
<property name="justify">GTK_JUSTIFY_LEFT</property> </child>
<property name="wrap">False</property> <child>
<property name="selectable">False</property> <widget class="GtkLabel" id="ArrivalTime.Label">
<property name="xalign">0</property> <property name="visible">True</property>
<property name="yalign">0.5</property> <property name="xalign">0,000000</property>
<property name="xpad">0</property> <property name="yalign">0,000000</property>
<property name="ypad">0</property> <property name="label" translatable="yes">Arrival Time</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> </widget>
<property name="width_chars">-1</property> <packing>
<property name="single_line_mode">False</property> <property name="top_attach">2</property>
<property name="angle">0</property> <property name="bottom_attach">3</property>
</widget> <property name="x_options">GTK_FILL</property>
<packing> <property name="y_options"></property>
<property name="left_attach">0</property> </packing>
<property name="right_attach">1</property> </child>
<property name="top_attach">0</property> <child>
<property name="bottom_attach">1</property> <widget class="GtkLabel" id="BasePriority.Label">
<property name="x_options">fill</property> <property name="visible">True</property>
<property name="y_options"></property> <property name="xalign">0,000000</property>
</packing> <property name="yalign">0,000000</property>
</child> <property name="label" translatable="yes">Base Priority</property>
</widget>
<child> <packing>
<widget class="GtkEntry" id="Name.Entry"> <property name="top_attach">3</property>
<property name="visible">True</property> <property name="bottom_attach">4</property>
<property name="can_focus">True</property> <property name="x_options">GTK_FILL</property>
<property name="editable">True</property> <property name="y_options"></property>
<property name="visibility">True</property> </packing>
<property name="max_length">0</property> </child>
<property name="text" translatable="yes"></property> <child>
<property name="has_frame">True</property> <widget class="GtkEntry" id="Name.Entry">
<property name="invisible_char">●</property> <property name="visible">True</property>
<property name="activates_default">False</property> <property name="can_focus">True</property>
<property name="width_chars">17</property> <property name="invisible_char">●</property>
</widget> <property name="width_chars">17</property>
<packing> </widget>
<property name="left_attach">1</property> <packing>
<property name="right_attach">2</property> <property name="left_attach">1</property>
<property name="top_attach">0</property> <property name="right_attach">2</property>
<property name="bottom_attach">1</property> <property name="y_options"></property>
<property name="y_options"></property> </packing>
</packing> </child>
</child> <child>
<widget class="GtkLabel" id="Name.Label">
<child> <property name="visible">True</property>
<widget class="GtkLabel" id="BasePriority.Label"> <property name="xalign">0,000000</property>
<property name="visible">True</property> <property name="yalign">0,000000</property>
<property name="label" translatable="yes">Base Priority</property> <property name="label" translatable="yes">Name</property>
<property name="use_underline">False</property> </widget>
<property name="use_markup">False</property> <packing>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="x_options">GTK_FILL</property>
<property name="wrap">False</property> <property name="y_options"></property>
<property name="selectable">False</property> </packing>
<property name="xalign">0</property> </child>
<property name="yalign">0.5</property> </widget>
<property name="xpad">0</property> <packing>
<property name="ypad">0</property> <property name="position">2</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> </packing>
<property name="width_chars">-1</property> </child>
<property name="single_line_mode">False</property> <child internal-child="action_area">
<property name="angle">0</property> <widget class="GtkHButtonBox" id="MainButtonBox">
</widget> <property name="visible">True</property>
<packing> <property name="layout_style">GTK_BUTTONBOX_END</property>
<property name="left_attach">0</property> <child>
<property name="right_attach">1</property> <widget class="GtkButton" id="Cancel.Button">
<property name="top_attach">3</property> <property name="visible">True</property>
<property name="bottom_attach">4</property> <property name="can_focus">True</property>
<property name="x_options">fill</property> <property name="can_default">True</property>
<property name="y_options"></property> <property name="label">gtk-cancel</property>
</packing> <property name="use_stock">True</property>
</child> <property name="response_id">-6</property>
</widget>
<child> </child>
<widget class="GtkLabel" id="ArrivalTime.Label"> <child>
<property name="visible">True</property> <widget class="GtkButton" id="OK.Button">
<property name="label" translatable="yes">Arrival Time</property> <property name="visible">True</property>
<property name="use_underline">False</property> <property name="can_focus">True</property>
<property name="use_markup">False</property> <property name="can_default">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property> <property name="has_default">True</property>
<property name="wrap">False</property> <property name="label">gtk-ok</property>
<property name="selectable">False</property> <property name="use_stock">True</property>
<property name="xalign">0</property> <property name="response_id">-5</property>
<property name="yalign">0.5</property> </widget>
<property name="xpad">0</property> <packing>
<property name="ypad">0</property> <property name="position">1</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> </packing>
<property name="width_chars">-1</property> </child>
<property name="single_line_mode">False</property> </widget>
<property name="angle">0</property> <packing>
</widget> <property name="expand">False</property>
<packing> <property name="pack_type">GTK_PACK_END</property>
<property name="left_attach">0</property> </packing>
<property name="right_attach">1</property> </child>
<property name="top_attach">2</property> </widget>
<property name="bottom_attach">3</property> </child>
<property name="x_options">fill</property> </widget>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="CpuTime.Label">
<property name="visible">True</property>
<property name="label" translatable="yes">Cpu Time</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="CpuTime.Spin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">1 1 inf 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="ArrivalTime.Spin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
<property name="y_options"></property>
</packing>
</child>
<child>
<widget class="GtkSpinButton" id="BasePriority.Spin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="climb_rate">1</property>
<property name="digits">0</property>
<property name="numeric">True</property>
<property name="update_policy">GTK_UPDATE_ALWAYS</property>
<property name="snap_to_ticks">False</property>
<property name="wrap">False</property>
<property name="adjustment">0 0 inf 1 10 10</property>
</widget>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
<property name="top_attach">3</property>
<property name="bottom_attach">4</property>
<property name="y_options"></property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface> </glade-interface>

View File

@ -1,101 +1,72 @@
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!-- Generated with glade3
Version: 3.0.0
Date: Sun Aug 20 22:25:42 2006
User: matteo
Host: tulip
-->
<glade-interface> <glade-interface>
<widget class="GtkDialog" id="ConfigureCPUPolicyDialog">
<widget class="GtkDialog" id="ConfigureCPUPolicyDialog"> <property name="height_request">0</property>
<property name="height_request">0</property> <property name="title">Configure the CPU Policy</property>
<property name="title" translatable="yes">Configure the CPU Policy</property> <property name="modal">True</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="window_position">GTK_WIN_POS_MOUSE</property>
<property name="window_position">GTK_WIN_POS_MOUSE</property> <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="modal">True</property> <child internal-child="vbox">
<property name="resizable">True</property> <widget class="GtkVBox" id="MainVBox">
<property name="destroy_with_parent">False</property> <property name="visible">True</property>
<property name="decorated">True</property> <child>
<property name="skip_taskbar_hint">False</property> <widget class="GtkScrolledWindow" id="PolicyParameters.Scrolled">
<property name="skip_pager_hint">False</property> <property name="visible">True</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> <property name="can_focus">True</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property> <property name="shadow_type">GTK_SHADOW_IN</property>
<property name="focus_on_map">True</property> <child>
<property name="urgency_hint">False</property> <widget class="GtkTreeView" id="PolicyParameters.TreeView">
<property name="has_separator">True</property> <property name="visible">True</property>
<property name="can_focus">True</property>
<child internal-child="vbox"> </widget>
<widget class="GtkVBox" id="MainVBox"> </child>
<property name="visible">True</property> </widget>
<property name="homogeneous">False</property> <packing>
<property name="spacing">0</property> <property name="position">2</property>
</packing>
<child internal-child="action_area"> </child>
<widget class="GtkHButtonBox" id="MainButtonBox"> <child internal-child="action_area">
<property name="visible">True</property> <widget class="GtkHButtonBox" id="MainButtonBox">
<property name="layout_style">GTK_BUTTONBOX_SPREAD</property> <property name="visible">True</property>
<property name="layout_style">GTK_BUTTONBOX_SPREAD</property>
<child> <child>
<widget class="GtkButton" id="Cancel.Button"> <widget class="GtkButton" id="Cancel.Button">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_default">True</property> <property name="can_focus">True</property>
<property name="can_focus">True</property> <property name="can_default">True</property>
<property name="label">gtk-cancel</property> <property name="label">gtk-cancel</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property> <property name="response_id">-6</property>
<property name="focus_on_click">True</property> </widget>
<property name="response_id">-6</property> </child>
</widget> <child>
</child> <widget class="GtkButton" id="OK.Button">
<property name="visible">True</property>
<child> <property name="can_focus">True</property>
<widget class="GtkButton" id="OK.Button"> <property name="can_default">True</property>
<property name="visible">True</property> <property name="has_default">True</property>
<property name="can_default">True</property> <property name="label">gtk-ok</property>
<property name="can_focus">True</property> <property name="use_stock">True</property>
<property name="label">gtk-ok</property> <property name="response_id">-5</property>
<property name="use_stock">True</property> </widget>
<property name="relief">GTK_RELIEF_NORMAL</property> <packing>
<property name="focus_on_click">True</property> <property name="position">1</property>
<property name="response_id">-5</property> </packing>
</widget> </child>
</child> </widget>
</widget> <packing>
<packing> <property name="expand">False</property>
<property name="padding">0</property> <property name="pack_type">GTK_PACK_END</property>
<property name="expand">False</property> </packing>
<property name="fill">True</property> </child>
<property name="pack_type">GTK_PACK_END</property> </widget>
</packing> </child>
</child> </widget>
<child>
<widget class="GtkScrolledWindow" id="PolicyParameters.Scrolled">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkTreeView" id="PolicyParameters.TreeView">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="headers_visible">True</property>
<property name="rules_hint">False</property>
<property name="reorderable">False</property>
<property name="enable_search">True</property>
<property name="fixed_height_mode">False</property>
<property name="hover_selection">False</property>
<property name="hover_expand">False</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
</widget>
</child>
</widget>
</glade-interface> </glade-interface>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -75,4 +75,5 @@ void
ReadyQueue::erase_first() ReadyQueue::erase_first()
{ {
_scheds.erase(_scheds.begin()); _scheds.erase(_scheds.begin());
} }

View File

@ -246,19 +246,17 @@ GuiBuilder::GuiBuilder(const std::string& gladefile)
// Temporary code to test the Schedulables custom widget // Temporary code to test the Schedulables custom widget
Expander* scheds_expander = NULL; ScrolledWindow* schedulables_sw = NULL;
_refXml->get_widget("SchedulablesExpander", scheds_expander); _refXml->get_widget("SchedulablesScrolledWindow", schedulables_sw);
SchedulablesTreeWidget* scheds_widget = manage(new SchedulablesTreeWidget()); SchedulablesTreeWidget* scheds_tree = manage(new SchedulablesTreeWidget());
scheds_expander->add(*scheds_widget); schedulables_sw->add(*scheds_tree);
// we have to remember to manually show custom added widgets: // we have to remember to manually show custom added widgets:
scheds_widget->show(); scheds_tree->show();
// Main simulation widget
// Main simulation widget
ScrolledWindow* simulation_window = NULL; ScrolledWindow* simulation_window = NULL;
_refXml->get_widget("SimulationScrolledWindow", simulation_window); _refXml->get_widget("SimulationScrolledWindow", simulation_window);
_simulation_widget = new SimulationWidget(); _simulation_widget = new SimulationWidget();
@ -289,3 +287,4 @@ GuiBuilder::open_file(const std::string& filename)
// Debug line (erase me when done): // Debug line (erase me when done):
std::cout << _("Filename to open: ") << filename << std::endl; std::cout << _("Filename to open: ") << filename << std::endl;
} }