b573ce5683
The code must call set_selection_mode(SelectionMode::Multiple) instead. Change-Id: I2d51dd3d3182ccec25f2ec1093a3866880354371 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121915 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
515 lines
27 KiB
XML
515 lines
27 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.38.2 -->
|
|
<interface domain="sfx">
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkMenu" id="contextmenu">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
</object>
|
|
<object class="GtkImage" id="image8">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">svx/res/galicon.png</property>
|
|
</object>
|
|
<object class="GtkImage" id="image9">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">svx/res/listview.png</property>
|
|
</object>
|
|
<object class="GtkMenu" id="menu1">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
</object>
|
|
<object class="GtkTreeStore" id="tree_store">
|
|
<columns>
|
|
<!-- column-name default_img -->
|
|
<column type="GdkPixbuf"/>
|
|
<!-- column-name name -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name category -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name application -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name modified -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name size -->
|
|
<column type="gchararray"/>
|
|
<!-- column-name id -->
|
|
<column type="gchararray"/>
|
|
</columns>
|
|
</object>
|
|
<object class="GtkDialog" id="TemplateDialog">
|
|
<property name="width-request">740</property>
|
|
<property name="height-request">500</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="border-width">6</property>
|
|
<property name="title" translatable="yes" context="templatedlg|TemplateDialog">Templates</property>
|
|
<property name="modal">True</property>
|
|
<property name="default-width">0</property>
|
|
<property name="default-height">0</property>
|
|
<property name="type-hint">normal</property>
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox" id="dialog-vbox1">
|
|
<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_area1">
|
|
<property name="can-focus">False</property>
|
|
<property name="layout-style">end</property>
|
|
<child>
|
|
<object class="GtkButton" id="help">
|
|
<property name="label" translatable="yes" context="stock">_Help</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="use-underline">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
<property name="secondary">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkCheckButton" id="hidedialogcb">
|
|
<property name="label" translatable="yes" context="templatedlg|hidedialogcb">Show this dialog at startup</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="draw-indicator">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
<property name="secondary">True</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="ok">
|
|
<property name="label" translatable="yes" context="stock">_OK</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="use-underline">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="close">
|
|
<property name="label" translatable="yes" context="stock">_Close</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="can-default">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="use-underline">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="pack-type">end</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="box1">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkBox" id="filter_box">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkEntry" id="search_filter">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="tooltip-text" translatable="yes" context="templatedlg|search_filter|tooltip_text">Search</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="activates-default">True</property>
|
|
<property name="truncate-multiline">True</property>
|
|
<property name="placeholder-text" translatable="yes" context="templatedlg|search_filter">Search...</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="box5">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkBox" id="box7">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="GtkMenuButton" id="action_menu">
|
|
<property name="label" translatable="yes" context="templatedlg|action_menu|label">_Manage</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">False</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="always-show-image">True</property>
|
|
<property name="draw-indicator">True</property>
|
|
<property name="popup">menu1</property>
|
|
<property name="use-popover">False</property>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="action_menu-atkobject">
|
|
<property name="AtkObject::accessible-description" translatable="yes" context="templatedlg|extended_tip|action_menu">Provides commands to create, rename and delete categories, reset default templates, and refresh the template manager.</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</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="GtkBox" id="box6">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="filter_application">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="tooltip-text" translatable="yes" context="templatedlg|filter_application|tooltip_text">Filter by Application</property>
|
|
<items>
|
|
<item id="0" translatable="yes" context="templatedlg|applist">All Applications</item>
|
|
<item id="0" translatable="yes" context="templatedlg|applist">Text Documents</item>
|
|
<item id="0" translatable="yes" context="templatedlg|applist">Spreadsheets</item>
|
|
<item id="0" translatable="yes" context="templatedlg|applist">Presentations</item>
|
|
<item id="0" translatable="yes" context="templatedlg|applist">Drawings</item>
|
|
</items>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkComboBoxText" id="filter_folder">
|
|
<property name="width-request">250</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="tooltip-text" translatable="yes" context="templatedlg|filter_folder|tooltip_text">Filter by Category</property>
|
|
<items>
|
|
<item id="0" translatable="yes" context="templatedlg|folderlist">All Categories</item>
|
|
</items>
|
|
</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="fill">True</property>
|
|
<property name="pack-type">end</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label1">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes" context="templatedlg|label1">Filter</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="pack-type">end</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="pack-type">end</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkFrame" id="thumbnailviewframe">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="label-xalign">0</property>
|
|
<property name="shadow-type">none</property>
|
|
<child>
|
|
<object class="GtkBox" id="thumbnailview_box">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">6</property>
|
|
<child>
|
|
<object class="GtkScrolledWindow" id="scrolllocal">
|
|
<property name="can-focus">True</property>
|
|
<property name="no-show-all">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="shadow-type">in</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<child>
|
|
<object class="GtkDrawingArea" id="template_view">
|
|
<property name="can-focus">True</property>
|
|
<property name="events">GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_STRUCTURE_MASK</property>
|
|
<property name="no-show-all">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="can-focus">True</property>
|
|
<property name="no-show-all">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="shadow-type">in</property>
|
|
<child>
|
|
<object class="GtkTreeView" id="tree_list">
|
|
<property name="can-focus">True</property>
|
|
<property name="no-show-all">True</property>
|
|
<property name="has-tooltip">True</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="model">tree_store</property>
|
|
<property name="enable-search">False</property>
|
|
<property name="search-column">0</property>
|
|
<property name="show-expanders">False</property>
|
|
<child internal-child="selection">
|
|
<object class="GtkTreeSelection" id="treeview-selection1"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn">
|
|
<child>
|
|
<object class="GtkCellRendererPixbuf" id="cellrenderer1"/>
|
|
<attributes>
|
|
<attribute name="pixbuf">0</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
|
|
<property name="resizable">True</property>
|
|
<property name="spacing">6</property>
|
|
<property name="title" translatable="yes" context="templatedlg|treeviewcolumn1">Name</property>
|
|
<property name="expand">True</property>
|
|
<property name="clickable">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderer2">
|
|
<property name="ypad">3</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">1</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn2">
|
|
<property name="resizable">True</property>
|
|
<property name="spacing">6</property>
|
|
<property name="title" translatable="yes" context="templatedlg|treeviewcolumn2">Category</property>
|
|
<property name="clickable">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderer3">
|
|
<property name="ypad">3</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">2</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn3">
|
|
<property name="resizable">True</property>
|
|
<property name="title" translatable="yes" context="templatedlg|treeviewcolumn3">Application</property>
|
|
<property name="clickable">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderer4">
|
|
<property name="ypad">3</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">3</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn4">
|
|
<property name="resizable">True</property>
|
|
<property name="title" translatable="yes" context="templatedlg|treeviewcolumn4">Modified</property>
|
|
<property name="clickable">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderer5">
|
|
<property name="ypad">3</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">4</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkTreeViewColumn" id="treeviewcolumn5">
|
|
<property name="resizable">True</property>
|
|
<property name="title" translatable="yes" context="templatedlg|treeviewcolumn5">Size</property>
|
|
<property name="clickable">True</property>
|
|
<child>
|
|
<object class="GtkCellRendererText" id="cellrenderer6">
|
|
<property name="ypad">3</property>
|
|
</object>
|
|
<attributes>
|
|
<attribute name="text">5</attribute>
|
|
</attributes>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child type="label">
|
|
<object class="GtkLabel" id="thumbnailviewlabel">
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes" context="templatedlg|thumbnailviewlabel">Template List</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="box2">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="GtkToggleButton" id="thumbnail_view_btn">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="tooltip-text" translatable="yes" context="templatedlg|thumbnail_view_btn|tooltip_text">Thumbnail View</property>
|
|
<property name="image">image8</property>
|
|
<property name="relief">none</property>
|
|
<property name="always-show-image">True</property>
|
|
<property name="active">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkToggleButton" id="list_view_btn">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="tooltip-text" translatable="yes" context="templatedlg|list_view_btn|tooltip_text">List View</property>
|
|
<property name="image">image9</property>
|
|
<property name="relief">none</property>
|
|
<property name="always-show-image">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="fill">True</property>
|
|
<property name="pack-type">end</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<action-widgets>
|
|
<action-widget response="-11">help</action-widget>
|
|
<action-widget response="-5">ok</action-widget>
|
|
<action-widget response="-7">close</action-widget>
|
|
</action-widgets>
|
|
</object>
|
|
</interface>
|