Skip to content

Commit

Permalink
ui.rc files: consistently use <gui> instead of deprecated <kpartgui>
Browse files Browse the repository at this point in the history
  • Loading branch information
kossebau committed Nov 28, 2020
1 parent 2e3faa0 commit 48891b7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions part/part-viewermode.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="okular_part_viewermode" version="6">
<?xml version="1.0"?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui name="okular_part_viewermode" version="6">

<MenuBar>
<Menu name="file"><text>&amp;File</text>
Expand Down Expand Up @@ -69,4 +70,4 @@
<Action name="mouse_selecttools"/>
</ToolBar>

</kpartgui>
</gui>
7 changes: 4 additions & 3 deletions part/part.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="okular_part" version="47">
<?xml version="1.0"?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui name="okular_part" version="47">
<MenuBar>
<Menu name="file"><text>&amp;File</text>
<Action name="get_new_stuff" group="file_open"/>
Expand Down Expand Up @@ -131,4 +132,4 @@
<Spacer/>
<Action name="hide_annotation_toolbar"/>
</ToolBar>
</kpartgui>
</gui>
7 changes: 4 additions & 3 deletions shell/shell.rc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui version="9" name="okular_shell" >
<?xml version="1.0"?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui version="9" name="okular_shell" >
<MenuBar>
<Menu name="file" >
<DefineGroup append="open_merge" name="file_open" />
Expand All @@ -24,4 +25,4 @@
<!--Action name="file_open_recent" /-->
<!--Action name="file_print" /-->
</ToolBar>
</kpartgui>
</gui>

0 comments on commit 48891b7

Please sign in to comment.