diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-02-20 00:29:36 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-02-20 00:29:36 +0100 |
commit | d3f2196d3c638222a8e96c3d61626a9ff8efb2e1 (patch) | |
tree | 74a5dc61fdc49be449497e0cedf9759a15a50ed5 /portato/gui/templates/PreferenceWindow.ui | |
parent | 796f983e0eb5889ee18169bfedfdef99e5b9e2ef (diff) | |
download | portato-d3f2196d3c638222a8e96c3d61626a9ff8efb2e1.tar.gz portato-d3f2196d3c638222a8e96c3d61626a9ff8efb2e1.tar.bz2 portato-d3f2196d3c638222a8e96c3d61626a9ff8efb2e1.zip |
Add color btns to the preferences, so they are configurable here too
Diffstat (limited to '')
-rw-r--r-- | portato/gui/templates/PreferenceWindow.ui | 269 |
1 files changed, 184 insertions, 85 deletions
diff --git a/portato/gui/templates/PreferenceWindow.ui b/portato/gui/templates/PreferenceWindow.ui index e5618fd..3b0edb8 100644 --- a/portato/gui/templates/PreferenceWindow.ui +++ b/portato/gui/templates/PreferenceWindow.ui @@ -57,6 +57,20 @@ </packing> </child> <child> + <object class="GtkCheckButton" id="searchOnTypeCheck"> + <property name="label" translatable="yes">Search while typing</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="yalign">0.47999998927116394</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> + <child> <object class="GtkHBox" id="hbox3"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> @@ -81,7 +95,7 @@ </child> </object> <packing> - <property name="position">1</property> + <property name="position">2</property> </packing> </child> </object> @@ -657,23 +671,6 @@ <property name="position">3</property> </packing> </child> - <child> - <object class="GtkCheckButton" id="searchOnTypeCheck"> - <property name="label" translatable="yes">Search while typing</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="has_tooltip">True</property> - <property name="tooltip_markup">Update the package list with the current search results while you are typing. -<b>Note</b>: Will slow down the typing process.</property> - <property name="yalign">0.47999998927116394</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="position">4</property> - </packing> - </child> </object> </child> </object> @@ -693,12 +690,12 @@ </packing> </child> <child> - <object class="GtkFrame" id="consoleFrame"> + <object class="GtkFrame" id="tabFrame"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="label_xalign">0</property> <child> - <object class="GtkAlignment" id="alignment9"> + <object class="GtkAlignment" id="alignment10"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="top_padding">5</property> @@ -706,35 +703,30 @@ <property name="left_padding">12</property> <property name="right_padding">5</property> <child> - <object class="GtkVBox" id="vbox1"> + <object class="GtkVBox" id="vbox7"> <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="spacing">5</property> <child> - <object class="GtkHBox" id="hbox1"> + <object class="GtkHBox" id="hbox2"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="spacing">5</property> + <property name="homogeneous">True</property> <child> - <object class="GtkLabel" id="label11"> + <object class="GtkLabel" id="label15"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Console Font</property> - <property name="single_line_mode">True</property> + <property name="label" translatable="yes">Package Tabs</property> </object> <packing> <property name="position">0</property> </packing> </child> <child> - <object class="GtkFontButton" id="consoleFontBtn"> + <object class="GtkComboBox" id="packageTabCombo"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="title" translatable="yes">Chose a console font</property> - <property name="use_font">True</property> - <property name="use_size">True</property> - <property name="show_style">False</property> </object> <packing> <property name="position">1</property> @@ -746,26 +738,25 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox"> + <object class="GtkHBox" id="hbox4"> <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="homogeneous">True</property> <child> - <object class="GtkLabel" id="label2"> + <object class="GtkLabel" id="label21"> <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Maximum length of the console title</property> - <property name="single_line_mode">True</property> + <property name="label" translatable="yes">System Tabs</property> </object> <packing> <property name="position">0</property> </packing> </child> <child> - <object class="GtkSpinButton" id="titleLengthSpinBtn"> + <object class="GtkComboBox" id="systemTabCombo"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="adjustment">adjustment1</property> - <property name="snap_to_ticks">True</property> - <property name="numeric">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> </object> <packing> <property name="position">1</property> @@ -773,7 +764,6 @@ </child> </object> <packing> - <property name="padding">4</property> <property name="position">1</property> </packing> </child> @@ -782,10 +772,10 @@ </object> </child> <child type="label"> - <object class="GtkLabel" id="label8"> + <object class="GtkLabel" id="label9"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="label" translatable="yes"><b>Console Options</b></property> + <property name="label" translatable="yes"><b>Tab Options</b></property> <property name="use_markup">True</property> </object> </child> @@ -796,12 +786,12 @@ </packing> </child> <child> - <object class="GtkFrame" id="tabFrame"> + <object class="GtkFrame" id="packageFrame"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="label_xalign">0</property> <child> - <object class="GtkAlignment" id="alignment10"> + <object class="GtkAlignment" id="alignment7"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="top_padding">5</property> @@ -809,30 +799,97 @@ <property name="left_padding">12</property> <property name="right_padding">5</property> <child> - <object class="GtkVBox" id="vbox7"> + <object class="GtkVBox" id="vbox3"> <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="spacing">5</property> <child> - <object class="GtkHBox" id="hbox2"> + <object class="GtkCheckButton" id="showSlotsCheck"> + <property name="label" translatable="yes">Show slots in the version list</property> <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="homogeneous">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="collapseCatCheck"> + <property name="label" translatable="yes">Collapse categories with same prefix</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="has_tooltip">True</property> + <property name="tooltip_markup">Organize the categories in a tree. Thereby collapse categories with the same prefix: +As an example: <i>app-admin</i>, <i>app-emacs</i>, and <i>app-vim</i> would be collapsed into <i><b>app</b></i> as root and <i>admin</i>, <i>emacs</i>, and <i>vim</i> as children.</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + </object> + </child> + <child type="label"> + <object class="GtkLabel" id="label14"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="label" translatable="yes"><b>Package Options</b></property> + <property name="use_markup">True</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkFrame" id="consoleFrame"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="label_xalign">0</property> + <child> + <object class="GtkAlignment" id="alignment9"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="top_padding">5</property> + <property name="bottom_padding">5</property> + <property name="left_padding">12</property> + <property name="right_padding">5</property> + <child> + <object class="GtkVBox" id="vbox1"> + <property name="visible">True</property> + <child> + <object class="GtkHBox" id="hbox1"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="spacing">5</property> <child> - <object class="GtkLabel" id="label15"> + <object class="GtkLabel" id="label11"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Package Tabs</property> + <property name="label" translatable="yes">Console Font</property> + <property name="single_line_mode">True</property> </object> <packing> <property name="position">0</property> </packing> </child> <child> - <object class="GtkComboBox" id="packageTabCombo"> + <object class="GtkFontButton" id="consoleFontBtn"> <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="title" translatable="yes">Chose a console font</property> + <property name="use_font">True</property> + <property name="use_size">True</property> + <property name="show_style">False</property> </object> <packing> <property name="position">1</property> @@ -844,25 +901,26 @@ </packing> </child> <child> - <object class="GtkHBox" id="hbox4"> + <object class="GtkHBox" id="hbox"> <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="homogeneous">True</property> <child> - <object class="GtkLabel" id="label21"> + <object class="GtkLabel" id="label2"> <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="xalign">0</property> - <property name="label" translatable="yes">System Tabs</property> + <property name="label" translatable="yes">Maximum length of the console title</property> + <property name="single_line_mode">True</property> </object> <packing> <property name="position">0</property> </packing> </child> <child> - <object class="GtkComboBox" id="systemTabCombo"> + <object class="GtkSpinButton" id="titleLengthSpinBtn"> <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="can_focus">True</property> + <property name="adjustment">adjustment1</property> + <property name="snap_to_ticks">True</property> + <property name="numeric">True</property> </object> <packing> <property name="position">1</property> @@ -870,6 +928,7 @@ </child> </object> <packing> + <property name="padding">4</property> <property name="position">1</property> </packing> </child> @@ -878,26 +937,26 @@ </object> </child> <child type="label"> - <object class="GtkLabel" id="label9"> + <object class="GtkLabel" id="label8"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="label" translatable="yes"><b>Tab Options</b></property> + <property name="label" translatable="yes"><b>Console Options</b></property> <property name="use_markup">True</property> </object> </child> </object> <packing> <property name="expand">False</property> - <property name="position">2</property> + <property name="position">3</property> </packing> </child> <child> - <object class="GtkFrame" id="packageFrame"> + <object class="GtkFrame" id="colorFrame"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="label_xalign">0</property> <child> - <object class="GtkAlignment" id="alignment7"> + <object class="GtkAlignment" id="alignment12"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> <property name="top_padding">5</property> @@ -905,31 +964,71 @@ <property name="left_padding">12</property> <property name="right_padding">5</property> <child> - <object class="GtkVBox" id="vbox3"> + <object class="GtkVBox" id="vbox8"> <property name="visible">True</property> <child> - <object class="GtkCheckButton" id="showSlotsCheck"> - <property name="label" translatable="yes">Show slots in the version list</property> + <object class="GtkHBox" id="hbox7"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="draw_indicator">True</property> + <property name="spacing">5</property> + <property name="homogeneous">True</property> + <child> + <object class="GtkLabel" id="label20"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Package Detail Background</property> + <property name="single_line_mode">True</property> + </object> + <packing> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkColorButton" id="pkgTableColorBtn"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="color">#000000000000</property> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">0</property> </packing> </child> <child> - <object class="GtkCheckButton" id="collapseCatCheck"> - <property name="label" translatable="yes">Collapse categories with same prefix</property> + <object class="GtkHBox" id="hbox6"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="has_tooltip">True</property> - <property name="tooltip_markup">Organize the categories in a tree. Thereby collapse categories with the same prefix: -As an example: <i>app-admin</i>, <i>app-emacs</i>, and <i>app-vim</i> would be collapsed into <i><b>app</b></i> as root and <i>admin</i>, <i>emacs</i>, and <i>vim</i> as children.</property> - <property name="draw_indicator">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="spacing">5</property> + <property name="homogeneous">True</property> + <child> + <object class="GtkLabel" id="label19"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Flag Placeholder Description Background</property> + <property name="single_line_mode">True</property> + </object> + <packing> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkColorButton" id="prefColorBtn"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="color">#000000000000</property> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="position">1</property> @@ -940,17 +1039,17 @@ As an example: <i>app-admin</i>, <i>app-emacs</i>, and & </object> </child> <child type="label"> - <object class="GtkLabel" id="label14"> + <object class="GtkLabel" id="label18"> <property name="visible">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> - <property name="label" translatable="yes"><b>Package Options</b></property> + <property name="label" translatable="yes"><b>Color Options</b></property> <property name="use_markup">True</property> </object> </child> </object> <packing> <property name="expand">False</property> - <property name="position">3</property> + <property name="position">4</property> </packing> </child> </object> |