Dolphin skel: add button "show_preview:

master
Artem Proskurnev 3 years ago
parent f5551ba4bc
commit 0d3c0f2110
  1. 203
      installer-feature-kometa-school-kde5-1.0/dolphinui.rc
  2. 9
      installer-feature-kometa-school-kde5.spec

@ -0,0 +1,203 @@
<!DOCTYPE gui>
<gui name="dolphin" version="35" translationDomain="kxmlgui5">
<MenuBar>
<Menu name="file" noMerge="1">
<text translationDomain="kxmlgui5">&amp;File</text>
<Action name="file_new"/>
<Separator weakSeparator="1"/>
<Action name="new_menu"/>
<Action name="file_new"/>
<Action name="new_tab"/>
<Action name="file_close"/>
<Action name="undo_close_tab"/>
<Separator/>
<Action name="add_to_places"/>
<Separator/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Separator/>
<Action name="show_target"/>
<Separator/>
<Action name="properties"/>
<Separator weakSeparator="1"/>
<Action name="file_close"/>
<Separator weakSeparator="1"/>
<Action name="file_quit"/>
</Menu>
<Menu name="edit" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Edit</text>
<Action name="edit_undo"/>
<Separator weakSeparator="1"/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="edit_paste"/>
<Separator weakSeparator="1"/>
<Action name="edit_select_all"/>
<Separator weakSeparator="1"/>
<Action name="edit_find"/>
<Separator weakSeparator="1"/>
<Action name="edit_undo"/>
<Separator/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="copy_location"/>
<Action name="edit_paste"/>
<Separator/>
<Action name="show_filter_bar"/>
<Action name="edit_find"/>
<Separator/>
<Action name="copy_to_inactive_split_view"/>
<Action name="move_to_inactive_split_view"/>
<Action name="edit_select_all"/>
<Action name="invert_selection"/>
</Menu>
<Menu name="view" noMerge="1">
<text translationDomain="kxmlgui5">&amp;View</text>
<Action name="view_zoom_in"/>
<Action name="view_zoom_out"/>
<Separator weakSeparator="1"/>
<Action name="view_redisplay"/>
<Separator weakSeparator="1"/>
<Action name="view_zoom_in"/>
<Action name="view_zoom_reset"/>
<Action name="view_zoom_out"/>
<Separator/>
<Action name="sort"/>
<Action name="view_mode"/>
<Action name="additional_info"/>
<Action name="show_preview"/>
<Action name="show_in_groups"/>
<Action name="show_hidden_files"/>
<Separator/>
<Action name="split_view"/>
<Action name="split_stash"/>
<Action name="redisplay"/>
<Action name="stop"/>
<Separator/>
<Action name="panels"/>
<Menu name="location_bar" noMerge="1" icon="edit-select-text">
<text translationDomain="dolphin" context="@title:menu">Location Bar</text>
<Action name="editable_location"/>
<Action name="replace_location"/>
</Menu>
<Separator/>
<Action name="view_properties"/>
</Menu>
<Menu name="go" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Go</text>
<Action name="go_up"/>
<Action name="go_back"/>
<Action name="go_forward"/>
<Action name="go_home"/>
<Separator weakSeparator="1"/>
<Action name="bookmarks"/>
<Action name="closed_tabs"/>
</Menu>
<Menu name="tools" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Tools</text>
<Action name="open_preferred_search_tool"/>
<Action name="open_terminal"/>
<Action name="focus_terminal_panel"/>
<Action name="compare_files"/>
<Action name="change_remote_encoding"/>
</Menu>
<Menu name="settings" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Settings</text>
<Action name="options_show_menubar"/>
<Merge name="StandardToolBarMenuHandler"/>
<Merge name="KMDIViewActions"/>
<Separator weakSeparator="1"/>
<Action name="switch_application_language"/>
<Action name="options_configure_keybinding"/>
<Action name="options_configure_toolbars"/>
<Action name="options_configure"/>
</Menu>
<Separator weakSeparator="1"/>
<Menu name="help" noMerge="1">
<text translationDomain="kxmlgui5">&amp;Help</text>
<Action name="help_contents"/>
<Action name="help_whats_this"/>
<Separator weakSeparator="1"/>
<Action name="help_report_bug"/>
<Separator weakSeparator="1"/>
<Action name="help_donate"/>
<Separator weakSeparator="1"/>
<Action name="help_about_app"/>
<Action name="help_about_kde"/>
</Menu>
</MenuBar>
<ToolBar name="mainToolBar" noMerge="1">
<text translationDomain="dolphin" context="@title:menu">Main Toolbar</text>
<Action name="go_back"/>
<Action name="go_up"/>
<Action name="go_forward"/>
<Separator name="separator_0"/>
<Action name="icons"/>
<Action name="compact"/>
<Action name="details"/>
<Action name="url_navigators"/>
<Action name="show_preview"/>
<Action name="split_view"/>
<Action name="split_stash"/>
<Action name="toggle_search"/>
<Action name="hamburger_menu"/>
</ToolBar>
<State name="new_file">
<disable>
<Action name="edit_undo"/>
<Action name="edit_redo"/>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="invert_selection"/>
<Separator/>
<Action name="go_back"/>
<Action name="go_forward"/>
</disable>
</State>
<State name="has_selection">
<enable>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="invert_selection"/>
</enable>
</State>
<State name="has_no_selection">
<disable>
<Action name="edit_cut"/>
<Action name="edit_copy"/>
<Action name="renamefile"/>
<Action name="duplicate"/>
<Action name="movetotrash"/>
<Action name="deletefile"/>
<Action name="delete_shortcut"/>
<Action name="invert_selection"/>
</disable>
</State>
<ActionProperties scheme="Default">
<Action name="go_back" priority="0"/>
<Action name="go_forward" priority="0"/>
<Action name="go_up" priority="0"/>
<Action name="go_home" priority="0"/>
<Action name="stop" priority="0"/>
<Action name="icons" priority="0"/>
<Action name="compact" priority="0"/>
<Action name="details" priority="0"/>
<Action name="view_zoom_in" priority="0"/>
<Action name="view_zoom_reset" priority="0"/>
<Action name="view_zoom_out" priority="0"/>
<Action name="edit_cut" priority="0"/>
<Action name="edit_copy" priority="0"/>
<Action name="edit_paste" priority="0"/>
<Action name="toggle_search" priority="0"/>
<Action name="toggle_filter" priority="0"/>
</ActionProperties>
</gui>

@ -1,6 +1,6 @@
Name: installer-feature-kometa-school-kde5 Name: installer-feature-kometa-school-kde5
Version: 1.0 Version: 1.0
Release: kometa6 Release: kometa7
Summary: feature to kometa school distro Summary: feature to kometa school distro
License: GPL License: GPL
@ -19,19 +19,24 @@ feature to kometa school distro
%setup %setup
%install %install
%define skeldir /etc/skel
%define skeldolphin %skeldir/.local/share/kxmlgui5/dolphin
%define hookdir %_datadir/install2/preinstall.d %define hookdir %_datadir/install2/preinstall.d
mkdir -p %buildroot%skeldolphin
mkdir -p %buildroot%hookdir mkdir -p %buildroot%hookdir
mkdir -p %buildroot/etc mkdir -p %buildroot/etc
install -pm755 93-kometa-school-kde5.sh %buildroot%hookdir/ install -pm755 93-kometa-school-kde5.sh %buildroot%hookdir/
install -pm644 os-release %buildroot/etc/ install -pm644 os-release %buildroot/etc/
install -pm644 dolphinui.rc %buildroot%skeldolphin
%files %files
%hookdir/* %hookdir/*
%buildroot/etc/os-release %buildroot/etc/os-release
%buildroot%skeldolphin/dolphinui.rc
%changelog %changelog
* Fri Dec 24 2021 Artem Proskurnev <tema@proskurnevs.ru> 1.0-kometa7 * Fri Dec 24 2021 Artem Proskurnev <tema@proskurnevs.ru> 1.0-kometa7
- os-release отдельным файлом - os-release отдельным файлом и добавление в dolphin кнопки отображения миниатюр на панель инструментов
* Wed Dec 15 2021 Artem Proskurnev <tema@proskurnevs.ru> 1.0-kometa6 * Wed Dec 15 2021 Artem Proskurnev <tema@proskurnevs.ru> 1.0-kometa6
- p9 -> p10 - p9 -> p10

Loading…
Cancel
Save