master #37

Merged
asmeron merged 7 commits from YanTheKaller/ubl-settings-manager:master into develop 3 years ago

@ -75,8 +75,8 @@ uninstall:
$(RM) "$${PATH_FILE_MO}"; \ $(RM) "$${PATH_FILE_MO}"; \
done done
@for SIZE in 16x16 32x32 48x48 scalable; do \ @for SIZE in 16x16 32x32 48x48 scalable; do \
$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}/apps/ru.ublinux.${PKGNAME}.svg"; \ $(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}/apps/com.ublinux.${PKGNAME}.svg"; \
$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}/apps/ru.ublinux.${PKGNAME}.png"; \ $(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}/apps/com.ublinux.${PKGNAME}.png"; \
done done
@for FILE_SVG in $(wildcard *.svg); do \ @for FILE_SVG in $(wildcard *.svg); do \
for SIZE in 16x16 32x32 48x48 scalable; do \ for SIZE in 16x16 32x32 48x48 scalable; do \
@ -86,7 +86,7 @@ uninstall:
@$(RM) "${DESTDIR}${PREFIX}/bin/${PKGNAME}" @$(RM) "${DESTDIR}${PREFIX}/bin/${PKGNAME}"
@$(RM) "${DESTDIR}/etc/xdg/${PKGNAME}/${PKGNAME}.conf" @$(RM) "${DESTDIR}/etc/xdg/${PKGNAME}/${PKGNAME}.conf"
@$(RM) "${DESTDIR}${PREFIX}/share/applications/${PKGNAME}.desktop" @$(RM) "${DESTDIR}${PREFIX}/share/applications/${PKGNAME}.desktop"
@$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ru.ublinux.${PKGNAME}.svg" @$(RM) "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/com.ublinux.${PKGNAME}.svg"
@$(RM) -rd "${DESTDIR}${PREFIX}/share/${PKGNAME}" @$(RM) -rd "${DESTDIR}${PREFIX}/share/${PKGNAME}"
@if [ -z ${DESTDIR} ]; then \ @if [ -z ${DESTDIR} ]; then \
[ -d "${DESTDIR}${PREFIX}/share/icons/hicolor/" ] && gtk-update-icon-cache -fiq "${DESTDIR}${PREFIX}/share/icons/hicolor/" &>/dev/null || true; \ [ -d "${DESTDIR}${PREFIX}/share/icons/hicolor/" ] && gtk-update-icon-cache -fiq "${DESTDIR}${PREFIX}/share/icons/hicolor/" &>/dev/null || true; \
@ -107,10 +107,10 @@ install: check uninstall
done done
@for SIZE in 16 32 48; do \ @for SIZE in 16 32 48; do \
install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps"; \ install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps"; \
rsvg-convert -w $${SIZE} -h $${SIZE} -f svg --keep-image-data "ru.ublinux.${PKGNAME}.svg" -o "${DESTDIR}${PREFIX}/share/icons/hicolor/$${SIZE}x$${SIZE}/apps/ru.ublinux.${PKGNAME}.svg"; \ 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 done
@install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps" @install -dm755 "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps"
@install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" "ru.ublinux.${PKGNAME}.svg" @install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/apps/" "com.ublinux.${PKGNAME}.svg"
@install -Dm755 -t "${DESTDIR}${PREFIX}/bin/" "${CMAKE_BUILD_DIR}/${PKGNAME}" @install -Dm755 -t "${DESTDIR}${PREFIX}/bin/" "${CMAKE_BUILD_DIR}/${PKGNAME}"
@install -dm755 "${DESTDIR}/etc/xdg" @install -dm755 "${DESTDIR}/etc/xdg"
@install -Dm744 -t "${DESTDIR}/etc/xdg/${PKGNAME}/" "${PKGNAME}.conf" @install -Dm744 -t "${DESTDIR}/etc/xdg/${PKGNAME}/" "${PKGNAME}.conf"

Before

Width:  |  Height:  |  Size: 210 KiB

After

Width:  |  Height:  |  Size: 210 KiB

@ -360,7 +360,7 @@ void on_section_settings_open(GtkButton* self,dictionary *cWidgets){
main_config.SettingsSections->first->key=name; main_config.SettingsSections->first->key=name;
yon_segments_hide(widgets); yon_segments_hide(widgets);
yon_segment_show(widgets, (SectionSettingSegment*)main_config.SettingsSections->data); yon_segment_show(widgets, (SectionSettingSegment*)main_config.SettingsSections->data);
for (dictionary *dct=main_config.sections->first->next;dct!=NULL;dct=dct->next){ // ошибка если меньше двух for (dictionary *dct=main_config.sections->first->next;dct!=NULL;dct=dct->next){
name=((IconSection*)dct->data)->section; name=((IconSection*)dct->data)->section;
categories=((IconSection*)dct->data)->categories; categories=((IconSection*)dct->data)->categories;
main_config.SettingsSections=yon_dictionary_create_with_data_connected(main_config.SettingsSections,name,yon_create_section_setting(name, categories)); main_config.SettingsSections=yon_dictionary_create_with_data_connected(main_config.SettingsSections,name,yon_create_section_setting(name, categories));
@ -495,7 +495,7 @@ void on_sections_add(GtkWidget *button, actionWidgets *widgets){
SectionSettingSegment *segment=yon_create_section_setting(category_name,category_categories); SectionSettingSegment *segment=yon_create_section_setting(category_name,category_categories);
dictionary *newsection = yon_dictionary_get_last(main_config.SettingsSections); dictionary *newsection = yon_dictionary_get_last(main_config.SettingsSections);
newsection=yon_dictionary_create_with_data_connected(newsection,category_name,segment); newsection=yon_dictionary_create_with_data_connected(newsection,category_name,segment);
printf("%s\n",category_name); // printf("%s\n",category_name);
dictionary *newsec=yon_dictionary_create_empty(); dictionary *newsec=yon_dictionary_create_empty();
newsec=yon_section_new(newsec,category_name,category_categories); newsec=yon_section_new(newsec,category_name,category_categories);
main_config.sections=yon_dictionary_create_with_data_connected(main_config.sections,category_name,newsec->data); main_config.sections=yon_dictionary_create_with_data_connected(main_config.sections,category_name,newsec->data);
@ -565,29 +565,7 @@ void on_resized (GtkWidget *window, GdkEventConfigure *event, dictionary *widget
main_config.fullscreen=1; main_config.fullscreen=1;
gtk_revealer_set_reveal_child(GTK_REVEALER(widgets->Revealer),!gtk_revealer_get_child_revealed(GTK_REVEALER(widgets->Revealer))); gtk_revealer_set_reveal_child(GTK_REVEALER(widgets->Revealer),!gtk_revealer_get_child_revealed(GTK_REVEALER(widgets->Revealer)));
gtk_revealer_set_reveal_child(GTK_REVEALER(widgets->Revealer),gtk_revealer_get_child_revealed(GTK_REVEALER(widgets->Revealer))); gtk_revealer_set_reveal_child(GTK_REVEALER(widgets->Revealer),gtk_revealer_get_child_revealed(GTK_REVEALER(widgets->Revealer)));
// if (main_config.WindowTheme==1){
// if (main_config.windowWidth<1240){
// if (stld==0){
// stld=1;
// main_config.WindowTheme=0;
// gtk_window_set_resizable(GTK_WINDOW(window),0);
// gtk_window_get_position(GTK_WINDOW(window),&main_config.windowPosX,&main_config.windowPosY);
// gtk_window_get_size(GTK_WINDOW(window),&main_config.windowWidth,&main_config.windowHeight);
// yon_switch_theme(&widgetsD,yon_dictionary_find(&widgetsD,"Main"));
// *main_config.currentThemeIconSize=24;
// gtk_window_resize(GTK_WINDOW(widgets->window),main_config.windowWidth,main_config.windowHeight);
// gtk_widget_hide(widgets->window);
// }
// }else {
// yon_segments_hide(widgets);
// yon_segments_show(widgets);
// if (stld==1){
// stld=0;
// cmld=0;
// }
// }
// }
} }
void on_resized_done (GtkWidget *window, GdkEvent *event, dictionary *widgetsD){ void on_resized_done (GtkWidget *window, GdkEvent *event, dictionary *widgetsD){
@ -656,6 +634,7 @@ void on_reveal_banner(GtkWidget *button, actionWidgets *widgets){
} }
void on_double_click_changed(GtkWidget *Switch, gboolean state, dictionary *widgetsD){ void on_double_click_changed(GtkWidget *Switch, gboolean state, dictionary *widgetsD){
// printf("%s\n","SGRBHSDRFJHNSDRJHNSDRJHNDRDJR");
*main_config.currentDoubleClick=state; *main_config.currentDoubleClick=state;
update_double_clicks(widgetsD); update_double_clicks(widgetsD);
} }
@ -724,14 +703,23 @@ int reload_list(IVGraphicals *section){
} }
void update_double_clicks(dictionary *widgetsD){ void update_double_clicks(dictionary *widgetsD){
printf("%s\n","1");
for (dictionary *dict=widgetsD->first;dict!=NULL;dict=dict->next){ for (dictionary *dict=widgetsD->first;dict!=NULL;dict=dict->next){
printf("%s\n","2");
actionWidgets *widgets=(actionWidgets*)dict->data; actionWidgets *widgets=(actionWidgets*)dict->data;
printf("%s\n","3");
for (dictionary *ivdct=widgets->ICSys->first;ivdct!=NULL;ivdct=ivdct->next){ for (dictionary *ivdct=widgets->ICSys->first;ivdct!=NULL;ivdct=ivdct->next){
printf("%s\n","4");
IVGraphicals *IV=(IVGraphicals*)ivdct->data; IVGraphicals *IV=(IVGraphicals*)ivdct->data;
if (strcmp(dict->key,"Gnome")==0) printf("%s\n","5");
if (strcmp(dict->key,"Gnome")==0){
printf("%s\n","6");
gtk_icon_view_set_activate_on_single_click(GTK_ICON_VIEW(IV->IV),!main_config.GnomeDoubleClick); gtk_icon_view_set_activate_on_single_click(GTK_ICON_VIEW(IV->IV),!main_config.GnomeDoubleClick);
else printf("%s\n","7");
} else{
gtk_icon_view_set_activate_on_single_click(GTK_ICON_VIEW(IV->IV),!main_config.MainDoubleClick); gtk_icon_view_set_activate_on_single_click(GTK_ICON_VIEW(IV->IV),!main_config.MainDoubleClick);
printf("%s\n","8");
}
} }
} }
} }
@ -988,13 +976,15 @@ void save_config(actionWidgets *widgets){
int sz=1,szm=1; int sz=1,szm=1;
if (main_config.Gnomeiconsize==64) sz=4; if (main_config.Gnomeiconsize==64) sz=4;
if (main_config.Gnomeiconsize==48) sz=3; else if (main_config.Gnomeiconsize==48) sz=3;
if (main_config.Gnomeiconsize==32) sz=2; else if (main_config.Gnomeiconsize==32) sz=2;
if (main_config.Gnomeiconsize==24) sz=1; else if (main_config.Gnomeiconsize==24) sz=1;
else sz=3;
if (main_config.Mainiconsize==64) szm=4; if (main_config.Mainiconsize==64) szm=4;
if (main_config.Mainiconsize==48) szm=3; else if (main_config.Mainiconsize==48) szm=3;
if (main_config.Mainiconsize==32) szm=2; else if (main_config.Mainiconsize==32) szm=2;
if (main_config.Mainiconsize==24) szm=1; else if (main_config.Mainiconsize==24) szm=1;
else szm=3;
char *fromint=malloc(5); char *fromint=malloc(5);
memset(fromint,0,5); memset(fromint,0,5);
GError *err=NULL; GError *err=NULL;
@ -1077,11 +1067,8 @@ char *yon_char_divide_search(char *source, char* dividepos, int delete_divider){
void yon_set_default_sections(dictionary *section){ void yon_set_default_sections(dictionary *section){
yon_section_new(section,"Personal","X-UBL-SettingsManager;X-UBL-PersonalSettings;"); yon_section_new(section,"Personal","X-UBL-SettingsManager;X-UBL-PersonalSettings;");
section=yon_dictionary_create_conneced(section);
yon_section_new(section,"Hardware","X-UBL-SettingsManager;X-UBL-HardwareSettings;"); yon_section_new(section,"Hardware","X-UBL-SettingsManager;X-UBL-HardwareSettings;");
section=yon_dictionary_create_conneced(section);
yon_section_new(section,"System","X-UBL-SettingsManager;X-UBL-SystemSettings;"); yon_section_new(section,"System","X-UBL-SettingsManager;X-UBL-SystemSettings;");
section=yon_dictionary_create_conneced(section);
yon_section_new(section,"Misc","X-UBL-SettingsManager;X-UBL-MiscSettings;"); yon_section_new(section,"Misc","X-UBL-SettingsManager;X-UBL-MiscSettings;");
} }
@ -1175,21 +1162,18 @@ void yon_check_path(char *path){
} }
dictionary *yon_section_new(dictionary *section, char *section_name, char *categories){ dictionary *yon_section_new(dictionary *section, char *section_name, char *categories){
section->next=NULL;
IconSection *sct=malloc(sizeof(IconSection)); IconSection *sct=malloc(sizeof(IconSection));
dictionary *dict=yon_dictionary_create_empty();//malloc(sizeof(dictionary)); sct->section=section_name;
sct->section=section_name; sct->categories=categories;
sct->categories=categories; if (!section->data&&!section->prev){
dict->data=sct; section->data=sct;
if (!section->data){
section->data=dict->data;
section->first=section; section->first=section;
section->key=section_name; section->key=section_name;
} else { } else {
dict->first=section->first; section=yon_dictionary_get_last(section);
section->next=dict; section->next=yon_dictionary_create_conneced(section);
dict->prev=section; section->next->data=sct;
dict->key=section_name; section->next->key=section_name;
section=section->next; section=section->next;
} }
@ -1272,6 +1256,14 @@ dictionary *yon_dictionary_rip(dictionary *dict){
} }
} }
dictionary *yon_dictionary_connect(dictionary *old, dictionary *toconnect){
dictionary *dict=yon_dictionary_get_last(old);
dict->next=toconnect;
toconnect->prev=dict;
toconnect->first=dict->first;
return toconnect;
}
void yon_switch_theme(dictionary **dict, dictionary *newone){ void yon_switch_theme(dictionary **dict, dictionary *newone){
dictionary *dct=*dict; dictionary *dct=*dict;
actionWidgets *widgets=(actionWidgets*)dct->data; actionWidgets *widgets=(actionWidgets*)dct->data;
@ -1598,8 +1590,9 @@ dictionary *yon_dictionary_switch_places(dictionary *dict,int aim){
} }
dictionary *yon_dictionary_get_last(dictionary *dict){ dictionary *yon_dictionary_get_last(dictionary *dict){
for (dictionary *dct=dict;dct!=NULL;dct=dct->next){} dictionary *dct=NULL;
return dict; for (dct=dict->first;dct->next!=NULL;dct=dct->next){}
return dct;
} }
void yon_main_quit(actionWidgets *widgets){ void yon_main_quit(actionWidgets *widgets){

@ -11,7 +11,7 @@
#define CssPath "/usr/share/ubl-settings-manager/css/ubl-settings-manager.css" #define CssPath "/usr/share/ubl-settings-manager/css/ubl-settings-manager.css"
#define GlobalConfigPath "/etc/xdg/ubl-settings-manager/ubl-settings-manager.conf" #define GlobalConfigPath "/etc/xdg/ubl-settings-manager/ubl-settings-manager.conf"
#define UserConfigPath "/.config/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 AppIconPath "com.ublinux.ubl-settings-manager"
#define AppBannerPath "/usr/share/ubl-settings-manager/images/ubl-settings-manager-banner.png" #define AppBannerPath "/usr/share/ubl-settings-manager/images/ubl-settings-manager-banner.png"
#define DesktopPath "/usr/share/applications/" #define DesktopPath "/usr/share/applications/"
#define IconPicturesPath "/usr/share/icons/hicolor/scalable/apps/" #define IconPicturesPath "/usr/share/icons/hicolor/scalable/apps/"
@ -229,6 +229,7 @@ dictionary *yon_dictionary_get_last(dictionary *dict);
dictionary *yon_dictionary_switch_places(dictionary *dict,int aim); 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(char *key, void *data);
dictionary *yon_dictionary_create_with_data_connected(dictionary *dict, char *key, void *data); dictionary *yon_dictionary_create_with_data_connected(dictionary *dict, char *key, void *data);
dictionary *yon_dictionary_connect(dictionary *old, dictionary *toconnect);
SectionSettingSegment *yon_create_section_setting(char *name, char *categories); SectionSettingSegment *yon_create_section_setting(char *name, char *categories);
void yon_segments_show(actionWidgets *widgets); void yon_segments_show(actionWidgets *widgets);
void yon_segments_hide(actionWidgets *widgets); void yon_segments_hide(actionWidgets *widgets);

@ -11,6 +11,9 @@ MainLabelSize=12
GnomeLabelSize=12 GnomeLabelSize=12
LabelDensity=0 LabelDensity=0
User= User=
GnomeDoubleClick=false
MainDoubleClick=true
BannerHidden=false
[sections] [sections]
Personal=X-UBL-SettingsManager;X-UBL-PersonalSettings; Personal=X-UBL-SettingsManager;X-UBL-PersonalSettings;

@ -5,6 +5,10 @@
<!-- interface-css-provider-path ubl-settings-manager.css --> <!-- interface-css-provider-path ubl-settings-manager.css -->
<object class="GtkWindow" id="CautionWindow"> <object class="GtkWindow" id="CautionWindow">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="valign">start</property>
<property name="resizable">False</property>
<property name="icon-name">dialog-information-symbolic</property>
<property name="deletable">False</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
@ -24,7 +28,7 @@
<property name="margin-end">20</property> <property name="margin-end">20</property>
<property name="margin-top">20</property> <property name="margin-top">20</property>
<property name="margin-bottom">20</property> <property name="margin-bottom">20</property>
<property name="icon-name">dialog-question-symbolic</property> <property name="icon-name">dialog-information-symbolic</property>
<property name="icon_size">6</property> <property name="icon_size">6</property>
</object> </object>
<packing> <packing>
@ -89,7 +93,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="pixel-size">32</property> <property name="pixel-size">32</property>
<property name="icon-name">dialog-question-symbolic</property> <property name="icon-name">dialog-information-symbolic</property>
<property name="icon_size">5</property> <property name="icon_size">5</property>
</object> </object>
</child> </child>
@ -126,9 +130,12 @@
</object> </object>
<object class="GtkApplicationWindow" id="HelpSureWindow"> <object class="GtkApplicationWindow" id="HelpSureWindow">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="halign">start</property>
<property name="valign">start</property>
<property name="resizable">False</property>
<property name="default-width">450</property> <property name="default-width">450</property>
<property name="default-height">250</property> <property name="default-height">250</property>
<property name="icon-name">dialog-question</property> <property name="icon-name">dialog-question-symbolic</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
@ -167,6 +174,7 @@
<property name="margin-top">10</property> <property name="margin-top">10</property>
<property name="margin-bottom">5</property> <property name="margin-bottom">5</property>
<property name="label" context="Would you like to read documentation in the Net?" comments="Would you like to read documentation in the Net?">Would you like to read documentation in the Web?</property> <property name="label" context="Would you like to read documentation in the Net?" comments="Would you like to read documentation in the Net?">Would you like to read documentation in the Web?</property>
<property name="wrap">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<attributes> <attributes>
<attribute name="weight" value="bold"/> <attribute name="weight" value="bold"/>
@ -364,10 +372,6 @@
</object> </object>
</child> </child>
</object> </object>
<object class="GtkSwitch">
<property name="visible">True</property>
<property name="can-focus">True</property>
</object>
<object class="GtkAction" id="action1"/> <object class="GtkAction" id="action1"/>
<object class="GtkAdjustment" id="adjustment1"> <object class="GtkAdjustment" id="adjustment1">
<property name="lower">1</property> <property name="lower">1</property>
@ -457,7 +461,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="pixel-size">32</property> <property name="pixel-size">32</property>
<property name="icon-name">ru.ublinux.ubl-settings-manager</property> <property name="icon-name">com.ublinux.ubl-settings-manager</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -683,7 +687,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="pixel-size">32</property> <property name="pixel-size">32</property>
<property name="icon-name">ru.ublinux.ubl-settings-manager</property> <property name="icon-name">com.ublinux.ubl-settings-manager</property>
<property name="icon_size">5</property> <property name="icon_size">5</property>
</object> </object>
</child> </child>
@ -759,7 +763,7 @@
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="focus-on-click">False</property> <property name="focus-on-click">False</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="direction">left</property> <property name="direction">right</property>
<child> <child>
<placeholder/> <placeholder/>
</child> </child>
@ -901,7 +905,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="pixel-size">32</property> <property name="pixel-size">32</property>
<property name="icon-name">ru.ublinux.ubl-settings-manager</property> <property name="icon-name">com.ublinux.ubl-settings-manager</property>
<property name="icon_size">5</property> <property name="icon_size">5</property>
</object> </object>
</child> </child>
@ -1253,8 +1257,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkButton" id="SectionSettingsCloseButton"> <object class="GtkButton" id="SectionSettingsSaveButton">
<property name="label" translatable="yes">Close</property> <property name="label" translatable="yes">Save and apply</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
@ -1269,12 +1273,12 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkButton" id="SectionSettingsSaveButton"> <object class="GtkButton" id="SectionSettingsCloseButton">
<property name="label" translatable="yes">Save and apply</property> <property name="label" translatable="yes">Close</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="margin-end">17</property> <property name="margin-end">15</property>
<property name="margin-bottom">5</property> <property name="margin-bottom">5</property>
</object> </object>
<packing> <packing>
@ -1303,7 +1307,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="pixel-size">32</property> <property name="pixel-size">32</property>
<property name="icon-name">ru.ublinux.ubl-settings-manager</property> <property name="icon-name">com.ublinux.ubl-settings-manager</property>
<property name="icon_size">5</property> <property name="icon_size">5</property>
</object> </object>
</child> </child>
@ -1372,7 +1376,7 @@
<property name="focus-on-click">False</property> <property name="focus-on-click">False</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="use-underline">True</property> <property name="use-underline">True</property>
<property name="direction">left</property> <property name="direction">right</property>
<child> <child>
<placeholder/> <placeholder/>
</child> </child>
@ -1577,7 +1581,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="pixel-size">32</property> <property name="pixel-size">32</property>
<property name="icon-name">ru.ublinux.ubl-settings-manager</property> <property name="icon-name">com.ublinux.ubl-settings-manager</property>
<property name="icon_size">5</property> <property name="icon_size">5</property>
</object> </object>
</child> </child>
@ -2005,7 +2009,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="pixel-size">32</property> <property name="pixel-size">32</property>
<property name="icon-name">ru.ublinux.ubl-settings-manager</property> <property name="icon-name">com.ublinux.ubl-settings-manager</property>
<property name="icon_size">5</property> <property name="icon_size">5</property>
</object> </object>
</child> </child>
@ -2080,7 +2084,7 @@
<property name="resizable">False</property> <property name="resizable">False</property>
<property name="modal">True</property> <property name="modal">True</property>
<property name="window-position">center</property> <property name="window-position">center</property>
<property name="icon-name">ubl-settings-manager</property> <property name="icon-name">com.ublinux.ubl-settings-manager</property>
<property name="type-hint">dialog</property> <property name="type-hint">dialog</property>
<property name="urgency-hint">True</property> <property name="urgency-hint">True</property>
<property name="program-name">UBLinux Settings Manager</property> <property name="program-name">UBLinux Settings Manager</property>

@ -1,70 +1,70 @@
# SOME DESCRIPTIVE TITLE. # Language translations for ubl-settings-manager package.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) 2022, UBTech LLC
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the ubl-settings-manager package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # UBLinux Team <info@ublinux.com>, 2022
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: ubl-settings-manager 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: info@ublinux.com\n"
"POT-Creation-Date: 2023-03-22 11:23+0600\n" "POT-Creation-Date: 2023-01-01 00:00+0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2023-01-01 00:00+0600\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: UBLinux Team <info@ublinux.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: UBLinux Team <info@ublinux.com>\n"
"Language: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: source/ubl-settings-manager.c:667 #: source/ubl-settings-manager.c:632
msgid "Settings manager for UBLinux" msgid "Settings manager for UBLinux"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:668 source/ubl-settings-manager.c:1655 #: source/ubl-settings-manager.c:633 source/ubl-settings-manager.c:1601
#: source/ubl-settings-manager.c:1669 source/ubl-settings-manager.c:1733 #: source/ubl-settings-manager.c:1615 source/ubl-settings-manager.c:1674
msgid "UBLinux Settings Manager" msgid "UBLinux Settings Manager"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:671 #: source/ubl-settings-manager.c:636
msgid "Project Home Page" msgid "Project Home Page"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1654 #: source/ubl-settings-manager.c:1600
msgid "Back to all settings" msgid "Back to all settings"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1734 #: source/ubl-settings-manager.c:1675
msgid "Icon size" msgid "Icon size"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1735 #: source/ubl-settings-manager.c:1676
msgid "Window theme" msgid "Window theme"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1736 #: source/ubl-settings-manager.c:1677
msgid "Would you like to read documentation in the Web?" msgid "Would you like to read documentation in the Web?"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1737 #: source/ubl-settings-manager.c:1678
msgid "" msgid ""
"You will be redirected to documentation site, where user help pages are " "You will be redirected to documentation site, where user help pages are "
"translated and supported by community." "translated and supported by community."
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1738 #: source/ubl-settings-manager.c:1679
msgid "Read online" msgid "Read online"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1739 #: source/ubl-settings-manager.c:1680
msgid "Cancel" msgid "Cancel"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1740 #: source/ubl-settings-manager.c:1681
msgid "Close" msgid "Close"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1741 #: source/ubl-settings-manager.c:1682
msgid "Save and apply" msgid "Save and apply"
msgstr "" msgstr ""
@ -72,23 +72,23 @@ msgstr ""
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1743 #: source/ubl-settings-manager.c:1683
msgid "Always redirect" msgid "Always redirect"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1744 #: source/ubl-settings-manager.c:1684
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1745 #: source/ubl-settings-manager.c:1685
msgid "About..." msgid "About..."
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1746 #: source/ubl-settings-manager.c:1686
msgid "Understood" msgid "Understood"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1747 #: source/ubl-settings-manager.c:1687
msgid "Sections management" msgid "Sections management"
msgstr "" msgstr ""
@ -96,11 +96,11 @@ msgstr ""
msgid "Double click selection" msgid "Double click selection"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1853 #: source/ubl-settings-manager.c:1792
msgid "Standard theme" msgid "Standard theme"
msgstr "" msgstr ""
#: source/ubl-settings-manager.c:1854 #: source/ubl-settings-manager.c:1793
msgid "GNOME theme" msgid "GNOME theme"
msgstr "" msgstr ""
@ -122,3 +122,16 @@ msgid ""
" -V, --version\t \t Show package version\n" " -V, --version\t \t Show package version\n"
" --lock-settings Lock menu settings\n" " --lock-settings Lock menu settings\n"
msgstr "" msgstr ""
msgid "Personal"
msgstr ""
msgid "Hardware"
msgstr ""
msgid "System"
msgstr ""
msgid "Misc"
msgstr ""

@ -1,18 +1,18 @@
# SOME DESCRIPTIVE TITLE. # Russian translations for ubl-settings-manager package.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) 2022, UBTech LLC
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the ubl-settings-manager package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # UBLinux Team <info@ublinux.com>, 2022
# #
#, fuzzy #, fuzzy
msgid "translation_info\n" msgid "translation_info\n"
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: ubl-settings-manager 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: info@ublinux.com\n"
"POT-Creation-Date: 2023-03-22 11:23+0600\n" "POT-Creation-Date: 2023-01-01 00:00+0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2023-01-01 00:00+0600\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: UBLinux Team <info@ublinux.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: Russian - UBLinux Team <info@ublinux.com>\n"
"Language: \n" "Language: Russian\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -50,8 +50,7 @@ msgstr "Вы хотите прочитать справку в Сети?"
msgid "" msgid ""
"You will be redirected to documentation site, where user help pages are " "You will be redirected to documentation site, where user help pages are "
"translated and supported by community." "translated and supported by community."
msgstr "Вы будете перенаправлены на сайт с документацией, где страницы помощи" msgstr "Вы будете перенаправлены на сайт с документацией где страницы помощи переводятся и поддерживаются сообществом."
"переводятся и поддерживаются сообществом."
#: source/ubl-settings-manager.c:1738 #: source/ubl-settings-manager.c:1738
msgid "Read online" msgid "Read online"
@ -124,9 +123,22 @@ msgid ""
" --lock-settings Lock menu settings\n" " --lock-settings Lock menu settings\n"
msgstr "" msgstr ""
"\n" "\n"
"GTK менеджер настроек для UBLinux\n" "GTK Менеджер настроек для UBLinux\n"
"Использование: ubl-settings-manager [АРГУМЕНТЫ...]" "Использование: ubl-settings-manager [АРГУМЕНТЫ...]\n"
"Аргументы:\n" "Аргументы:\n"
" -h, --help\t\t Показать помощь\n" " -h, --help\t\t Показать помощь\n"
" -V, --version\t \t Показать версию пакета\n" " -V, --version\t \t Показать версию пакета\n"
" --lock-settings Заблокировать окно настроек\n" " --lock-settings \t Заблокировать окно настроек\n"
msgid "Personal"
msgstr "Личные"
msgid "Hardware"
msgstr "Оборудование"
msgid "System"
msgstr "Система"
msgid "Misc"
msgstr "Прочее"

Loading…
Cancel
Save