@ -2,24 +2,24 @@
# define UBL_SETTINGS_MANAGER
# define UBL_SETTINGS_MANAGER
# include <gtk/gtk.h>
# include <gtk/gtk.h>
# include <time.h>
# define GladePath " / usr / share / ubl-settings-manager / ui / ubl-settings-manager.glade"
# 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 CssPath " / usr / share / ubl-settings-manager / css / ubl-settings-manager.css"
# define GlobalConfigPath " / etc / ubconfig-main .conf"
# define GlobalConfigPath " / etc / xdg/ ubl-settings-manager / ubl-settings-manager .conf"
# define UserConfigPath " / .config / ubl-settings-manager / ub config-main .conf"
# define UserConfigPath " / .config / ubl-settings-manager / ub l-settings-manager .conf"
# define AppIconPath " / usr / share / icons / hicolor / 32x32 / apps / ublinux-ubconfig.svg "
# define AppIconPath " ru.ublinux.ubl-settings-manager "
# define AppBannerPath " / usr / share / icons/ hicolor / scalable / apps / ubl-settings-manag er.png"
# define AppBannerPath " / usr / share / ubl-settings-manager/ ui / ubl-settings-manager-bann er.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 / "
# define ErrIconPicturePath " / usr / share / icons / Faenza / emblems / 32 / emblem-important.png"
# define ublinux_logo " / usr / share / ubl-settings-manager / ui / ublinux-logo.svg"
# define PictureFormatMain ".svg"
# define PictureFormatExtra ".png"
# define LocalePath " / usr / share / locale"
# define LocalePath " / usr / share / locale"
# define LocaleName "ubl-settings-manager"
# define LocaleName "ubl-settings-manager"
# define LogoPath " / usr / share / icons / hicolor / scalable / apps / ubl-settings-manager.svg"
# define ubl_settings_infoPath "ubl-settings-info"
# define ubl_settings_infoPath "ubl-settings-info"
# define ubl_settings_infoPathLaunch "ubl-settings-info --socket-id="
# define ubl_settings_infoPathLaunch "ubl-settings-info --socket-id="
typedef char * string ;
string version_application = ;
typedef struct apps {
typedef struct apps {
char * Name ;
char * Name ;
@ -31,6 +31,11 @@ typedef struct apps{
int DualPluggable ;
int DualPluggable ;
} apps ;
} apps ;
typedef struct {
char * command ;
int * exitcode ;
} thread_output ;
typedef struct dictionary {
typedef struct dictionary {
char * key ;
char * key ;
void * data ;
void * data ;
@ -47,6 +52,7 @@ typedef struct IVGrapgicals{
GtkWidget * IV ;
GtkWidget * IV ;
GtkWidget * label ;
GtkWidget * label ;
GtkWidget * sep ;
GtkWidget * sep ;
GtkCellRendererPixbuf * iconRender ;
} IVGraphicals ;
} IVGraphicals ;
typedef struct IconSection {
typedef struct IconSection {
@ -61,12 +67,18 @@ typedef struct {
int windowPosY ;
int windowPosY ;
int WindowTheme ;
int WindowTheme ;
char * curThemeName ;
char * curThemeName ;
int iconsize ;
int Mainiconsize ;
int Gnomeiconsize ;
int iconSegmentSize ;
int iconSegmentSize ;
dictionary * sections ;
dictionary * sections ;
int labelSize ;
int MainlabelSize ;
int GnomelabelSize ;
int * currentThemeLabelSize ;
int * currentThemeIconSize ;
int labelDensity ;
int labelDensity ;
char * lastUser ;
char * lastUser ;
int changed ;
int fullscreen ;
} config ;
} config ;
typedef struct {
typedef struct {
@ -145,7 +157,9 @@ typedef struct {
int appssize ;
int appssize ;
apps * applist ;
apps * applist ;
GtkWidget * icvpack ;
GtkWidget * icvpack ;
GtkWidget * infoWarningWindow ;
GtkWidget * infoWarningButton ;
GtkWidget * infoWarningLabel ;
} actionWidgets ;
} actionWidgets ;
@ -166,9 +180,9 @@ void on_ButtonOpenHelp_activated(GtkWidget *button, GtkBuilder *builder);
void on_backToSettingsButton_clicked ( GtkWidget * button , actionWidgets * sctb ) ;
void on_backToSettingsButton_clicked ( GtkWidget * button , actionWidgets * sctb ) ;
void on_CancelHelpButton_activated ( GtkWidget * button , GtkBuilder * builder ) ;
void on_CancelHelpButton_activated ( GtkWidget * button , GtkBuilder * builder ) ;
void on_ReadHelpButton_activated ( GtkWidget * button , GtkBuilder * builder ) ;
void on_ReadHelpButton_activated ( GtkWidget * button , GtkBuilder * builder ) ;
void launch_app_with_arguments ( char * name , char * args ) ;
int launch_app_with_arguments ( char * name , char * args ) ;
void launch_app ( char * name ) ;
int launch_app ( char * name ) ;
void py_launch_app ( char * name , char * args ) ;
int py_launch_app ( char * name , char * args ) ;
int on_settings_accept ( GtkWidget * button , dictionary * * widgetsDs ) ;
int on_settings_accept ( GtkWidget * button , dictionary * * widgetsDs ) ;
void on_paned_move ( GtkPaned * self , GtkScrollType * scroll_type , actionWidgets * widgets ) ;
void on_paned_move ( GtkPaned * self , GtkScrollType * scroll_type , actionWidgets * widgets ) ;
int on_settingsOpen ( GtkWidget * button , actionWidgets * widgets ) ;
int on_settingsOpen ( GtkWidget * button , actionWidgets * widgets ) ;
@ -188,7 +202,7 @@ dictionary *yon_theme_new(dictionary **widgetss, GtkBuilder *builder, char *them
char * yon_char_get_augumented ( char * source , char * append ) ;
char * yon_char_get_augumented ( char * source , char * append ) ;
char * yon_cut ( char * source , int size , int startpos ) ;
char * yon_cut ( char * source , int size , int startpos ) ;
int yon_set_sections ( IconSection * section ) ;
int yon_set_sections ( IconSection * section ) ;
void yon_set_default_sections ( dictionary * * section ) ;
void yon_set_default_sections ( dictionary * section ) ;
char * yon_char_divide_search ( char * source , char * dividepos , int delete_divider ) ;
char * yon_char_divide_search ( char * source , char * dividepos , int delete_divider ) ;
char * yon_char_divide ( char * source , int dividepos ) ;
char * yon_char_divide ( char * source , int dividepos ) ;
dictionary * yon_section_new ( dictionary * section , char * section_name , char * categories ) ;
dictionary * yon_section_new ( dictionary * section , char * section_name , char * categories ) ;
@ -203,7 +217,12 @@ void yon_dictionary_make_first(dictionary *dict);
dictionary * yon_create_icon_section_list ( dictionary * sections ) ;
dictionary * yon_create_icon_section_list ( dictionary * sections ) ;
int yon_show_icon_views ( dictionary * IVS , actionWidgets * widgets ) ;
int yon_show_icon_views ( dictionary * IVS , actionWidgets * widgets ) ;
void yon_icon_size_convert ( int mode ) ;
void yon_icon_size_convert ( int mode ) ;
void on_about_system ( GtkWidget * button , actionWidgets * widgets ) ;
char * yon_char_new ( char * chr ) ;
char * yon_char_new ( char * chr ) ;
void launch ( char * command ) ;
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
# endif
Это дубликат предыдущей строки