Executor: tint2conf support

This commit is contained in:
o9000
2015-12-23 23:17:39 +01:00
parent 8c3017634f
commit 6a285a628d
3 changed files with 367 additions and 178 deletions

View File

@@ -115,12 +115,20 @@ extern GtkWidget *clock_format_tooltip, *clock_tmz_tooltip;
extern GtkWidget *tooltip_background;
// Executor
extern GtkWidget *execp_command, *execp_interval, *execp_has_icon, *execp_cache_icon, *execp_show_tooltip;
extern GtkWidget *execp_continuous, *execp_markup, *execp_tooltip;
extern GtkWidget *execp_left_command, *execp_right_command;
extern GtkWidget *execp_mclick_command, *execp_rclick_command, *execp_uwheel_command, *execp_dwheel_command;
extern GtkWidget *execp_font, *execp_font_color, *execp_padding_x, *execp_padding_y, *execp_centered, *execp_background;
extern GtkWidget *execp_icon_w, *execp_icon_h;
typedef struct Executor {
char name[256];
GtkWidget *container;
GtkWidget *page_execp;
GtkWidget *page_label;
GtkWidget *execp_command, *execp_interval, *execp_has_icon, *execp_cache_icon, *execp_show_tooltip;
GtkWidget *execp_continuous, *execp_markup, *execp_tooltip;
GtkWidget *execp_left_command, *execp_right_command;
GtkWidget *execp_mclick_command, *execp_rclick_command, *execp_uwheel_command, *execp_dwheel_command;
GtkWidget *execp_font, *execp_font_color, *execp_padding_x, *execp_padding_y, *execp_centered, *execp_background;
GtkWidget *execp_icon_w, *execp_icon_h;
} Executor;
extern GArray *executors;
// launcher
@@ -187,4 +195,9 @@ int background_index_safe(int index);
GtkWidget *create_properties();
void execp_create_new();
Executor *execp_get_last();
void execp_remove(int i);
void execp_update_indices();
#endif