diff options
author | infirit <[email protected]> | 2014-02-08 16:11:05 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-02-08 17:26:53 +0100 |
commit | def0518872318b85e1663109323b64be2a7cdb9b (patch) | |
tree | b7727696e2d378eec2d590cb14cc28d8f4c2d432 /invest-applet/data/prefs-dialog.ui | |
parent | 1064eda20bcf6ec52be3c3e26cb9bde4b1016115 (diff) | |
download | mate-applets-def0518872318b85e1663109323b64be2a7cdb9b.tar.bz2 mate-applets-def0518872318b85e1663109323b64be2a7cdb9b.tar.xz |
invest-applet: fixed chart and prefs window, added chart scale option
- combo boxes printed their content twice
- preferences dialog threw warning
- added plot scale option to charts window
- Replace GtkComboBox with GtkComboBoxText
Based on gnome commit 766c9e1711330ec2b7109aa39ddd43b6583a30d3
Authot: Enrico Minack <[email protected]>
Url: https://git.gnome.org/browse/gnome-applets/commit/?id=766c9e1711330ec2b7109aa39ddd43b6583a30d3
Diffstat (limited to 'invest-applet/data/prefs-dialog.ui')
-rw-r--r-- | invest-applet/data/prefs-dialog.ui | 126 |
1 files changed, 80 insertions, 46 deletions
diff --git a/invest-applet/data/prefs-dialog.ui b/invest-applet/data/prefs-dialog.ui index 0e83e372..ee4e7ff6 100644 --- a/invest-applet/data/prefs-dialog.ui +++ b/invest-applet/data/prefs-dialog.ui @@ -1,8 +1,8 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy toplevel-contextual --> <object class="GtkDialog" id="preferences"> + <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">Invest Preferences</property> <property name="modal">True</property> @@ -10,22 +10,71 @@ <property name="default_height">450</property> <property name="destroy_with_parent">True</property> <property name="type_hint">dialog</property> - <signal name="response" handler="prefs_dialog_response_cb"/> + <signal name="response" handler="prefs_dialog_response_cb" swapped="no"/> <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox2"> + <object class="GtkBox" id="dialog-vbox2"> <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="help"> + <property name="label">gtk-help</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="close"> + <property name="label">gtk-close</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> <child> <object class="GtkVBox" id="big_box"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="border_width">5</property> <property name="spacing">18</property> <child> <object class="GtkVBox" id="loaded_extensions_box"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <object class="GtkLabel" id="explanation"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">label</property> <property name="use_markup">True</property> <property name="justify">center</property> @@ -40,6 +89,7 @@ <child> <object class="GtkLabel" id="stocklabel"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes">Stocks</property> <property name="use_underline">True</property> @@ -57,11 +107,13 @@ <child> <object class="GtkAlignment" id="alignment16"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="bottom_padding">18</property> <property name="left_padding">18</property> <child> <object class="GtkVBox" id="vbox156"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkScrolledWindow" id="handlers"> @@ -69,7 +121,6 @@ <property name="can_focus">True</property> <property name="has_focus">True</property> <property name="hscrollbar_policy">never</property> - <property name="vscrollbar_policy">automatic</property> <property name="shadow_type">in</property> <child> <object class="GtkTreeView" id="stocks"> @@ -77,16 +128,22 @@ <property name="can_focus">True</property> <property name="reorderable">True</property> <property name="rules_hint">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="treeview-selection1"/> + </child> </object> </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkHBox" id="hbox1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <property name="homogeneous">True</property> <child> @@ -95,9 +152,12 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> @@ -107,21 +167,26 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> <child> <object class="GtkLabel" id="default_info"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes"><i><small><b>Note:</b> Quotes are delayed at least 15 minutes. <b>Source: </b> Yahoo!</small></i></property> @@ -137,12 +202,15 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">2</property> </packing> </child> <child> <object class="GtkLabel" id="currencylabel"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes">Currency</property> <property name="use_underline">True</property> @@ -160,69 +228,35 @@ <child> <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="left_padding">18</property> <child> <object class="GtkEntry" id="currency"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="invisible_char">●</property> + <property name="invisible_char">●</property> </object> </child> </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="position">4</property> </packing> </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="padding">6</property> <property name="position">0</property> </packing> </child> </object> <packing> - <property name="position">1</property> - </packing> - </child> - <child internal-child="action_area"> - <object class="GtkHButtonBox" id="dialog-action_area2"> - <property name="visible">True</property> - <property name="layout_style">end</property> - <child> - <object class="GtkButton" id="help"> - <property name="label">gtk-help</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkButton" id="close"> - <property name="label">gtk-close</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - </object> - <packing> <property name="expand">False</property> - <property name="pack_type">end</property> - <property name="position">0</property> + <property name="fill">True</property> + <property name="position">1</property> </packing> </child> </object> |