Skip to content

Commit

Permalink
Merge pull request #31 from hellcp/master
Browse files Browse the repository at this point in the history
Ship icon with module
  • Loading branch information
lslezak committed Nov 23, 2018
2 parents d0d0e88 + f50d3f3 commit aedc789
Show file tree
Hide file tree
Showing 8 changed files with 330 additions and 4 deletions.
3 changes: 3 additions & 0 deletions configure.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
@YAST2-CHECKS-COMMON@
@YAST2-CHECKS-YCP@

icondir=/usr/share/icons
AC_SUBST(icondir)

## and generate the output...
@YAST2-OUTPUT@
5 changes: 5 additions & 0 deletions package/yast2-apparmor.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 23 14:14:25 UTC 2018 - Stasiek Michalski <hellcp@mailbox.org>

- Provide icon with module (boo#1109310)

-------------------------------------------------------------------
Tue Oct 16 16:54:23 CEST 2018 - schubi@suse.de

Expand Down
3 changes: 2 additions & 1 deletion package/yast2-apparmor.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-apparmor
Version: 4.1.0
Version: 4.1.1
Release: 0
Summary: YaST2 - Plugins for AppArmor Profile Management
Url: https://github.com/yast/yast-apparmor
Expand Down Expand Up @@ -54,6 +54,7 @@ profiles.
%{yast_libdir}/apparmor
%{yast_moduledir}
%{yast_desktopdir}
%{_datadir}/icons/*
%doc %{yast_docdir}
%license COPYING

10 changes: 9 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ ylib_DATA = \
desktop_DATA = \
desktop/apparmor.desktop

EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(ylib_DATA) $(desktop_DATA)
symbolicdir = @icondir@/hicolor/symbolic/apps
symbolic_DATA = \
icons/hicolor/symbolic/apps/yast-apparmor-symbolic.svg

scalabledir = @icondir@/hicolor/scalable/apps
scalable_DATA = \
icons/hicolor/scalable/apps/yast-apparmor.svg

EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(ylib_DATA) $(desktop_DATA) $(symbolic_DATA) $(scalable_DATA)

include $(top_srcdir)/Makefile.am.common
2 changes: 1 addition & 1 deletion src/desktop/apparmor.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ X-SuSE-YaST-SortKey=
X-SuSE-YaST-AutoInstClonable=false
X-SuSE-YaST-Keywords=security,LSM,MAC,DAC,access,control

Icon=apparmor_view_profile
Icon=yast-apparmor
Exec=/usr/bin/xdg-su -c '/sbin/yast2 apparmor'

Name=AppArmor Configuration
Expand Down
307 changes: 307 additions & 0 deletions src/icons/hicolor/scalable/apps/yast-apparmor.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/icons/hicolor/symbolic/apps/yast-apparmor-symbolic.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/include/apparmor/aa-config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def displayAppArmorConfig

# May want to replace Wizard() with UI()
Wizard.CreateDialog
Wizard.SetTitleIcon("apparmor/control_panel")
Wizard.SetContentsButtons(
caption,
contents,
Expand Down

0 comments on commit aedc789

Please sign in to comment.