diff options
author | rbuj <[email protected]> | 2020-02-11 15:13:26 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-03-10 15:40:30 +0100 |
commit | 38020e7234837a72e8e47f1926d0ed0a581010fe (patch) | |
tree | 8ea0d7574fe04a5a7502c943d8df4c44190da883 /logview/data | |
parent | 1e73981afa3bc9ade66d19da3e02e4afc353061e (diff) | |
download | mate-utils-38020e7234837a72e8e47f1926d0ed0a581010fe.tar.bz2 mate-utils-38020e7234837a72e8e47f1926d0ed0a581010fe.tar.xz |
logview: Rewrite logview-filter.ui from scratch
Diffstat (limited to 'logview/data')
-rw-r--r-- | logview/data/logview-filter.ui | 356 |
1 files changed, 211 insertions, 145 deletions
diff --git a/logview/data/logview-filter.ui b/logview/data/logview-filter.ui index 57e8cb59..55fc65c5 100644 --- a/logview/data/logview-filter.ui +++ b/logview/data/logview-filter.ui @@ -1,198 +1,298 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.22.1 --> <interface> - <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy project-wide --> + <requires lib="gtk+" version="3.22"/> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">process-stop</property> + </object> + <object class="GtkImage" id="image2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="icon_name">gtk-apply</property> + </object> <object class="GtkDialog" id="dialog_filter"> - <property name="border_width">5</property> - <property name="modal">True</property> - <property name="type_hint">normal</property> + <property name="can_focus">False</property> + <property name="type_hint">dialog</property> + <child> + <placeholder/> + </child> <child internal-child="vbox"> - <object class="GtkVBox" id="dialog-vbox2"> - <property name="visible">True</property> - <property name="spacing">6</property> - <child> - <object class="GtkTable" id="table1"> - <property name="visible">True</property> - <property name="n_rows">3</property> - <property name="n_columns">2</property> - <property name="column_spacing">12</property> - <property name="row_spacing">6</property> - <child> - <object class="GtkLabel" id="label1"> - <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">_Name:</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="x_options">GTK_FILL</property> - <property name="y_options">GTK_FILL</property> - </packing> - </child> + <object class="GtkBox"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> + <child internal-child="action_area"> + <object class="GtkButtonBox"> + <property name="can_focus">False</property> + <property name="layout_style">end</property> <child> - <object class="GtkLabel" id="label2"> + <object class="GtkButton" id="button1"> + <property name="label" translatable="yes">_Cancel</property> <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">_Regular Expression:</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="image">image1</property> <property name="use_underline">True</property> + <property name="always_show_image">True</property> </object> <packing> - <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - <property name="x_options">GTK_FILL</property> - <property name="y_options">GTK_FILL</property> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkEntry" id="entry_name"> + <object class="GtkButton" id="button2"> + <property name="label" translatable="yes">_Apply</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> + <property name="receives_default">True</property> + <property name="image">image2</property> + <property name="use_underline">True</property> + <property name="always_show_image">True</property> </object> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> + <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">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_left">12</property> + <property name="margin_right">12</property> + <property name="margin_top">12</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> <child> - <object class="GtkEntry" id="entry_regex"> + <object class="GtkGrid"> <property name="visible">True</property> - <property name="can_focus">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> + <child> + <object class="GtkLabel" id="label_name"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">_Name:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">entry_name</property> + <accessibility> + <relation type="label-for" target="entry_name"/> + </accessibility> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label_regex"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">_Regular Expression:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">entry_regex</property> + <accessibility> + <relation type="label-for" target="entry_regex"/> + </accessibility> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="entry_name"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <accessibility> + <relation type="labelled-by" target="label_name"/> + </accessibility> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="entry_regex"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <accessibility> + <relation type="labelled-by" target="label_regex"/> + </accessibility> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + </packing> + </child> </object> <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="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <object class="GtkFrame" id="frame1"> + <object class="GtkFrame"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label_xalign">0</property> - <property name="label_yalign">0</property> <property name="shadow_type">none</property> <child> - <object class="GtkAlignment" id="alignment1"> + <object class="GtkAlignment"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="left_padding">12</property> <child> - <object class="GtkTable" id="table2"> + <object class="GtkBox"> <property name="visible">True</property> - <property name="n_rows">2</property> - <property name="n_columns">2</property> - <property name="column_spacing">12</property> - <property name="row_spacing">12</property> + <property name="can_focus">False</property> + <property name="margin_top">6</property> + <property name="orientation">vertical</property> + <property name="spacing">12</property> <child> - <object class="GtkRadioButton" id="radio_color"> - <property name="label" translatable="yes">Highlight</property> + <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="xalign">0</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - </object> - </child> - <child> - <object class="GtkRadioButton" id="radio_visible"> - <property name="label" translatable="yes">Hide</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="xalign">0</property> - <property name="active">True</property> - <property name="draw_indicator">True</property> - </object> - <packing> - <property name="top_attach">1</property> - <property name="bottom_attach">2</property> - </packing> - </child> - <child> - <object class="GtkVBox" id="vbox_color"> - <property name="visible">True</property> - <property name="spacing">5</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkRadioButton" id="radio_color"> + <property name="label" translatable="yes">Highlight</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> <child> - <object class="GtkHBox" id="hbox1"> + <object class="GtkGrid" id="vbox_color"> + <property name="sensitive" bind-source="radio_color" bind-property="active"/> <property name="visible">True</property> - <property name="spacing">12</property> + <property name="can_focus">False</property> + <property name="margin_left">12</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> <child> <object class="GtkCheckButton" id="check_foreground"> + <property name="active">True</property> <property name="label" translatable="yes">Foreground:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="xalign">0</property> + <property name="halign">start</property> <property name="draw_indicator">True</property> </object> <packing> - <property name="position">0</property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> </packing> </child> <child> - <object class="GtkColorButton" id="color_foreground"> + <object class="GtkCheckButton" id="check_background"> + <property name="active">True</property> + <property name="label" translatable="yes">Background:</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="receives_default">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> </object> <packing> - <property name="position">1</property> + <property name="left_attach">0</property> + <property name="top_attach">1</property> </packing> </child> - </object> - <packing> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkHBox" id="hbox2"> - <property name="visible">True</property> - <property name="spacing">12</property> <child> - <object class="GtkCheckButton" id="check_background"> - <property name="label" translatable="yes">Background:</property> + <object class="GtkColorButton" id="color_foreground"> + <property name="sensitive" bind-source="check_foreground" bind-property="active"/> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="xalign">0</property> - <property name="draw_indicator">True</property> + <property name="receives_default">True</property> + <property name="rgba">rgb(238,238,236)</property> </object> <packing> - <property name="position">0</property> + <property name="left_attach">1</property> + <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkColorButton" id="color_background"> + <property name="sensitive" bind-source="check_background" bind-property="active"/> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="rgba">rgb(164,0,0)</property> </object> <packing> - <property name="position">1</property> + <property name="left_attach">1</property> + <property name="top_attach">1</property> </packing> </child> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <placeholder/> + <object class="GtkRadioButton" id="radio_visible"> + <property name="label" translatable="yes">Hide</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + <property name="group">radio_color</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> </child> </object> </child> </object> </child> <child type="label"> - <object class="GtkLabel" id="label3"> + <object class="GtkLabel"> <property name="visible">True</property> - <property name="xalign">0</property> + <property name="can_focus">False</property> <property name="label" translatable="yes">Effect:</property> <attributes> <attribute name="weight" value="bold"/> @@ -201,49 +301,15 @@ </child> </object> <packing> - <property name="right_attach">2</property> - <property name="top_attach">2</property> - <property name="bottom_attach">3</property> - <property name="y_padding">6</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="button1"> - <property name="label">gtk-cancel</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="position">0</property> - </packing> - </child> - <child> - <object class="GtkButton" id="button2"> - <property name="label">gtk-apply</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">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> - <property name="pack_type">end</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> |