commit
82fcca498f
@ -0,0 +1,18 @@
|
||||
.vscode/
|
||||
config.conf
|
||||
ubconfig-main-back.conf
|
||||
gtk-dark.css
|
||||
msgformat.py
|
||||
calendarApp.glade
|
||||
calendarApp.glade~
|
||||
ubl-settings-manager.glade~
|
||||
*ubl-settings-manager.glade#
|
||||
ubl-settings-manager
|
||||
**base.mo
|
||||
home/
|
||||
css/
|
||||
.config/
|
||||
images/
|
||||
locale/
|
||||
ui/
|
||||
ubl-settings-manager_ru.pos
|
||||
@ -0,0 +1,154 @@
|
||||
#!/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
|
||||
DEPENDS = cmake
|
||||
PKGNAME = $(MAKEFILE_DIR)
|
||||
#PKGNAME = ubl-settings-manager
|
||||
|
||||
default_target: all
|
||||
|
||||
all: init build
|
||||
|
||||
init:
|
||||
@echo "Initialize ..."; \
|
||||
version="$$(cat VERSION.md)"; \
|
||||
version=$${version:8}; \
|
||||
search="s/string version_application.*"; \
|
||||
replace="string version_application = \"$${version}\";"; \
|
||||
sed -i -e "$$search/$$replace/gi" source/ubl-settings-manager.h; \
|
||||
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/ru.ublinux.${PKGNAME}.svg"
|
||||
@$(RM) "/usr/share/${PKGNAME}/ui/ublinux-logo.svg"
|
||||
@$(RM) "/usr/share/${PKGNAME}/ui/${PKGNAME}.glade"
|
||||
@$(RM) "/usr/share/${PKGNAME}/css/${PKGNAME}.css"
|
||||
@$(RM) "/usr/share/${PKGNAME}/ui/${PKGNAME}-banner.png"
|
||||
@$(RM) -d "/usr/share/${PKGNAME}/css"
|
||||
@$(RM) -d "/usr/share/${PKGNAME}/ui"
|
||||
@$(RM) -d "/usr/share/${PKGNAME}"
|
||||
@$(RM) "/etc/xdg/${PKGNAME}/${PKGNAME}.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 ru.ublinux.${PKGNAME}.svg -o "/usr/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/ru.ublinux.${PKGNAME}.svg"; \
|
||||
done
|
||||
@install -dm755 /usr/share/icons/hicolor/scalable/apps
|
||||
@install -Dm644 -t /usr/share/icons/hicolor/scalable/apps/ ru.ublinux.${PKGNAME}.svg
|
||||
@install -Dm755 -t /usr/bin/ ${CMAKE_BUILD_DIR}/${PKGNAME}
|
||||
@install -Dm644 -t /usr/share/applications/ ${PKGNAME}.desktop
|
||||
@install -Dm755 /usr/share/${PKGNAME}/ -d ui
|
||||
@install -Dm755 /usr/share/${PKGNAME}/ -d css
|
||||
@install -Dm644 -t /usr/share/${PKGNAME}/ui/ ${PKGNAME}.glade
|
||||
@install -Dm644 -t /usr/share/${PKGNAME}/css/ ${PKGNAME}.css
|
||||
@install -Dm644 -t /usr/share/${PKGNAME}/ui/ ublinux-logo.svg
|
||||
@install -Dm766 -t /etc/xdg/${PKGNAME}/ ${PKGNAME}.conf
|
||||
@install -Dm644 -t /usr/share/${PKGNAME}/ui/ ${PKGNAME}-banner.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"
|
||||
|
||||
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; \
|
||||
version="$$(cat VERSION.md)"; \
|
||||
version=$${version:8}; \
|
||||
search="s/string version_application.*"; \
|
||||
echo $$search; \
|
||||
replace="string version_application = ;"; \
|
||||
sed -i -e "$$search/$$replace/gi" source/ubl-settings-manager.h; \
|
||||
|
||||
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 @@
|
||||
VERSION 1.2
|
||||
|
After Width: | Height: | Size: 210 KiB |
@ -0,0 +1,25 @@
|
||||
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 -lm")
|
||||
|
||||
set(SOURCE_FILES
|
||||
ubl-settings-manager.c
|
||||
ubl-settings-manager.h)
|
||||
|
||||
set(LIBRARIES
|
||||
${GTK_LIBRARIES}
|
||||
pthread)
|
||||
|
||||
|
||||
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,239 @@
|
||||
#ifndef UBL_SETTINGS_MANAGER
|
||||
#define UBL_SETTINGS_MANAGER
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <time.h>
|
||||
#include <getopt.h>
|
||||
|
||||
#define cmdVersionText yon_char_get_augumented(yon_char_get_augumented(_("Version: "),version_application),"\n")
|
||||
#define cmdHelpText yon_char_get_augumented(yon_char_get_augumented(_("ubl-settings-manager version: "),version_application),_("\nGTK settings manager for UBLinux\nUsage: ubl-settings-manager [OPTIONS...]\nOptions:\n -h, --help Show this help\n -V, --version Show package version\n --lock-settings Lock menu settings\n"))
|
||||
#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/xdg/ubl-settings-manager/ubl-settings-manager.conf"
|
||||
#define UserConfigPath "/.config/ubl-settings-manager/ubl-settings-manager.conf"
|
||||
#define AppIconPath "ru.ublinux.ubl-settings-manager"
|
||||
#define AppBannerPath "/usr/share/ubl-settings-manager/ui/ubl-settings-manager-banner.png"
|
||||
#define DesktopPath "/usr/share/applications/"
|
||||
#define IconPicturesPath "/usr/share/icons/hicolor/scalable/apps/"
|
||||
#define ublinux_logo "/usr/share/ubl-settings-manager/ui/ublinux-logo.svg"
|
||||
#define LocalePath "/usr/share/locale"
|
||||
#define LocaleName "ubl-settings-manager"
|
||||
#define ubl_settings_infoPath "ubl-settings-info"
|
||||
#define ubl_settings_infoPathLaunch "ubl-settings-info --socket-id="
|
||||
typedef char* string;
|
||||
string version_application = ;
|
||||
|
||||
|
||||
typedef struct apps{
|
||||
char *Name;
|
||||
int Type;
|
||||
char *Categories;
|
||||
char *Exec;
|
||||
char *Icon;
|
||||
int Pluggable;
|
||||
int DualPluggable;
|
||||
} apps;
|
||||
|
||||
typedef struct {
|
||||
char *command;
|
||||
int *exitcode;
|
||||
} thread_output;
|
||||
|
||||
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;
|
||||
GtkCellRendererPixbuf *iconRender;
|
||||
} IVGraphicals;
|
||||
|
||||
typedef struct IconSection{
|
||||
char *section;
|
||||
char *categories;
|
||||
} IconSection;
|
||||
|
||||
typedef struct {
|
||||
int windowWidth;
|
||||
int windowHeight;
|
||||
int windowPosX;
|
||||
int windowPosY;
|
||||
int WindowTheme;
|
||||
char *curThemeName;
|
||||
int Mainiconsize;
|
||||
int Gnomeiconsize;
|
||||
int iconSegmentSize;
|
||||
dictionary *sections;
|
||||
int MainlabelSize;
|
||||
int GnomelabelSize;
|
||||
int *currentThemeLabelSize;
|
||||
int *currentThemeIconSize;
|
||||
int labelDensity;
|
||||
char *lastUser;
|
||||
int changed;
|
||||
int fullscreen;
|
||||
int lock_settings;
|
||||
dictionary *SettingsSections;
|
||||
} 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;
|
||||
GtkWidget *socketbuttonplace;
|
||||
GtkWidget *socketbutton;
|
||||
GtkWidget *Overlay;
|
||||
GtkWidget *ThirdSocketPlace;
|
||||
GtkWidget *ThirdSocket;
|
||||
int appssize;
|
||||
apps *applist;
|
||||
GtkWidget *icvpack;
|
||||
GtkWidget *infoWarningWindow;
|
||||
GtkWidget *infoWarningButton;
|
||||
GtkWidget *infoWarningLabel;
|
||||
|
||||
} 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);
|
||||
int launch_app_with_arguments(char *name, char *args);
|
||||
int launch_app(char *name);
|
||||
int 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();
|
||||
void yon_icv_resize_item(dictionary *icdict, GtkWidget *paned);
|
||||
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();
|
||||
dictionary *yon_dictionary_rip(dictionary *dict);
|
||||
dictionary *yon_dictionary_get_last(dictionary *dict);
|
||||
dictionary *yon_dictionary_switch_places(dictionary *dict,int aim);
|
||||
dictionary *yon_dictionary_create_with_data(char *key, void *data);
|
||||
dictionary *yon_dictionary_create_with_data_connected(dictionary *dict, char *key, void *data);
|
||||
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);
|
||||
char *yon_char_new(char *chr);
|
||||
int launch(thread_output *thread);
|
||||
float yon_time_average(dictionary *times);
|
||||
void yon_time_reg_for_average(dictionary *listofregs, int size, time_t tm);
|
||||
void yon_dictionary_switch_to_last(dictionary **dict);
|
||||
dictionary *yon_dictionary_create_conneced(dictionary *targetdict);
|
||||
int yon_get_icon_size(int size);
|
||||
|
||||
#endif
|
||||
|
After Width: | Height: | Size: 366 KiB |
@ -0,0 +1,19 @@
|
||||
[window]
|
||||
WindowPosX=0
|
||||
WindowPosY=0
|
||||
WindowWidth=800
|
||||
WindowHeight=600
|
||||
WindowTheme=0
|
||||
MainIconSize=3
|
||||
GnomeIconSize=3
|
||||
IconSegmentSize=250
|
||||
MainLabelSize=12
|
||||
GnomeLabelSize=12
|
||||
LabelDensity=0
|
||||
User=
|
||||
|
||||
[sections]
|
||||
Personal=X-UBL-SettingsManager;X-UBL-PersonalSettings;
|
||||
Hardware=X-UBL-SettingsManager;X-UBL-HardwareSettings;
|
||||
System=X-UBL-SettingsManager;X-UBL-SystemSettings;
|
||||
Misc=
|
||||
@ -0,0 +1,108 @@
|
||||
.bannerbackground {
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
|
||||
#GnomeIcon{
|
||||
border-style:solid;
|
||||
border-bottom-width: 1px;
|
||||
border-image: linear-gradient(90deg, alpha(@theme_text_color,0.4) 55%, alpha(@theme_bg_color, 0) 100%);
|
||||
border-image-slice: 1;
|
||||
}
|
||||
|
||||
#SepIcon{
|
||||
background-color: alpha(@theme_text_color, 0.6);
|
||||
}
|
||||
|
||||
#iconlabel {
|
||||
font-size:14px;
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
.roundborder * {
|
||||
border-width:0px;
|
||||
border-radius:5px;
|
||||
}
|
||||
.noborder {
|
||||
border: none;
|
||||
}
|
||||
.menu:hover {
|
||||
border-color:alpha(@theme_text_color, 0.01);
|
||||
}
|
||||
.menu {
|
||||
border-color:alpha(@theme_text_color, 0.01);
|
||||
}
|
||||
.menu:hover >* {
|
||||
border-color:alpha(@theme_text_color, 0.01);
|
||||
}
|
||||
.menuitembottom{
|
||||
margin-top:0px;
|
||||
margin-bottom:3px;
|
||||
}
|
||||
.menuitemmiddle{
|
||||
margin-top:0px;
|
||||
margin-bottom:0px;
|
||||
}
|
||||
|
||||
.menuitemtop{
|
||||
margin-bottom:0px;
|
||||
}
|
||||
.menuitemtop *{
|
||||
margin:2px 2px 0 2px;
|
||||
padding: 5px 10px 3px 5px;
|
||||
}
|
||||
.menuitemmiddle *{
|
||||
margin:0 2px 0 2px;
|
||||
padding: 3px 10px 3px 5px;
|
||||
}
|
||||
.menuitembottom *{
|
||||
margin:0 2px 2px 2px;
|
||||
padding: 3px 10px 5px 5px;
|
||||
}
|
||||
.menuitemtop:hover {
|
||||
background:@theme_bg_color;
|
||||
}
|
||||
.menuitemmiddle:hover {
|
||||
background:@theme_bg_color;
|
||||
}
|
||||
.menuitembottom:hover {
|
||||
background:@theme_bg_color;
|
||||
|
||||
}
|
||||
.menuitemtop:hover* {
|
||||
margin:2px 2px 0 2px;
|
||||
padding: 5px 10px 3px 5px;
|
||||
background:@theme_selected_bg_color;
|
||||
border-radius:2px;
|
||||
}
|
||||
.menuitemmiddle:hover* {
|
||||
margin:0 2px 0 2px;
|
||||
padding: 3px 10px 3px 5px;
|
||||
background:@theme_selected_bg_color;
|
||||
border-radius:2px;
|
||||
}
|
||||
.menuitembottom:hover* {
|
||||
margin:0 2px 2px 2px;
|
||||
padding: 3px 10px 5px 5px;
|
||||
background:@theme_selected_bg_color;
|
||||
border-radius:2px;
|
||||
}
|
||||
|
||||
.workingbg, #workingbg {
|
||||
background-color:@theme_base_color;
|
||||
}
|
||||
.workingbg.view.cell:selected {
|
||||
background-color:@theme_selected_bg_color;
|
||||
}
|
||||
.workingbg.view.cell:hover {
|
||||
background-color:darker(@theme_selected_bg_color);
|
||||
color:@theme_selected_text_color;
|
||||
border-radius:3px;
|
||||
}
|
||||
.bkim {
|
||||
transition: 200ms ease-out;
|
||||
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=ubl-settings-manager
|
||||
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
@ -0,0 +1,128 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-03-17 18:00+0600\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: source/ubl-settings-manager.c:632
|
||||
msgid "Settings manager for UBLinux"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:633 source/ubl-settings-manager.c:1601
|
||||
#: source/ubl-settings-manager.c:1615 source/ubl-settings-manager.c:1674
|
||||
msgid "UBLinux Settings Manager"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:636
|
||||
msgid "Project Home Page"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1600
|
||||
msgid "Back to all settings"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1675
|
||||
msgid "Icon size"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1676
|
||||
msgid "Window theme"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1677
|
||||
msgid "Would you like to read documentation in the Web?"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1678
|
||||
msgid ""
|
||||
"You will be redirected to documentation site, where user help pages are "
|
||||
"translated and supported by community."
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1679
|
||||
msgid "Read online"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1680
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1681
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1682
|
||||
msgid "Save and apply"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1683
|
||||
msgid "Always redirect"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1684
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1685
|
||||
msgid "About..."
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1686
|
||||
msgid "Understood"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1687
|
||||
msgid "Sections management"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1792
|
||||
msgid "Standard theme"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.c:1793
|
||||
msgid "GNOME theme"
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.h:8
|
||||
msgid "Version: "
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.h:9
|
||||
msgid "ubl-settings-manager version: "
|
||||
msgstr ""
|
||||
|
||||
#: source/ubl-settings-manager.h:9
|
||||
msgid ""
|
||||
"\n"
|
||||
"GTK settings manager for UBLinux\n"
|
||||
"Usage: ubl-settings-manager [OPTIONS...]\n"
|
||||
"Options:\n"
|
||||
" -h, --help\t\t Show this help\n"
|
||||
" -V, --version\t \t Show package version\n"
|
||||
" --lock-settings Lock menu settings\n"
|
||||
msgstr ""
|
||||
|
||||
msgid "Personal"
|
||||
msgstr ""
|
||||
|
||||
msgid "Hardware"
|
||||
msgstr ""
|
||||
|
||||
msgid "System"
|
||||
msgstr ""
|
||||
|
||||
msgid "Misc"
|
||||
msgstr ""
|
||||
|
After Width: | Height: | Size: 14 KiB |
Loading…
Reference in new issue