Skip to content

Commit

Permalink
Move icon to module
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp committed Nov 22, 2018
1 parent d0d0e88 commit 382c251
Show file tree
Hide file tree
Showing 6 changed files with 236 additions and 3 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@
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
220 changes: 220 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 382c251

Please sign in to comment.