diff --git a/#ubl-settings-diskquota.glade# b/#ubl-settings-diskquota.glade#
deleted file mode 100644
index e46a1b6..0000000
--- a/#ubl-settings-diskquota.glade#
+++ /dev/null
@@ -1,7415 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- True
- False
-
-
- 90
- True
- False
- 5
- 5
- 5
- 5
- 6
- 6
- 69
- com.ublinux.ubl-settings-diskquota
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
-
-
- True
- False
- vertical
-
-
- 255
- True
- False
- end
- Setting user quotas
- 0
-
-
-
-
-
-
-
- True
- True
- 0
-
-
-
-
- 255
- True
- False
- start
- Configuring disk quota settings for system groups and users
- True
- 0
-
-
-
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- True
- 1
-
-
-
-
- 5
- 1
- 10
-
-
-
- 59
- 1
- 10
-
-
- 100
- 1
- 10
-
-
- 5
- 1
- 10
-
-
-
- 59
- 1
- 10
-
-
- 100
- 1
- 10
-
-
- 5
- 1
- 10
-
-
- 23
- 1
- 10
-
-
- 59
- 1
- 10
-
-
- 100
- 1
- 10
-
-
-
-
-
-
- True
- False
- dialog-question-symbolic
-
-
- True
- False
- ibus-panel
-
-
-
-
-
- 800
- 500
- False
- center
- com.ublinux.ubl-settings-diskquota
- center
-
-
- True
- False
- vertical
-
-
- True
- False
- vertical
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- 25
- 1
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- start
- 5
- 5
- 5
- 5
- 5
- 5
-
-
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
-
-
- 81
- True
- False
-
-
- True
- False
- start
-
-
- -1
-
-
-
-
- False
- True
- 0
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- True
- True
- vertical
-
-
- True
- True
-
-
- True
- False
- vertical
-
-
- 300
- True
- True
- in
-
-
- True
- False
-
-
- True
- True
- ListGeneral
-
-
-
-
-
- Status
- True
-
-
-
-
-
-
-
- Quota type
- True
-
-
-
-
-
-
-
- Device
-Project
- True
-
-
-
-
-
-
-
- User
- True
-
-
-
-
-
-
-
- Group
- True
-
-
-
-
-
-
-
- Projects
- True
-
-
-
-
-
-
-
- Soft
-Restriction
-(size)
- True
-
-
-
-
-
-
-
- Severe
-limitation
-(size)
- True
-
-
-
-
-
-
-
- Soft
-Restriction
-(files)
- True
-
-
-
-
-
-
-
- Severe
-limitation
-(files)
- True
-
-
-
-
-
-
-
- Deferring
-(size)
- True
-
-
-
-
-
-
-
- Deferring
-(files)
- True
-
-
-
-
-
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
-
-
- True
- False
- General statistics
-
-
- False
-
-
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Device:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
- - Off
- - Not set
-
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- vertical
- 5
- True
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Excess files delay period
-
-
- False
- True
- end
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
-
- False
- True
- 0
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- weeks
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
-
- False
- True
- 0
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- days
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
-
- False
- True
- 0
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- hours
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
-
- False
- True
- 0
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- minutes
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 4
-
-
-
-
- False
- True
- 1
-
-
-
-
- 100
- True
- True
- in
-
-
- True
- False
-
-
- True
- True
- ListUser
-
-
-
-
-
- Name
- True
-
-
-
-
-
-
-
- Quota
- True
-
-
-
-
-
-
-
- Size
- True
-
-
-
-
-
-
-
- Soft
-Restriction
-(size)
- True
-
-
-
-
-
-
-
- Severe
-limitation
-(size)
- True
-
-
-
-
-
-
-
- Soft
-Restriction
-(files)
- True
-
-
-
-
-
-
-
- Files
-
-
-
-
-
-
-
- Severe
-limitation
-(files)
- True
-
-
-
-
-
-
-
- Deferring
-(size)
- True
-
-
-
-
-
-
-
- Deferring
-(files)
- True
-
-
-
-
-
-
-
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
-
-
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
-
-
- True
- False
- com.ublinux.ubl-settings-diskquota.funnel
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- Filters
-
-
- False
- True
- 1
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- gtk-delete
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- gtk-edit
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- Edit
-
-
- False
- True
- 1
-
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- gtk-add
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- end
- 1
-
-
-
-
- False
- True
- end
- 3
-
-
-
-
- 1
-
-
-
-
- True
- False
- Users
-
-
- 1
- False
-
-
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Device:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
- - Off
- - Not set
-
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- vertical
- 5
- True
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Excess size delay period
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Excess files delay period
-
-
- False
- True
- end
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- weeks
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- weeks
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- days
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- days
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- hours
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- hours
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- minutes
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- minutes
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 4
-
-
-
-
- False
- True
- 1
-
-
-
-
- 100
- True
- True
- in
-
-
- True
- False
-
-
- True
- True
- ListGroups
-
-
-
-
-
- Name
- True
-
-
-
-
-
-
-
- Quota
- True
-
-
-
-
-
-
-
- Size
- True
-
-
-
-
-
-
-
- Soft
-Restriction
-(size)
- True
-
-
-
-
-
-
-
- Severe
-limitation
-(size)
- True
-
-
-
-
-
-
-
- Soft
-Restriction
-(files)
- True
-
-
-
-
-
-
-
- Files
-
-
-
-
-
-
-
- Severe
-limitation
-(files)
- True
-
-
-
-
-
-
-
- Deferring
-(size)
- True
-
-
-
-
-
-
-
- Deferring
-(files)
- True
-
-
-
-
-
-
-
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
-
-
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
-
-
- True
- False
- com.ublinux.ubl-settings-diskquota.funnel
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- Filters
-
-
- False
- True
- 1
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- gtk-delete
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- gtk-edit
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- Edit
-
-
- False
- True
- 1
-
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- gtk-add
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- end
- 1
-
-
-
-
- False
- True
- end
- 3
-
-
-
-
- 2
-
-
-
-
- True
- False
- Groups
-
-
- 2
- False
-
-
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Device:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
- - Off
- - Not set
-
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- vertical
- 5
- True
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Excess size delay period
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Excess files delay period
-
-
- False
- True
- end
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- weeks
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- weeks
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- days
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- hours
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- hours
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- vertical
- 5
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- minutes
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- minutes
- 0
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 4
-
-
-
-
- False
- True
- 1
-
-
-
-
- 100
- True
- True
- in
-
-
- True
- False
-
-
- True
- True
- ListProject
-
-
-
-
-
- ID
- True
-
-
-
-
-
-
-
- Project Name
- True
-
-
-
-
-
-
-
- Quota
- True
-
-
-
-
-
-
-
- Size
- True
-
-
-
-
-
-
-
- Soft
-Restriction
-(size)
- True
-
-
-
-
-
-
-
- Severe
-limitation
-(size)
- True
-
-
-
-
-
-
-
- Soft
-Restriction
-(files)
- True
-
-
-
-
-
-
-
- Files
-
-
-
-
-
-
-
- Severe
-limitation
-(files)
- True
-
-
-
-
-
-
-
- Deferring
-(size)
- True
-
-
-
-
-
-
-
- Deferring
-(files)
- True
-
-
-
-
-
-
-
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
-
-
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
-
-
- True
- False
- com.ublinux.ubl-settings-diskquota.funnel
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- Filters
-
-
- False
- True
- 1
-
-
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- gtk-delete
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- gtk-edit
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- Edit
-
-
- False
- True
- 1
-
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- gtk-add
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- end
- 1
-
-
-
-
- False
- True
- end
- 3
-
-
-
-
- 3
-
-
-
-
- True
- False
- Project
-
-
- 3
- False
-
-
-
-
- True
- True
- 0
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- vertical
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1000000
- 1
- 10
-
-
- 1000000
- 1
- 10
-
-
- 1024
- 1
- 10
-
-
- 1024
- 1
- 10
-
-
- False
- start
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- vertical
-
-
- True
- False
- vertical
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Device:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
-
-
- True
- True
- 1
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- Quota use status:
- 0
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
-
-
- True
- True
- 1
-
-
-
-
- True
- True
- 1
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- UserGropProject:
- 0
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- True
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 0.019999999552965164
- in
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Currently using:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Soft limit
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- quotegroupSizeSoftLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
- 0
-
- - Kb
- - Mb
- - Gb
- - Tb
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 2
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Hard limit
- 0
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- quotegroupSizeHardLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
- 0
-
- - Kb
- - Mb
- - Gb
- - Tb
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 4
-
-
-
-
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Size
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 0.019999999552965164
- in
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Currently using:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Soft limit
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- quotegroupFilesSoftLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- files
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 2
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Hard limit
- 0
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- quotegroupFilesHardLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- files
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 4
-
-
-
-
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Files
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- vertical
- True
-
-
- True
- False
- end
- 5
- True
-
-
- gtk-cancel
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 0
-
-
-
-
- gtk-save
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- False
- True
- 2
-
-
-
-
-
-
-
-
-
- False
- start
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- vertical
-
-
- True
- False
- vertical
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Device:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Quota use status:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 1
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Catalog
- 0
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- True
- 1
-
-
-
-
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- False
-
-
- True
- False
- gtk-zoom-fit
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- Review
-
-
- False
- True
- 1
-
-
-
-
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Project ID
- 0
-
-
- False
- True
- 0
-
-
-
-
- Auto
- True
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- True
- 2
-
-
-
-
- Generate
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- False
- True
- 3
-
-
-
-
- False
- True
- 3
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Project Name
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 4
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- True
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 0.019999999552965164
- in
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Currently using:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Soft limit
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupSizeSoftLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
- 0
-
- - Kb
- - Mb
- - Gb
- - Tb
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 2
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Hard limit
- 0
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupSizeHardLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
- 0
-
- - Kb
- - Mb
- - Gb
- - Tb
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 4
-
-
-
-
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Size
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 0.019999999552965164
- in
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Currently using:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Soft limit
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupFilesSoftLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- files
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 2
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Hard limit
- 0
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupFilesHardLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- files
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 4
-
-
-
-
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Files
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- vertical
- True
-
-
- True
- False
- end
- 5
- True
-
-
- gtk-cancel
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 0
-
-
-
-
- gtk-save
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- False
- True
- 2
-
-
-
-
-
-
-
-
-
- True
-
-
-
-
-
-
- True
-
-
-
-
-
-
-
- False
- start
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- vertical
-
-
- True
- False
- vertical
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Device:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Quota use status:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- False
- True
- 1
-
-
-
-
- True
- True
- 1
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Catalog
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 2
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Project ID
-
-
- False
- True
- 0
-
-
-
-
- True
- False
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 3
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Project Name
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 4
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- True
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 0.019999999552965164
- in
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Currently using:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Soft limit
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupSizeSoftLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
- 0
-
- - Kb
- - Mb
- - Gb
- - Tb
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 2
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Hard limit
- 0
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupSizeHardLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
- 0
-
- - Kb
- - Mb
- - Gb
- - Tb
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 4
-
-
-
-
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Size
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 0.019999999552965164
- in
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Currently using:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Soft limit
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupFilesSoftLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- files
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 2
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Hard limit
- 0
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupFilesHardLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- files
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 4
-
-
-
-
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Files
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- vertical
- True
-
-
- True
- False
- end
- 5
- True
-
-
- gtk-cancel
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 0
-
-
-
-
- gtk-save
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- False
- True
- 2
-
-
-
-
-
-
-
-
-
- False
- start
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- vertical
-
-
- True
- False
- vertical
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Device:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
-
-
- True
- True
- 1
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Quota use status:
- 0
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
-
-
- True
- True
- 1
-
-
-
-
- True
- True
- 1
-
-
-
-
- True
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- UserGropProject:
- 0
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 2
-
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- True
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 0.019999999552965164
- in
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Currently using:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Soft limit
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupSizeSoftLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
- 0
-
- - Kb
- - Mb
- - Gb
- - Tb
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 2
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Hard limit
- 0
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupSizeHardLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 0
- 0
-
- - Kb
- - Mb
- - Gb
- - Tb
-
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 4
-
-
-
-
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Size
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 0.019999999552965164
- in
-
-
- True
- False
- 5
- 5
- 5
- 5
-
-
- True
- False
- vertical
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Currently using:
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Soft limit
- 0
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupFilesSoftLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- files
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 2
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Hard limit
- 0
-
-
- False
- True
- 3
-
-
-
-
- True
- False
- 5
-
-
- True
- True
- False
- 5
- 5
- 5
- 5
- right
- True
-
-
- False
- True
- 0
-
-
-
-
- True
- True
- 0
- quotegroupFilesHardLimitAdjustment
-
-
- True
- True
- 1
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- files
-
-
- False
- True
- 2
-
-
-
-
- True
- True
- 4
-
-
-
-
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- Files
-
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
- True
- False
- vertical
- True
-
-
- True
- False
- end
- 5
- True
-
-
- gtk-cancel
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 0
-
-
-
-
- gtk-save
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- 0
-
-
-
-
- False
- True
- 2
-
-
-
-
-
-
-
-
-
- 1000000
- 1
- 10
-
-
- 1000000
- 1
- 10
-
-
- 1024
- 1
- 10
-
-
- 1024
- 1
- 10
-
-
- False
- Please select File
- True
- center
- 500
- 400
- True
- com.ublinux.ublexec
- dialog
- True
- True
- select-folder
-
-
- False
- vertical
- 2
-
-
- False
- end
-
-
- gtk-cancel
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- True
- True
- 0
-
-
-
-
- gtk-ok
- True
- True
- True
- 5
- 5
- 5
- 5
- 5
- 5
- True
-
-
- True
- True
- 1
-
-
-
-
- False
- False
- 0
-
-
-
-
-
-
-
-
-
- False
- start
- False
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- vertical
-
-
- Name
- True
- True
- False
- start
- 5
- True
-
-
- False
- True
- 0
-
-
-
-
- Quotas
- True
- True
- False
- start
- True
-
-
- False
- True
- 1
-
-
-
-
- Size
- True
- True
- False
- start
- True
-
-
- False
- True
- 2
-
-
-
-
- Soft limit (size)
- True
- True
- False
- start
- True
-
-
- False
- True
- 3
-
-
-
-
- Hard limit (size)
- True
- True
- False
- start
- True
-
-
- False
- True
- 4
-
-
-
-
- True
- False
- end
- 5
- 5
- True
-
-
- gtk-cancel
- True
- True
- True
- center
- True
-
-
- False
- True
- 0
-
-
-
-
-
- False
- True
- 1
-
-
-
-
- False
- True
- end
- 5
-
-
-
-
- Hard limit (size) delay
- True
- True
- False
- start
- True
-
-
- False
- True
- 5
-
-
-
-
- Files
- True
- True
- False
- start
- True
-
-
- False
- True
- 7
-
-
-
-
- Soft limit (files)
- True
- True
- False
- start
- True
-
-
- False
- True
- 8
-
-
-
-
- Hard limit (files)
- True
- True
- False
- start
- True
-
-
- False
- True
- 9
-
-
-
-
- Hard limit (files) delay
- True
- True
- False
- start
- True
-
-
- False
- True
- 10
-
-
-
-
-
-
-
-
-
- False
- start
- start
- False
- 450
- 250
- dialog-question-symbolic
-
-
- True
- False
- vertical
-
-
- True
- False
-
-
- True
- False
- start
- 20
- 20
- dialog-question-symbolic
- 5
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- vertical
-
-
-
- False
- True
- 0
-
-
-
-
- True
- False
- start
- start
- 10
- 10
- You will be redirected to documentation website where documentation is
-translated and supported by community.
- True
- 0
-
-
-
- True
- True
- 1
-
-
-
-
- Always redirect to online documentation
- True
- True
- False
- end
- 10
- True
-
-
-
- False
- True
- 2
-
-
-
-
-
- True
- True
- 1
-
-
-
-
-
- True
- True
- 0
-
-
-
-
- True
- False
- 5
- 5
- 5
- 5
- 5
- 5
- 30
- True
-
-
- Cancel
- True
- True
- True
-
-
-
- True
- True
- 0
-
-
-
-
- Read Online
- True
- True
- True
-
-
-
- True
- True
- 1
-
-
-
-
- False
- True
- 1
-
-
-
-
-
-
-
-
-
- 800
- 600
- False
- True
- True
- com.ublinux.ubl-settings-diskquota
-
-
-
-
-
-
-
-
diff --git a/.gitignore b/.gitignore
index d77f196..ed27715 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,9 @@
.vscode/
-ubl-settings-diskquota.glade~
-ubl-settings-diskquota_ru.po~
+ubl-settings-TEMPLATE
+*~
+build/
+compile/
+*#
+terminal-commands/
+source/ubl-cmake.h
+vgcore*
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 5122442..838b50f 100644
--- a/Makefile
+++ b/Makefile
@@ -10,21 +10,25 @@ CMAKE_SOURCE_DIR = $(MAKEFILE_PATH)source
CMAKE_BUILD_DIR = $(MAKEFILE_PATH)compile
#CMAKE_SOURCE_DIR = ./source
#CMAKE_BUILD_DIR = ./compile
-FILE_VERSION = VERSION.md
DEPENDS = /bin/cmake
PREFIX ?= /usr
PKGNAME = $(MAKEFILE_DIR)
-#PKGNAME = ubl-settings-diskquota
-
+#PKGNAME = ubl-settings-manager
+LATEST_TAG=
default_target: all
-.PHONY: all init depend debug prepare check build uninstall install clean up_ver help
+.PHONY: all init depend debug prepare check build uninstall install clean help
all: init build
init:
@echo "Initialize ..."; \
- sed -r "s/(version_application = ).*/\1\"$$(grep 'VERSION' ${FILE_VERSION} | cut -d" " -f2)\";/" -i source/view/ubl-settings-diskquota.cc; \
+ if [ -d ".git" ]; then \
+ LATEST_TAG=$$(git describe --tags | sed 's/^v//'|grep -oE "^[0-9]{1,}.[0-9]{1,}"); \
+ else \
+ LATEST_TAG="0.0"; \
+ fi; \
+ sed -r "s/^(string version_application).*/\1=\"$${LATEST_TAG}\";/" -i source/${PKGNAME}.h; \
echo "-- Build path: ${CMAKE_BUILD_DIR}"
depend:
@@ -38,11 +42,13 @@ depend:
echo "Check depends: OK"
# $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
-debug:
- @echo "Debug ..."
+debug: init build
+ @echo "Debug ..."; \
if [ ! -d ${CMAKE_BUILD_DIR} ]; then \
$(CMAKE_COMMAND) -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="${PREFIX}"; \
fi; \
+ echo "${CMAKE_BUILD_DIR}/${PKGNAME}"; \
+ cp ${CMAKE_BUILD_DIR}/${PKGNAME} ./; \
echo "Debug: OK"
prepare:
@@ -85,10 +91,10 @@ uninstall:
done
@$(RM) "${DESTDIR}${PREFIX}/bin/${PKGNAME}"
@$(RM) "${DESTDIR}${PREFIX}/share/applications/${PKGNAME}.desktop"
- @$(RM) "${DESTDIR}${PREFIX}/share/${PKGNAME}/images/logo-background.png"
- @$(RM) "${DESTDIR}${PREFIX}/share/polkit-1/actions/com.ublinux.${PKGNAME}.policy"
@$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/com.ublinux.${PKGNAME}.svg"
- @$(RM) -rd "${DESTDIR}${PREFIX}/share/${PKGNAME}"
+ @$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/com.ublinux.${PKGNAME}.checked.svg"
+ @$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/com.ublinux.${PKGNAME}.warning.svg"
+ @$(RM) "${DESTDIR}${PREFIX}/share/polkit-1/actions/com.ublinux.${PKGNAME}.policy"
@if [ -z ${DESTDIR} ]; then \
[ -d "${DESTDIR}${PREFIX}/share/icons/hicolor/" ] && gtk-update-icon-cache -fiq "${DESTDIR}${PREFIX}/share/icons/hicolor/" &>/dev/null || true; \
update-desktop-database --quiet &>/dev/null || true; \
@@ -98,6 +104,9 @@ uninstall:
install: check uninstall
@echo "Install ..."
+#################################################### УДАЛИТЬ ПЕРЕД КОММИТОМ ################################################################################
+# @g++ source/ubl-cmake.h compile/resources.cc compile/ubl-cmake.h source/ubl-settings-diskquota.cc source/ubl-settings-diskquota.h source/ubl-strings.h source/view/model/ubl-utils.cc source/view/model/ubl-utils.h -o ubl-settings-diskquota `pkg-config --cflags --libs gtk+-3.0 vte-2.91 webkit2gtk-4.0 webkit2gtk-web-extension-4.0` -g
+#################################################### УДАЛИТЬ ПЕРЕД КОММИТОМ ################################################################################
@for FILE_PO in $(wildcard *.po); do \
LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \
install -dm755 "${DESTDIR}${PREFIX}/share/locale/$${LANG}/LC_MESSAGES"; \
@@ -108,28 +117,26 @@ install: check uninstall
done
@for SIZE in 16 32 48; do \
install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps"; \
- rsvg-convert -w $${SIZE} -h $${SIZE} -f png --keep-image-data "com.ublinux.${PKGNAME}.svg" -o "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/com.ublinux.${PKGNAME}.png"; \
+ rsvg-convert -w $${SIZE} -h $${SIZE} -f svg --keep-image-data "com.ublinux.${PKGNAME}.svg" -o "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/com.ublinux.${PKGNAME}.svg"; \
done
@install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps"
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" "com.ublinux.${PKGNAME}.svg"
+ @install -dm755 "${DESTDIR}${PREFIX}/share/polkit-1/actions"
+ @install -Dm644 -t "${DESTDIR}${PREFIX}/share/polkit-1/actions/" "com.ublinux.${PKGNAME}.policy"
@install -Dm755 -t "${DESTDIR}${PREFIX}/bin/" "${CMAKE_BUILD_DIR}/${PKGNAME}"
+ @install -dm755 "${DESTDIR}/etc/xdg"
@install -dm755 "${DESTDIR}${PREFIX}/share/applications"
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/applications/" "${PKGNAME}.desktop"
- @install -dm755 "${DESTDIR}${PREFIX}/share/polkit-1/actions"
- @install -Dm644 -t "${DESTDIR}${PREFIX}/share/polkit-1/actions/" "com.ublinux.${PKGNAME}.policy"
- @install -dm755 "${DESTDIR}${PREFIX}/share/${PKGNAME}"/{ui,css,images}
- @install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/ui/" "${PKGNAME}.glade"
- @install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/css/" "${PKGNAME}.css"
- @install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/images/" "logo-background.png"
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.${PKGNAME}.checked.svg"
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.${PKGNAME}.warning.svg"
- @install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.ubl-settings-diskquota.funnel.svg"
+ @install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.${PKGNAME}.funnel.svg"
@if [ -z ${DESTDIR} ]; then \
[ -d "${DESTDIR}${PREFIX}/share/icons/hicolor/" ] && gtk-update-icon-cache -fiq "${DESTDIR}${PREFIX}/share/icons/hicolor/" &>/dev/null || true; \
update-desktop-database --quiet &>/dev/null || true; \
[ -d "${DESTDIR}${PREFIX}/share/applications" ] && touch "${DESTDIR}${PREFIX}/share/applications" &>/dev/null || true; \
fi
@echo "Install: OK"
+ @sed -r "s/^(string version_application=\"*\").*/string version_application;/" -i source/${PKGNAME}.h; \
clean:
@echo "Clean ..."
@@ -149,12 +156,13 @@ up_ver:
echo "Updated version to VERSION.md: $${CURRENT} to $${VER}"
help:
- @echo "The following are some of the valid targets for this Makefile:"
- @echo "... all (the default if no target is provided)"
- @echo "... init"
- @echo "... debug"
- @echo "... prepare"
- @echo "... compile"
- @echo "... install"
- @echo "... uninstall"
- @echo "... clean"
+ @echo "The following are some of the valid targets for this Makefile:"; \
+ echo "... all (the default if no target is provided)"; \
+ echo "... init"; \
+ echo "... debug"; \
+ echo "... prepare"; \
+ echo "... compile"; \
+ echo "... install"; \
+ echo "... uninstall"; \
+ echo "... clean"; \
+ echo "... up_ver"
diff --git a/README.md b/README.md
index 56811b5..85aef32 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,12 @@
# ubl-settings-diskquota
-# Настройки квот
-[RU] Утилита для настройки дисковых квот
-
-Utility for setting the disk quotas
-
-
-
+# Выполнить
# Build
In order to build ubl-settings-diskquota you will need:
- CMake
- C compiler
- GTK+ 3 & dependencies
+- webkit2gtk (optional)
Once you have all the necessary dependencies, you can use:
```sh
@@ -29,21 +24,6 @@ After a successful build, just use:
```sh
$ sudo make uninstall
```
-# Usage
-```sh
-$ ubl-settings-diskquota --help
-GTK settings disk quota for UBLinux
-
-Usage: ubl-settings-diskquota [OPTIONS...]
-Options:
- -h, --help Show this help
- -V, --version Show package version
- --lock-help Lock utility help
- --lock-save Lock saving local and global configuration
- --lock-save-local Lock save global configuration
- --lock-save-global Lock load global configuration
- --lock-load-global Lock load global configuration
-$ ubl-settings-diskquota --version
-ubl-settings-diskquota version: x.xx
-```
+
+
diff --git a/VERSION.md b/VERSION.md
deleted file mode 100644
index d65a353..0000000
--- a/VERSION.md
+++ /dev/null
@@ -1 +0,0 @@
-VERSION 1.6
diff --git a/com.ublinux.ubl-settings-diskquota.policy b/com.ublinux.ubl-settings-diskquota.policy
index 79dd276..de22da1 100644
--- a/com.ublinux.ubl-settings-diskquota.policy
+++ b/com.ublinux.ubl-settings-diskquota.policy
@@ -8,10 +8,10 @@
https://ublinux.ru
- Run "ubl-settings-diskquota" as root
- Запус ubl-settings-diskquota с правами root
+ Run ubl-settings-diskquota as root
+ Запуск утилиты ubl-settings-diskquota с правами root
Authentication is required to run ubl-settings-diskquota
- Требуется авторизация для запуска ubl-settings-diskquota с правами root
+ Требуется авторизация для запуска утилиты ubl-settings-diskquota с правами root
auth_admin
auth_admin
diff --git a/com.ublinux.ubl-settings-diskquota.svg b/com.ublinux.ubl-settings-diskquota.svg
index 708bd05..f636c26 100644
--- a/com.ublinux.ubl-settings-diskquota.svg
+++ b/com.ublinux.ubl-settings-diskquota.svg
@@ -4,8 +4,8 @@
height="180"
version="1.0"
id="svg8"
- sodipodi:docname="ubl-settings-quotas.svg"
- inkscape:version="1.1.2 (0a00cf5339, 2022-02-04, custom)"
+ sodipodi:docname="ublinux-ubconfig.svg"
+ inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
inkscape:export-filename="/media/Data/ShareMX/temp/archtoub_icons/ublinux-logo.png"
inkscape:export-xdpi="136.53334"
inkscape:export-ydpi="136.53334"
@@ -16,24 +16,6 @@
xmlns:svg="http://www.w3.org/2000/svg">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ xlink:href="#linearGradient1124"
+ gradientTransform="matrix(0.49189181,0,0,0.49136051,-59.173196,-6.5682775)" />
+ id="linearGradient1124">
+ id="stop873" />
+ id="stop875" />
-
-
-
-
+ stdDeviation="0.31484797"
+ id="feGaussianBlur891" />
-
-
-
-
+ xlink:href="#linearGradient1116"
+ gradientTransform="matrix(0.49189181,0,0,0.49136051,-54.424635,-4.7222539)" />
-
+ id="linearGradient1116">
-
-
-
-
-
-
-
-
-
-
-
+ id="stop878" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="stop880" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="filter35863"
+ x="-0.092128158"
+ y="-0.077188641"
+ width="1.1842563"
+ height="1.1543773"
+ color-interpolation-filters="sRGB">
+ stdDeviation="0.31484797"
+ id="feGaussianBlur35861" />
-
-
-
-
-
+ xlink:href="#linearGradient1108" />
+ id="linearGradient1108">
+ id="stop883" />
+ id="stop885" />
-
+ id="linearGradient1465"
+ x1="61.274837"
+ x2="86.483238"
+ y1="24.02087"
+ y2="47.898056"
+ gradientTransform="matrix(4.0459265,0,0,4.0459265,-209.07505,-54.236195)"
+ gradientUnits="userSpaceOnUse">
+ id="stop150"
+ style="stop-color:#b9c9d5;stop-opacity:1" />
+ id="stop152"
+ style="stop-color:#74929f;stop-opacity:1" />
-
-
-
+ gradientTransform="matrix(4.0459265,0,0,4.0459265,-213.71975,-13.885358)">
+ id="stop155" />
+ id="stop157" />
-
-
-
-
-
+ id="stop160"
+ style="stop-color:#82a8c8;stop-opacity:1" />
+ id="stop162"
+ style="stop-color:#355995;stop-opacity:1" />
-
-
+ id="filter4639"
+ x="-0.053781572"
+ y="-0.05736786"
+ width="1.1075631"
+ height="1.1147357">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="feFlood4629" />
+ id="feComposite4631" />
+ id="feGaussianBlur4633" />
+ id="feOffset4635" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="feComposite4637" />
-
-
-
-
-
-
-
-
-
@@ -5741,163 +4927,31 @@
id="circle1671" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ id="g2092"
+ transform="matrix(0.93417469,0,0,0.93417469,5.9242808,5.9242835)"
+ style="filter:url(#filter4639)">
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+ cx="90.007736"
+ cy="89.999939"
+ r="36.466343"
+ fill="url(#linearGradient1481)"
+ opacity="0.8"
+ id="circle547"
+ style="opacity:1;fill:url(#linearGradient1481);stroke-width:8.99537" />
+
diff --git a/gresource.xml b/gresource.xml
new file mode 100644
index 0000000..c640934
--- /dev/null
+++ b/gresource.xml
@@ -0,0 +1,12 @@
+
+
+
+ ubl-settings-diskquota.glade
+
+
+ ubl-settings-diskquota.css
+
+
+ ubl-settings-diskquota-banner.png
+
+
\ No newline at end of file
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index 4b3ebc2..e8b8f28 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -1,19 +1,21 @@
cmake_minimum_required(VERSION 3.7)
-find_package(PkgConfig REQUIRED)
project(ubl-settings-diskquota)
+find_package(PkgConfig REQUIRED)
-pkg_check_modules(GTK REQUIRED gtkmm-3.0)
+pkg_check_modules(GTK REQUIRED gtk+-3.0)
include_directories(${GTK_INCLUDE_DIRS})
link_directories(${GTK_LIBRARY_DIRS})
add_definitions(${GTK_CFLAGS_OTHER})
+pkg_check_modules(VTE291 REQUIRED vte-2.91)
+include_directories(${VTE291_INCLUDE_DIRS})
+link_directories(${VTE291_LIBRARY_DIRS})
+add_definitions(${VTE291_CFLAGS_OTHER})
find_library(WEBKIT_LIBRARIES_FOUND webkit2gtk-4.0 webkit2gtk-web-extension-4.0)
option(WEBKIT_FOUND "No" OFF)
-
-find_library(WEBKIT_LIBRARIES_FOUND webkit2gtk-4.0 webkit2gtk-web-extension-4.0)
if(WEBKIT_LIBRARIES_FOUND)
option(WEBKIT_FOUND "Yes" ON)
PKG_CHECK_MODULES(WEBKIT REQUIRED webkit2gtk-4.0 webkit2gtk-web-extension-4.0)
@@ -21,64 +23,77 @@ if(WEBKIT_LIBRARIES_FOUND)
link_directories(${WEBKIT_LIBRARY_DIRS})
add_definitions(${WEBKIT_CFLAGS_OTHER})
endif()
-configure_file(ubl-settings-diskquota.h.in ubl-settings-diskquota-cm.h)
-#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always -std=c++2a -g")
+configure_file(ubl-cmake.in ubl-cmake.h)
+
+file(COPY ${CMAKE_CURRENT_BINARY_DIR}/ubl-cmake.h DESTINATION ./)
+
+set(GRESOURCE_C resources.c)
+set(GRESOURCE_XML gresource.xml)
+
+find_program(GLIB_COMPILE_RESOURCES NAMES glib-compile-resources REQUIRED)
+add_custom_target(GLADE ubl-settings-diskquota.glade)
+
+set(DEPENDFILES
+ ../ubl-settings-diskquota.glade
+ ../gresource.xml
+ ../ubl-settings-diskquota-banner.png
+ ../ubl-settings-diskquota.css
+ )
+
+file(COPY ${DEPENDFILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+
+add_custom_command(
+ OUTPUT ${GRESOURCE_C}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ COMMAND ${GLIB_COMPILE_RESOURCES}
+ ARGS
+ --generate-source
+ --target=${CMAKE_CURRENT_BINARY_DIR}/${GRESOURCE_C}
+ ${GRESOURCE_XML}
+ VERBATIM
+ MAIN_DEPENDENCY ${GRESOURCE_XML}
+ DEPENDS
+ ${GLADE}
+)
+add_custom_target(
+ dummy-resource
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${GRESOURCE_C}
+)
+
+#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always -std=c++2a")
+#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always -lm")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always \
-O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection -g")
+
set(SOURCE_FILES
- view/view_edit_project.cc
- view/view_edit_project.h
- view/view_add_project.cc
- view/view_add_project.h
- view/view_edit_user_group.h
- view/view_edit_user_group.cc
- view/view_add_user_group.h
- view/view_add_user_group.cc
- view/view_edit_user_group.cc
- view/view_edit_user_group.h
- view/view_filters.cc
- view/view_filters.h
- view/ubl-settings-diskquota.h
- view/ubl-settings-diskquota.cc
- view/model/ubconfig_quota.cc
- view/model/ubconfig_quota.h
- view/model/save.h
- view/model/save.cc
- view/model/load.h
- view/model/load.cc
- view/model/my_process.h
- view/model/my_process.cc
- view/model/util.h
- view/model/util.cc
- view/ubl-util-standard.h
- view/ubl-util-standard.c
- view/model/wrapper_load_save.cc
- view/model/wrapper_load_save.h
- ubl-settings-diskquota-cm.h
- view/view_open_browser.cc
- view/view_open_browser.h
- view/view_about.h
- view/view_about.cc
- controller.cc
- controller.h
- main.cc
- var.h
- project_lib.h
- my_type.h)
+ view/model/ubl-utils.h
+ view/model/ubl-utils.cc
+ ubl-settings-diskquota.cc
+ ubl-settings-diskquota.h
+ ubl-strings.h
+
+
+
+ ${CMAKE_CURRENT_BINARY_DIR}/ubl-cmake.h
+ )
set(LIBRARIES
${GTK_LIBRARIES}
+ ${WEBKIT_LIBRARIES}
+# ${VTE291_LIBRARIES}
pthread)
-add_executable(ubl-settings-diskquota ${SOURCE_FILES})
-target_link_libraries(ubl-settings-diskquota PUBLIC ${WEBKIT_LIBRARIES} ${LIBRARIES})
-target_include_directories(ubl-settings-diskquota PUBLIC
- "${PROJECT_BINARY_DIR}"
- ${WEBKIT_INCLUDE_DIRS}
- )
-install(TARGETS ubl-settings-diskquota DESTINATION bin)
\ No newline at end of file
+add_executable(${PROJECT_NAME} ${SOURCE_FILES} ${CMAKE_CURRENT_BINARY_DIR}/${GRESOURCE_C})
+target_link_libraries(${PROJECT_NAME} PUBLIC ${LIBRARIES})
+target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_BINARY_DIR})
+set_source_files_properties(
+ ${CMAKE_CURRENT_BINARY_DIR}/${GRESOURCE_C}
+ PROPERTIES GENERATED TRUE
+)
+install(TARGETS ${PROJECT_NAME} DESTINATION bin)
+add_dependencies(${PROJECT_NAME} dummy-resource)
\ No newline at end of file
diff --git a/source/controller.cc b/source/controller.cc
deleted file mode 100644
index 81040e4..0000000
--- a/source/controller.cc
+++ /dev/null
@@ -1,68 +0,0 @@
-#include "controller.h"
-
-int socket_ext_id_I = 0;
-int socket_trd_id_I = 0;
-
-Controller::Controller(BaseObjectType* obj, Glib::RefPtr const& builder)
- :Gtk::ApplicationWindow(obj), builder{builder} {
- this->builder = builder;
- this->settings();
-}
-
-Controller::Controller(Glib::RefPtr const& builder) {
- this->builder = builder;
- this->settings();
-}
-
-Controller::~Controller()
-{
-}
-
-void Controller::settings() {
- obj_open_browser->set_obj_about(obj_view_about);
- obj_main_window = new MainWindow(builder, obj_open_browser, &socket_ext_id_I, &socket_trd_id_I);
- obj_main_window->set_obj_wrapper_load_save(obj_wrapper_load_save);
- obj_open_browser->settings();
- obj_main_window->set_map_gui(&map_gui_cfg);
- obj_main_window->set_map_global(&map_global_cfg);
- obj_main_window->set_map_local(&map_system_cfg);
- obj_main_window->set_obj_view_filters(&obj_view_filters);
- obj_main_window->set_obj_view_edit(&obj_view_edit);
- obj_main_window->set_obj_view_add(&obj_view_add);
- obj_main_window->set_obj_view_add_project(&obj_view_add_project);
- obj_main_window->set_obj_view_edit_project(&obj_view_edit_project);
- obj_main_window->settings();
-}
-
-CmdArgParser::CmdArgParser(const std::string& p_name, const std::string& p_description, const std::string& p_help)
-: Glib::OptionGroup{p_name, p_description, p_help} {
- Glib::OptionEntry socketIDArg;
- socketIDArg.set_long_name("socket-id");
- socketIDArg.set_flags(Glib::OptionEntry::FLAG_IN_MAIN);
- socketIDArg.set_description("Settings manager socket");
- Glib::OptionEntry socketExtId;
- socketExtId.set_long_name("socket-ext-id");
- socketExtId.set_flags(Glib::OptionEntry::FLAG_IN_MAIN);
- socketExtId.set_description("Settings manager secondary socket");
- Glib::OptionEntry socketTrdId;
- socketTrdId.set_long_name("socket-trd-id");
- socketTrdId.set_flags(Glib::OptionEntry::FLAG_IN_MAIN);
- socketTrdId.set_description("Settings manager secondary socket");
- add_entry(socketIDArg, m_socketID);
- add_entry(socketExtId, socket_ext_id_I);
- add_entry(socketTrdId, socket_trd_id_I);
-}
-
-::Window CmdArgParser::GetSocketID() const{
- return m_socketID;
-}
-
-SettingsPlug::SettingsPlug(::Window p_socketID, Glib::RefPtr builder)
- :Gtk::Plug{p_socketID} {
- Controller* wnd = nullptr;
- builder->get_widget_derived("window", wnd);
- builder->get_widget("plugBox", plugBox);
- plugBox->get_parent()->remove(*plugBox);
- add(*plugBox);
- show_all_children();
-}
\ No newline at end of file
diff --git a/source/controller.h b/source/controller.h
deleted file mode 100644
index b452ee4..0000000
--- a/source/controller.h
+++ /dev/null
@@ -1,59 +0,0 @@
-#ifndef CONTROLLER_H
-#define CONTROLLER_H
-#include "my_type.h"
-#include "view/view_open_browser.h"
-#include "view/view_about.h"
-#include "view/ubl-settings-diskquota.h"
-#include "view/model/wrapper_load_save.h"
-#include "view/view_filters.h"
-#include "view/view_add_user_group.h"
-#include "view/view_edit_user_group.h"
-#include "view/view_edit_project.h"
-#include "view/view_add_project.h"
-
-extern int socket_ext_id_I;
-extern int socket_trd_id_I;
-
-class Controller : public Gtk::ApplicationWindow
-{
-private:
- Glib::RefPtr builder;
- map_str_str map_gui_cfg;
- map_str_str map_global_cfg;
- map_str_str map_system_cfg;
-public:
- ~Controller();
- void settings();
- View_open_browser* obj_open_browser = new View_open_browser();
- View_about* obj_view_about = new View_about();
- MainWindow* obj_main_window;
- Wrapper_load_save *obj_wrapper_load_save = new Wrapper_load_save();
- View_filters obj_view_filters = View_filters();
- View_add_user_group obj_view_add = View_add_user_group();
- View_edit_user_group obj_view_edit = View_edit_user_group();
- View_edit_project obj_view_edit_project = View_edit_project();
- View_add_project obj_view_add_project = View_add_project();
- Controller(BaseObjectType* obj, Glib::RefPtr const& builder);
- Controller(Glib::RefPtr const& builder);
-
-
-};
-
-class CmdArgParser : public Glib::OptionGroup {
-public:
- CmdArgParser(const std::string& p_name, const std::string& p_description, const std::string& p_help);
- ::Window GetSocketID() const;
-private:
- int m_socketID = 0;
-
-};
-class SettingsPlug : public Gtk::Plug{
-public:
- Gtk::Window *window;
- SettingsPlug(::Window p_socketID, Glib::RefPtr builder);
-
-private:
- Gtk::Widget *plugBox;
- Gtk::Widget *parent;
-};
-#endif
\ No newline at end of file
diff --git a/source/main.cc b/source/main.cc
deleted file mode 100644
index 7c2362a..0000000
--- a/source/main.cc
+++ /dev/null
@@ -1,99 +0,0 @@
-#include "controller.h"
-#include "var.h"
-
-void pars_flag(int index_start, int argc, char* argv[]);
-
-int main(int argc, char** argv) {
- string str_argv= "";
- string str_cmd_argv = "";
- for (int i=1; i 1){
- str_argv = argv[1];
- }
- bindtextdomain(app_name, "/usr/share/locale/");
- bind_textdomain_codeset(app_name, "UTF-8");
- textdomain(app_name);
- if (str_argv.find("--socket-id") != std::string::npos) {
- auto app = Gtk::Application::create(argc, argv, "org.gtkmm.example.plug");
- auto builder = Gtk::Builder::create_from_file(path_glade);
- Glib::init();
- setlocale(LC_ALL, "");
- Glib::OptionContext context;
-
- CmdArgParser parser{
- "Socket ID",
- "Command line argument for socket ID communication.",
- "No help available, sorry"
- };
-
- context.set_main_group(parser);
- context.parse(argc, argv);
-
- ::Window socketID = parser.GetSocketID();
-
- // Handle plug:
- SettingsPlug plug{socketID, builder};
- plug.show();
-
- app->run(plug);
- return 0;
- }
- else if (str_argv.find("-") != std::string::npos || argc == 1) {
- int len_argv = 1;
- auto app = Gtk::Application::create(len_argv, argv, "org.gtkmm.example.plug");
- auto builder = Gtk::Builder::create_from_file(path_glade);
- pars_flag(1, argc, argv);
- Controller* wnd = nullptr;
- builder->get_widget_derived("window", wnd);
- auto r = app->run(*wnd);
- delete wnd;
- return r;
- }
-}
-
-void pars_flag(int index_start, int argc, char* argv[]) {
- string str_argv = "";
- for (int i = index_start; i
-
-using namespace std;
-
-typedef unsigned long max_num_T;
-
-struct users_grups{
- string name;
- bool state;
- max_num_T size_data;
- max_num_T soft_limit_size;
- max_num_T severe_restriction_size;
- max_num_T postponement_size_brat;
- max_num_T hard_limit_activation_time_size;
- max_num_T file;
- max_num_T soft_file_limitation;
- max_num_T hard_file_restriction;
- max_num_T postponement_hard_file_restriction;
- max_num_T hard_limit_activation_time;
- };
-struct Mount {
- std::string device;
- std::string destination;
- std::string fstype;
- std::string options;
- std::string dump;
- std::string pass;
-};
-struct partition_cmd {
- string device;
- string cmd;
-};
-struct struct_quotas {
- string device;
- string cmd;
- string type_quotas;
- string name;
-};
-struct status_quotas {
- bool user;
- bool group;
- bool project;
- bool status;
-};
-struct data_all_quotas {
- string username;
- string status;
- string block_used;
- string block_soft;
- string block_hard;
- string block_grace;
- string file_used;
- string file_soft;
- string file_hard;
- string file_grace;
- bool is_validate;
-};
-struct tv_g_u_p {
- string name;
- string quotas;
- string size;
- string soft_limit_size;
- string hard_limit_size;
- string deferring_size;
- string files;
- string soft_limit_files;
- string hard_limit_delay;
- string deferring_files;
-};
-
-typedef struct users_grups USER_GRUPS;
-typedef map map_str_str;
-typedef map * map_s_s_ptr;
-typedef std::map map_str_device;
-#endif
\ No newline at end of file
diff --git a/source/project_lib.h b/source/project_lib.h
deleted file mode 100644
index 9bd1546..0000000
--- a/source/project_lib.h
+++ /dev/null
@@ -1,27 +0,0 @@
-#ifndef PROJECT_LIB_H
-#define PROJECT_LIB_H
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include