Merge pull request 'master' (#74) from YanTheKaller/libublsettingsui-gtk3:master into master

Reviewed-on: #74
pull/76/head^2^2 v1.67
Dmitry Razumov 3 months ago
commit d37bf5cf55

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
<!-- Generated with glade 3.40.0 -->
<interface domain="libublsettingsui-gtk3">
<requires lib="gtk+" version="3.24"/>
<!-- interface-css-provider-path libublsettingsui-gtk3.css -->
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can-focus">False</property>

@ -319,7 +319,7 @@ msgstr "Выбор приложений"
#: source/libublsettingsui-gtk3.h:687
msgid "Choose directory instead of file"
msgstr "Выбрать папку вместо вайла"
msgstr "Выбрать папку вместо файла"
#: source/libublsettingsui-gtk3.h:689
msgid "Enabled"

@ -95,6 +95,7 @@ void yon_file_chooser_remove_root(filechooser_window *window){
}
filechooser_window *yon_file_chooser_window_new(GtkFileChooserAction action){
textdomain(template_ui_LocaleName);
if (!__yon_filechooser_window){
filechooser_window *window = malloc(sizeof(filechooser_window));
__yon_filechooser_window = window;
@ -140,8 +141,10 @@ filechooser_window *yon_file_chooser_window_new(GtkFileChooserAction action){
}
g_signal_connect(G_OBJECT(window->CancelButton),"clicked",G_CALLBACK(on_subwindow_close),NULL);
textdomain(template_app_information.app_locale);
return window;
} else {
textdomain(template_app_information.app_locale);
return __yon_filechooser_window;
}
}

@ -82,11 +82,15 @@ void on_open_documentation_confirmation(GtkWidget *self, char *link){
gtk_window_set_icon_name(GTK_WINDOW(window->Window),yon_char_append("com.ublinux.",template_app_information.app_tech_name));
gtk_widget_show_all(window->Window);
g_signal_connect(G_OBJECT(window->CloseButton),"clicked",G_CALLBACK(on_subwindow_close),NULL);
textdomain(template_app_information.app_locale);
g_signal_connect(G_OBJECT(window->AcceptButton),"clicked",G_CALLBACK(yon_open_browser),yon_char_new(_(link)));
textdomain(template_ui_LocaleName);
g_signal_connect(G_OBJECT(window->AcceptButton),"clicked",G_CALLBACK(on_subwindow_close),NULL);
} else {
textdomain(template_app_information.app_locale);
yon_open_browser(self,_(link));
textdomain(template_ui_LocaleName);
}
textdomain(template_app_information.app_locale);
}

Loading…
Cancel
Save