master #2
Merged
asmeron
merged 43 commits from YanTheKaller/ubl-settings-manager:master into develop 3 years ago
@ -0,0 +1,16 @@
|
|||||||
|
.vscode/
|
||||||
|
config.conf
|
||||||
|
ubconfig-main-back.conf
|
||||||
|
gtk-dark.css
|
||||||
|
msgformat.py
|
||||||
|
calendarApp.glade
|
||||||
|
calendarApp.glade~
|
||||||
|
ubl-settings-manager.glade~
|
||||||
|
ubl-settings-manager
|
||||||
|
**base.mo
|
||||||
|
home/
|
||||||
|
css/
|
||||||
|
.config/
|
||||||
|
images/
|
||||||
|
locale/
|
||||||
|
ui/
|
||||||
@ -0,0 +1,137 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
#SHELL := /bin/bash
|
||||||
|
MAKEFILE_FILEPATH := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||||
|
MAKEFILE_DIR := $(notdir $(patsubst %/,%,$(dir $(MAKEFILE_FILEPATH))))
|
||||||
|
MAKEFILE_PATH := $(dir $(MAKEFILE_FILEPATH))
|
||||||
|
|
||||||
|
CMAKE_COMMAND = cmake
|
||||||
|
#CMAKE_SOURCE_DIR = $(MAKEFILE_PATH)source
|
||||||
|
#CMAKE_BUILD_DIR = $(MAKEFILE_PATH)compile
|
||||||
|
CMAKE_SOURCE_DIR = ./source
|
||||||
|
CMAKE_BUILD_DIR = ./compile
|
||||||
|
PKGNAME = $(MAKEFILE_DIR)
|
||||||
|
#PKGNAME = check-hostalive
|
||||||
|
|
||||||
|
default_target: all
|
||||||
|
|
||||||
|
all: init build
|
||||||
|
|
||||||
|
init:
|
||||||
|
@echo "Initialize ..."; \
|
||||||
|
echo "-- Build path: ${CMAKE_BUILD_DIR}"
|
||||||
|
|
||||||
|
depend:
|
||||||
|
@echo "Check depends ..."; \
|
||||||
|
if [ ! -f /bin/cmake ]; then \
|
||||||
|
echo "-- Depend 'cmake' not found !"; \
|
||||||
|
exit 1; \
|
||||||
|
fi; \
|
||||||
|
echo "Check depends: OK"
|
||||||
|
# $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||||
|
|
||||||
|
debug:
|
||||||
|
@echo "Debug ..."
|
||||||
|
if [ ! -d ${CMAKE_BUILD_DIR} ]; then \
|
||||||
|
cmake -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="/usr"; \
|
||||||
|
fi; \
|
||||||
|
echo "Debug: OK"
|
||||||
|
|
||||||
|
prepare:
|
||||||
|
@echo "Prepare ..."; \
|
||||||
|
if [ ! -d ${CMAKE_BUILD_DIR} ]; then \
|
||||||
|
cmake -S${CMAKE_SOURCE_DIR} -B${CMAKE_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr"; \
|
||||||
|
fi; \
|
||||||
|
echo "Prepare: OK"
|
||||||
|
|
||||||
|
check:
|
||||||
|
@echo "Check ..."; \
|
||||||
|
if [ -f ${CMAKE_BUILD_DIR}/${PKGNAME} ]; then \
|
||||||
|
echo "Check: OK"; \
|
||||||
|
else \
|
||||||
|
echo "Check: ${CMAKE_BUILD_DIR}/${PKGNAME} not found !"; \
|
||||||
|
exit 1; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
build: depend prepare
|
||||||
|
@echo "Build ..."; \
|
||||||
|
make --directory=${CMAKE_BUILD_DIR}; \
|
||||||
|
echo "Build: OK"
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
@echo "Uninstall ..."
|
||||||
|
@for SIZE in 16x16 32x32 48x48 scalable; do \
|
||||||
|
$(RM) "/usr/share/icons/hicolor/$${SIZE}/apps/${PKGNAME}.svg"; \
|
||||||
|
$(RM) "/usr/share/"${pkgname}"/images/${PKGNAME}.png"; \
|
||||||
|
done
|
||||||
|
@for FILE_SVG in $(wildcard *.svg); do \
|
||||||
|
for SIZE in 16x16 32x32 48x48 scalable; do \
|
||||||
|
$(RM) "/usr/share/icons/hicolor/$${SIZE}/status/$${FILE_SVG%.*}".{svg,png,jpg}; \
|
||||||
|
done; \
|
||||||
|
done
|
||||||
|
@for FILE_PO in $(wildcard *.po); do \
|
||||||
|
LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \
|
||||||
|
FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \
|
||||||
|
PATH_FILE_MO="/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \
|
||||||
|
$(RM) "/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \
|
||||||
|
done
|
||||||
|
@$(RM) "/usr/bin/${PKGNAME}"
|
||||||
|
@$(RM) "/usr/share/applications/${PKGNAME}.desktop"
|
||||||
|
@$(RM) "/usr/share/icons/hicolor/scalable/apps/${PKGNAME}.png"
|
||||||
|
@$(RM) "/usr/share/icons/hicolor/scalable/apps/${PKGNAME}.svg"
|
||||||
|
@$(RM) "/etc/ubconfig-main.conf"
|
||||||
|
@$(RM) "~/ubconfig-main.conf"
|
||||||
|
@gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null
|
||||||
|
@update-desktop-database --quiet 2>/dev/null
|
||||||
|
@touch /usr/share/applications
|
||||||
|
@echo "Uninstall: OK"
|
||||||
|
|
||||||
|
install: check uninstall
|
||||||
|
@echo "Install ..."
|
||||||
|
@for FILE_PO in $(wildcard *.po); do \
|
||||||
|
LANG=$${FILE_PO##*_};LANG=$${LANG%.*}; \
|
||||||
|
install -dm755 /usr/share/locale/$${LANG}/LC_MESSAGES; \
|
||||||
|
FILE_MO=$${FILE_PO##*/}; FILE_MO="$${FILE_MO%_*.po}.mo"; \
|
||||||
|
PATH_FILE_MO="/usr/share/locale/$${LANG}/LC_MESSAGES/$${FILE_MO}"; \
|
||||||
|
echo $${FILE_PO}; \
|
||||||
|
msgfmt "$${FILE_PO}" -v -f -o "$${PATH_FILE_MO}"; \
|
||||||
|
done
|
||||||
|
@for SIZE in 16 32 48; do \
|
||||||
|
install -dm755 /usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps; \
|
||||||
|
rsvg-convert -w $${SIZE} -h $${SIZE} -f svg --keep-image-data ${PKGNAME}.svg -o "/usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/${PKGNAME}.svg"; \
|
||||||
|
done
|
||||||
|
@install -dm755 /usr/share/icons/hicolor/scalable/apps
|
||||||
|
@install -Dm644 -t /usr/share/icons/hicolor/scalable/apps/ ${PKGNAME}.svg
|
||||||
|
@install -dm755 /usr/share/icons/hicolor/scalable/status
|
||||||
|
@install -Dm755 -t /usr/bin/ ${CMAKE_BUILD_DIR}/${PKGNAME}
|
||||||
|
@install -Dm644 -t /usr/share/applications/ ${PKGNAME}.desktop
|
||||||
|
@install -Dm644 -t /usr/share/${PKGNAME}/ui/ ${PKGNAME}.glade
|
||||||
|
@install -Dm644 -t /usr/share/${PKGNAME}/css/ ${PKGNAME}.css
|
||||||
|
@install -Dm644 -t /etc/ ubconfig-main.conf
|
||||||
|
chmod 766 /etc/ubconfig-main.conf
|
||||||
|
@install -Dm655 -t ~/.config/ ubconfig-main.conf
|
||||||
|
@install -Dm644 -t /usr/share/icons/hicolor/scalable/apps/ ${PKGNAME}.png
|
||||||
|
@gtk-update-icon-cache -fiq /usr/share/icons/hicolor/ &>/dev/null
|
||||||
|
@update-desktop-database --quiet 2>/dev/null
|
||||||
|
@touch /usr/share/applications
|
||||||
|
@echo "Install: OK ${USER}"
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@echo "Clean ..."
|
||||||
|
@$(RM) -rd ${CMAKE_BUILD_DIR}
|
||||||
|
@if [ -d ${CMAKE_BUILD_DIR} ]; then \
|
||||||
|
echo "Clean: error, compile directory exist ${CMAKE_BUILD_DIR}"; \
|
||||||
|
else \
|
||||||
|
echo "Clean: OK"; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
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"
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.7)
|
||||||
|
project(ubl-settings-manager)
|
||||||
|
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
|
|
||||||
|
pkg_check_modules(GTK REQUIRED gtk+-3.0)
|
||||||
|
include_directories(${GTK_INCLUDE_DIRS})
|
||||||
|
link_directories(${GTK_LIBRARY_DIRS})
|
||||||
|
add_definitions(${GTK_CFLAGS_OTHER})
|
||||||
|
|
||||||
|
#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")
|
||||||
|
|
||||||
|
set(SOURCE_FILES
|
||||||
|
ubl-settings-manager.c
|
||||||
|
ubl-settings-manager.h)
|
||||||
|
|
||||||
|
set(LIBRARIES
|
||||||
|
${GTK_LIBRARIES}
|
||||||
|
pthread)
|
||||||
|
|
||||||
|
add_custom_target(glade ALL
|
||||||
|
COMMAND cmake -E copy_directory ${CMAKE_SOURCE_DIR}/ui ${CMAKE_BINARY_DIR}/ui
|
||||||
|
)
|
||||||
|
add_custom_target(css ALL
|
||||||
|
COMMAND cmake -E copy_directory ${CMAKE_SOURCE_DIR}/css ${CMAKE_BINARY_DIR}/css
|
||||||
|
)
|
||||||
|
add_executable(ubl-settings-manager ${SOURCE_FILES})
|
||||||
|
target_link_libraries(ubl-settings-manager ${LIBRARIES})
|
||||||
|
install(TARGETS ubl-settings-manager DESTINATION bin)
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,199 @@
|
|||||||
|
#ifndef UBL_SETTINGS_MANAGER
|
||||||
|
#define UBL_SETTINGS_MANAGER
|
||||||
|
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
#define GladePath "/usr/share/ubl-settings-manager/ui/ubl-settings-manager.glade"
|
||||||
|
#define CssPath "/usr/share/ubl-settings-manager/css/ubl-settings-manager.css"
|
||||||
|
#define GlobalConfigPath "/etc/ubconfig-main.conf"
|
||||||
|
#define UserConfigPath "/.config/ubl-settings-manager/ubconfig-main.conf"
|
||||||
|
#define AppIconPath "/usr/share/icons/hicolor/32x32/apps/ublinux-ubconfig.svg"
|
||||||
|
#define AppBannerPath "/usr/share/icons/hicolor/scalable/apps/ubl-settings-manager.png"
|
||||||
|
#define DesktopPath "/usr/share/applications/"
|
||||||
|
#define IconPicturesPath "/usr/share/icons/hicolor/scalable/apps/"
|
||||||
|
#define ErrIconPicturePath "/usr/share/icons/Faenza/emblems/32/emblem-important.png"
|
||||||
|
#define PictureFormatMain ".svg"
|
||||||
|
#define PictureFormatExtra ".png"
|
||||||
|
#define LocalePath "/usr/share/locale"
|
||||||
|
#define LocaleName "ubl-settings-manager"
|
||||||
|
#define LogoPath "/usr/share/icons/hicolor/scalable/apps/ubl-settings-manager.svg"
|
||||||
|
#define ubl_settings_infoPath "/home/superadmin/Документы/ubl-settings-manager/ub-settings-manager/ubl-info/ubl-settings-info"
|
||||||
|
#define ubl_settings_infoPathLaunch "/home/superadmin/Документы/ubl-settings-manager/ub-settings-manager/ubl-info/ubl-settings-info --socket-id="
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct apps{
|
||||||
|
char *Name;
|
||||||
|
int Type;
|
||||||
|
char *Categories;
|
||||||
|
char *Exec;
|
||||||
|
char *Icon;
|
||||||
|
int Pluggable;
|
||||||
|
|
||||||
|
} apps;
|
||||||
|
|
||||||
|
typedef struct dictionary {
|
||||||
|
char *key;
|
||||||
|
void *data;
|
||||||
|
struct dictionary *next;
|
||||||
|
struct dictionary *prev;
|
||||||
|
struct dictionary *first;
|
||||||
|
} dictionary;
|
||||||
|
|
||||||
|
typedef struct IVGrapgicals{
|
||||||
|
char *sectionName;
|
||||||
|
char *categories;
|
||||||
|
GtkListStore *LV;
|
||||||
|
GtkWidget *Box;
|
||||||
|
GtkWidget *IV;
|
||||||
|
GtkWidget *label;
|
||||||
|
GtkWidget *sep;
|
||||||
|
} IVGraphicals;
|
||||||
|
|
||||||
|
typedef struct IconSection{
|
||||||
|
char *section;
|
||||||
|
char *categories;
|
||||||
|
} IconSection;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
int windowWidth;
|
||||||
|
int windowHeight;
|
||||||
|
int windowPosX;
|
||||||
|
int windowPosY;
|
||||||
|
int WindowTheme;
|
||||||
|
char *curThemeName;
|
||||||
|
int iconsize;
|
||||||
|
int iconSegmentSize;
|
||||||
|
dictionary *sections;
|
||||||
|
|
||||||
|
} config;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
GtkWidget *MainFrame;
|
||||||
|
GtkWidget *MainBox;
|
||||||
|
GtkWidget *ElemBox;
|
||||||
|
GtkWidget *DragButtonBox;
|
||||||
|
GtkWidget *DragUpButton;
|
||||||
|
GtkWidget *DragDownButton;
|
||||||
|
GtkWidget *NameBox;
|
||||||
|
GtkWidget *CategoriesBox;
|
||||||
|
GtkWidget *OptionBox;
|
||||||
|
GtkWidget *NameEntry;
|
||||||
|
GtkWidget *NameLabel;
|
||||||
|
GtkWidget *CategoriesEntry;
|
||||||
|
GtkWidget *CategoriesLabel;
|
||||||
|
GtkWidget *EditButtonBox;
|
||||||
|
GtkWidget *EditButtonAccept;
|
||||||
|
GtkWidget *EditButtonCancel;
|
||||||
|
GtkWidget *ButtonEdit;
|
||||||
|
GtkWidget *ButtonDelete;
|
||||||
|
GtkWidget *DeleditBox;
|
||||||
|
} SectionSettingSegment;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
GtkBuilder *builder;
|
||||||
|
GtkWidget *window;
|
||||||
|
dictionary *ICSys;
|
||||||
|
GtkWidget *DesktopBasic;
|
||||||
|
GtkWidget *DesktopSocket;
|
||||||
|
GtkWidget *ButtonBackToMain;
|
||||||
|
GtkWidget *DialogOpenDocumentation;
|
||||||
|
GtkWidget *CancelHelpButton;
|
||||||
|
GtkWidget *ReadHelpButton;
|
||||||
|
GtkWidget *AlwaysOpenDocumentation;
|
||||||
|
GtkWidget *helpHeader;
|
||||||
|
GtkWidget *helpText;
|
||||||
|
GtkWidget *appSettings;
|
||||||
|
GtkWidget *SettingsWindow;
|
||||||
|
GtkWidget *settingsSizeSlider;
|
||||||
|
GtkWidget *settingsSizeInfoLabel;
|
||||||
|
GtkWidget *settingsThemeChooser;
|
||||||
|
GtkWidget *settingsCancel;
|
||||||
|
GtkWidget *settingsAccept;
|
||||||
|
GtkWidget *settingsIcon;
|
||||||
|
GtkWidget *socket;
|
||||||
|
GtkWidget *socketplace;
|
||||||
|
GtkWidget *HideWhileLaunch;
|
||||||
|
GtkWidget *MenuItemSettings;
|
||||||
|
GtkWidget *MenuItemDocumentation;
|
||||||
|
GtkWidget *MenuItemAboutSystem;
|
||||||
|
GtkWidget *LabelTitle;
|
||||||
|
GtkWidget *settingsSubmenuLabelSize;
|
||||||
|
GtkWidget *settingsSubmenuLabelTheme;
|
||||||
|
GtkWidget *GnomePaned;
|
||||||
|
GtkWidget *GnomeInfoLabel;
|
||||||
|
GtkWidget *workingwindow;
|
||||||
|
GtkWidget *settingsSectionsSettingsButton;
|
||||||
|
GtkWidget *SectionSettingsWindow;
|
||||||
|
GtkWidget *SectionSettingsPack;
|
||||||
|
dictionary *SettingsSections;
|
||||||
|
GtkWidget *SectionSettingAddButton;
|
||||||
|
GtkWidget *SectionSettingAddNameEntry;
|
||||||
|
GtkWidget *SectionSettingAddCategoriesEntry;
|
||||||
|
GtkWidget *SectionSettingsClearEntryButton;
|
||||||
|
GtkWidget *SectionSettingsSaveButton;
|
||||||
|
GtkWidget *SectionSettingsCloseButton;
|
||||||
|
GtkWidget *GnomeInfoDetailsLabel;
|
||||||
|
GtkWidget *CautionWindow;
|
||||||
|
GtkWidget *CautionUnderstandButton;
|
||||||
|
int appssize;
|
||||||
|
apps *applist;
|
||||||
|
GtkWidget *icvpack;
|
||||||
|
|
||||||
|
|
||||||
|
} actionWidgets;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
ACTIONWIDGETS,
|
||||||
|
ICONSECTION,
|
||||||
|
IVGRAPHICALS,
|
||||||
|
OTHER
|
||||||
|
|
||||||
|
} DICT_TYPE;
|
||||||
|
|
||||||
|
void on_plug_added(GtkSocket* self, actionWidgets *builder);
|
||||||
|
void on_plug_removed(GtkSocket* self, actionWidgets *widgets);
|
||||||
|
void on_Item_activated(GtkIconView* self, GtkTreePath* path, actionWidgets *applist);
|
||||||
|
void on_gnome_Item_activated(GtkIconView* self, GtkTreePath* path, actionWidgets *applist);
|
||||||
|
void on_item_selection_changed(GtkIconView *IV, actionWidgets *widgets);
|
||||||
|
void on_ButtonOpenHelp_activated(GtkWidget *button, GtkBuilder *builder);
|
||||||
|
void on_backToSettingsButton_clicked(GtkWidget *button,actionWidgets *sctb);
|
||||||
|
void on_CancelHelpButton_activated(GtkWidget *button,GtkBuilder *builder);
|
||||||
|
void on_ReadHelpButton_activated(GtkWidget *button, GtkBuilder *builder);
|
||||||
|
void launch_app_with_arguments(char *name, char *args);
|
||||||
|
void launch_app(char *name);
|
||||||
|
void py_launch_app(char *name,char *args);
|
||||||
|
int on_settings_accept(GtkWidget *button, dictionary **widgetsDs);
|
||||||
|
void on_paned_move(GtkPaned* self, GtkScrollType* scroll_type, actionWidgets *widgets);
|
||||||
|
int on_settingsOpen(GtkWidget *button, actionWidgets *widgets);
|
||||||
|
int on_settings_icon_size_changed(GtkWidget* self, actionWidgets *widgets);
|
||||||
|
int on_settings_cancel(GtkWidget *button, actionWidgets *widgets);
|
||||||
|
apps *get_app_by_name(apps *applist,char *name, int size);
|
||||||
|
int reload_list(IVGraphicals *section);
|
||||||
|
int load_apps(IVGraphicals *section, apps *applist, int size);
|
||||||
|
int load_apps_with_clear(IVGraphicals *section, apps *applist, int size);
|
||||||
|
int hide_if_unfound(dictionary *widgetsDc);
|
||||||
|
GtkWidget *create_socket(actionWidgets *builder);
|
||||||
|
void sort_apps(apps *applist,int size);
|
||||||
|
apps *find_apps(int *sizef);
|
||||||
|
int check_categories(apps app, char *catstocheck);
|
||||||
|
int setup_config();
|
||||||
|
dictionary *yon_theme_new(dictionary **widgetss, GtkBuilder *builder, char *theme_id, apps *applist, int appsize);
|
||||||
|
char *yon_char_get_augumented(char *source, char *append);
|
||||||
|
char *yon_cut(char *source, int size, int startpos);
|
||||||
|
int yon_set_sections(IconSection *section);
|
||||||
|
void yon_set_default_sections(dictionary **section);
|
||||||
|
char *yon_char_divide_search(char *source, char* dividepos, int delete_divider);
|
||||||
|
char *yon_char_divide(char *source, int dividepos);
|
||||||
|
dictionary *yon_section_new(dictionary *section, char *section_name, char *categories);
|
||||||
|
void yon_switch_theme(dictionary **dict, dictionary *newone);
|
||||||
|
dictionary *yon_dictionary_find(dictionary **dict, char *key);
|
||||||
|
void yon_segment_show(actionWidgets *widgets, SectionSettingSegment *sgm);
|
||||||
|
dictionary *yon_dictionary_create_empty();
|
||||||
|
SectionSettingSegment *yon_create_section_setting(char *name, char *categories);
|
||||||
|
void yon_segments_show(actionWidgets *widgets);
|
||||||
|
void yon_segments_hide(actionWidgets *widgets);
|
||||||
|
void yon_dictionary_make_first(dictionary *dict);
|
||||||
|
dictionary *yon_create_icon_section_list(dictionary *sections);
|
||||||
|
int yon_show_icon_views(dictionary *IVS,actionWidgets *widgets);
|
||||||
|
void yon_icon_size_convert(int mode);
|
||||||
|
#endif
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
[window]
|
||||||
|
WindowPosX=0
|
||||||
|
WindowPosY=0
|
||||||
|
WindowWidth=1920
|
||||||
|
WindowHeight=1004
|
||||||
|
WindowTheme=0
|
||||||
|
IconSize=2
|
||||||
|
IconSegmentSize=321
|
||||||
|
|
||||||
|
[sections]
|
||||||
|
Personal=XFCE;
|
||||||
|
Hardware=X-UBL-SettingsManager;X-UBL-HardwareSettings;
|
||||||
|
System=X-UBL-SettingsManager;X-UBL-SystemSettings;
|
||||||
|
Misc=
|
||||||
@ -0,0 +1,55 @@
|
|||||||
|
.label {
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
.noborder{
|
||||||
|
border:none;
|
||||||
|
border-width:0px;
|
||||||
|
border-radius:0px;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
.darkborder{
|
||||||
|
border-width:1px;
|
||||||
|
border-radius:1px;
|
||||||
|
}
|
||||||
|
.bannerbackground {
|
||||||
|
background-color: #404040;
|
||||||
|
}
|
||||||
|
.elseps {
|
||||||
|
border-style:solid;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-image: linear-gradient(90deg, #aaaaaa 0%, #dcddde 100%);
|
||||||
|
border-image-slice: 1;
|
||||||
|
|
||||||
|
}
|
||||||
|
#Icon {
|
||||||
|
background-color: transparent;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
iconview#GnomeIcon{
|
||||||
|
border-style:solid;
|
||||||
|
border-bottom-width: 1px;
|
||||||
|
border-image: linear-gradient(90deg, #aaaaaa 0%, #dcddde 100%);
|
||||||
|
border-image-slice: 1;
|
||||||
|
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
#noborders{
|
||||||
|
border-style:solid;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#iconlabel {
|
||||||
|
font-size:14px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#desclabel {
|
||||||
|
font-size:100%;
|
||||||
|
}
|
||||||
|
.bold {
|
||||||
|
color:#1a5fb4;
|
||||||
|
}
|
||||||
|
iconview {
|
||||||
|
background-image:none;
|
||||||
|
}
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=ubl-settings-manager
|
||||||
|
Name[ru]=Настройки UBLinux
|
||||||
|
GenericName=ubl-settings-manager
|
||||||
|
GenericName[ru]=Настройки UBLinux
|
||||||
|
Comment=ubl-settings-manager
|
||||||
|
Comment[ru]=Приложение для управления настройками UBLinux
|
||||||
|
Type=Application
|
||||||
|
Exec=ubl-settings-manager
|
||||||
|
Icon=ublinux-ubconfig
|
||||||
|
Terminal=false
|
||||||
|
X-XfcePluggable=false
|
||||||
|
Categories=XFCE;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
|
||||||
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 366 KiB |
|
After Width: | Height: | Size: 14 KiB |
Loading…
Reference in new issue