Changed indentation everywhere
This commit is contained in:
@@ -8,22 +8,20 @@
|
||||
|
||||
#include "../launcher/icon-theme-common.h"
|
||||
|
||||
|
||||
// panel
|
||||
extern GtkWidget *panel_width, *panel_height, *panel_margin_x, *panel_margin_y, *panel_padding_x, *panel_padding_y, *panel_spacing;
|
||||
extern GtkWidget *panel_wm_menu, *panel_dock, *panel_autohide, *panel_autohide_show_time, *panel_autohide_hide_time, *panel_autohide_size;
|
||||
extern GtkWidget *panel_combo_strut_policy, *panel_combo_layer, *panel_combo_width_type, *panel_combo_height_type, *panel_combo_monitor;
|
||||
extern GtkWidget *panel_width, *panel_height, *panel_margin_x, *panel_margin_y, *panel_padding_x, *panel_padding_y,
|
||||
*panel_spacing;
|
||||
extern GtkWidget *panel_wm_menu, *panel_dock, *panel_autohide, *panel_autohide_show_time, *panel_autohide_hide_time,
|
||||
*panel_autohide_size;
|
||||
extern GtkWidget *panel_combo_strut_policy, *panel_combo_layer, *panel_combo_width_type, *panel_combo_height_type,
|
||||
*panel_combo_monitor;
|
||||
extern GtkWidget *panel_window_name, *disable_transparency;
|
||||
extern GtkWidget *panel_mouse_effects;
|
||||
extern GtkWidget *mouse_hover_icon_opacity, *mouse_hover_icon_saturation, *mouse_hover_icon_brightness;
|
||||
extern GtkWidget *mouse_pressed_icon_opacity, *mouse_pressed_icon_saturation, *mouse_pressed_icon_brightness;
|
||||
extern GtkWidget *panel_primary_monitor_first, *panel_shrink;
|
||||
|
||||
enum {
|
||||
itemsColName = 0,
|
||||
itemsColValue,
|
||||
itemsNumCols
|
||||
};
|
||||
enum { itemsColName = 0, itemsColValue, itemsNumCols };
|
||||
extern GtkListStore *panel_items, *all_items;
|
||||
extern GtkWidget *panel_items_view, *all_items_view;
|
||||
char *get_panel_items();
|
||||
@@ -52,44 +50,34 @@ extern GtkWidget *panel_background;
|
||||
// taskbar
|
||||
extern GtkWidget *taskbar_show_desktop, *taskbar_show_name, *taskbar_padding_x, *taskbar_padding_y, *taskbar_spacing;
|
||||
extern GtkWidget *taskbar_hide_inactive_tasks, *taskbar_hide_diff_monitor;
|
||||
extern GtkWidget *taskbar_name_padding_x, *taskbar_name_padding_y, *taskbar_name_inactive_color, *taskbar_name_active_color;
|
||||
extern GtkWidget *taskbar_name_padding_x, *taskbar_name_padding_y, *taskbar_name_inactive_color,
|
||||
*taskbar_name_active_color;
|
||||
extern GtkWidget *taskbar_name_font, *taskbar_name_font_set;
|
||||
extern GtkWidget *taskbar_active_background, *taskbar_inactive_background;
|
||||
extern GtkWidget *taskbar_name_active_background, *taskbar_name_inactive_background;
|
||||
extern GtkWidget *taskbar_distribute_size, *taskbar_sort_order, *taskbar_alignment, *taskbar_always_show_all_desktop_tasks;
|
||||
extern GtkWidget *taskbar_distribute_size, *taskbar_sort_order, *taskbar_alignment,
|
||||
*taskbar_always_show_all_desktop_tasks;
|
||||
extern GtkWidget *taskbar_hide_empty;
|
||||
|
||||
// task
|
||||
extern GtkWidget *task_mouse_left, *task_mouse_middle, *task_mouse_right, *task_mouse_scroll_up, *task_mouse_scroll_down;
|
||||
extern GtkWidget *task_mouse_left, *task_mouse_middle, *task_mouse_right, *task_mouse_scroll_up,
|
||||
*task_mouse_scroll_down;
|
||||
extern GtkWidget *task_show_icon, *task_show_text, *task_align_center, *font_shadow;
|
||||
extern GtkWidget *task_maximum_width, *task_maximum_height, *task_padding_x, *task_padding_y, *task_spacing;
|
||||
extern GtkWidget *task_font, *task_font_set;
|
||||
extern GtkWidget *task_default_color, *task_default_color_set,
|
||||
*task_default_icon_opacity, *task_default_icon_osb_set,
|
||||
*task_default_icon_saturation,
|
||||
*task_default_icon_brightness,
|
||||
*task_default_background, *task_default_background_set;
|
||||
extern GtkWidget *task_normal_color, *task_normal_color_set,
|
||||
*task_normal_icon_opacity, *task_normal_icon_osb_set,
|
||||
*task_normal_icon_saturation,
|
||||
*task_normal_icon_brightness,
|
||||
*task_normal_background, *task_normal_background_set;
|
||||
extern GtkWidget *task_active_color, *task_active_color_set,
|
||||
*task_active_icon_opacity, *task_active_icon_osb_set,
|
||||
*task_active_icon_saturation,
|
||||
*task_active_icon_brightness,
|
||||
*task_active_background, *task_active_background_set;
|
||||
extern GtkWidget *task_urgent_color, *task_urgent_color_set,
|
||||
*task_urgent_icon_opacity, *task_urgent_icon_osb_set,
|
||||
*task_urgent_icon_saturation,
|
||||
*task_urgent_icon_brightness,
|
||||
*task_urgent_background, *task_urgent_background_set;
|
||||
extern GtkWidget *task_default_color, *task_default_color_set, *task_default_icon_opacity, *task_default_icon_osb_set,
|
||||
*task_default_icon_saturation, *task_default_icon_brightness, *task_default_background,
|
||||
*task_default_background_set;
|
||||
extern GtkWidget *task_normal_color, *task_normal_color_set, *task_normal_icon_opacity, *task_normal_icon_osb_set,
|
||||
*task_normal_icon_saturation, *task_normal_icon_brightness, *task_normal_background, *task_normal_background_set;
|
||||
extern GtkWidget *task_active_color, *task_active_color_set, *task_active_icon_opacity, *task_active_icon_osb_set,
|
||||
*task_active_icon_saturation, *task_active_icon_brightness, *task_active_background, *task_active_background_set;
|
||||
extern GtkWidget *task_urgent_color, *task_urgent_color_set, *task_urgent_icon_opacity, *task_urgent_icon_osb_set,
|
||||
*task_urgent_icon_saturation, *task_urgent_icon_brightness, *task_urgent_background, *task_urgent_background_set;
|
||||
extern GtkWidget *task_urgent_blinks;
|
||||
extern GtkWidget *task_iconified_color, *task_iconified_color_set,
|
||||
*task_iconified_icon_opacity, *task_iconified_icon_osb_set,
|
||||
*task_iconified_icon_saturation,
|
||||
*task_iconified_icon_brightness,
|
||||
*task_iconified_background, *task_iconified_background_set;
|
||||
extern GtkWidget *task_iconified_color, *task_iconified_color_set, *task_iconified_icon_opacity,
|
||||
*task_iconified_icon_osb_set, *task_iconified_icon_saturation, *task_iconified_icon_brightness,
|
||||
*task_iconified_background, *task_iconified_background_set;
|
||||
|
||||
// clock
|
||||
extern GtkWidget *clock_format_line1, *clock_format_line2, *clock_tmz_line1, *clock_tmz_line2;
|
||||
@@ -102,10 +90,12 @@ extern GtkWidget *clock_background;
|
||||
// battery
|
||||
extern GtkWidget *battery_hide_if_higher, *battery_alert_if_lower, *battery_alert_cmd;
|
||||
extern GtkWidget *battery_padding_x, *battery_padding_y;
|
||||
extern GtkWidget *battery_font_line1, *battery_font_line1_set, *battery_font_line2, *battery_font_line2_set, *battery_font_color;
|
||||
extern GtkWidget *battery_font_line1, *battery_font_line1_set, *battery_font_line2, *battery_font_line2_set,
|
||||
*battery_font_color;
|
||||
extern GtkWidget *battery_background;
|
||||
extern GtkWidget *battery_tooltip;
|
||||
extern GtkWidget *battery_left_command, *battery_mclick_command, *battery_right_command, *battery_uwheel_command, *battery_dwheel_command;
|
||||
extern GtkWidget *battery_left_command, *battery_mclick_command, *battery_right_command, *battery_uwheel_command,
|
||||
*battery_dwheel_command;
|
||||
extern GtkWidget *ac_connected_cmd, *ac_disconnected_cmd;
|
||||
|
||||
// systray
|
||||
@@ -121,60 +111,55 @@ extern GtkWidget *tooltip_background;
|
||||
|
||||
// Separator
|
||||
typedef struct Separator {
|
||||
char name[256];
|
||||
GtkWidget *container;
|
||||
GtkWidget *page_separator;
|
||||
GtkWidget *page_label;
|
||||
GtkWidget *separator_background;
|
||||
GtkWidget *separator_color;
|
||||
GtkWidget *separator_style;
|
||||
GtkWidget *separator_size;
|
||||
GtkWidget *separator_padding_x;
|
||||
GtkWidget *separator_padding_y;
|
||||
char name[256];
|
||||
GtkWidget *container;
|
||||
GtkWidget *page_separator;
|
||||
GtkWidget *page_label;
|
||||
GtkWidget *separator_background;
|
||||
GtkWidget *separator_color;
|
||||
GtkWidget *separator_style;
|
||||
GtkWidget *separator_size;
|
||||
GtkWidget *separator_padding_x;
|
||||
GtkWidget *separator_padding_y;
|
||||
} Separator;
|
||||
|
||||
extern GArray *separators;
|
||||
|
||||
// Executor
|
||||
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_set, *execp_font_color, *execp_padding_x, *execp_padding_y, *execp_centered;
|
||||
GtkWidget *execp_background, *execp_icon_w, *execp_icon_h;
|
||||
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_set, *execp_font_color, *execp_padding_x, *execp_padding_y, *execp_centered;
|
||||
GtkWidget *execp_background, *execp_icon_w, *execp_icon_h;
|
||||
} Executor;
|
||||
|
||||
extern GArray *executors;
|
||||
|
||||
// Button
|
||||
typedef struct Button {
|
||||
char name[256];
|
||||
GtkWidget *container;
|
||||
GtkWidget *page_button;
|
||||
GtkWidget *page_label;
|
||||
GtkWidget *button_icon, *button_text, *button_tooltip;
|
||||
GtkWidget *button_left_command, *button_right_command;
|
||||
GtkWidget *button_mclick_command, *button_rclick_command, *button_uwheel_command, *button_dwheel_command;
|
||||
GtkWidget *button_font, *button_font_set, *button_font_color, *button_padding_x, *button_padding_y, *button_centered;
|
||||
GtkWidget *button_background, *button_max_icon_size;
|
||||
char name[256];
|
||||
GtkWidget *container;
|
||||
GtkWidget *page_button;
|
||||
GtkWidget *page_label;
|
||||
GtkWidget *button_icon, *button_text, *button_tooltip;
|
||||
GtkWidget *button_left_command, *button_right_command;
|
||||
GtkWidget *button_mclick_command, *button_rclick_command, *button_uwheel_command, *button_dwheel_command;
|
||||
GtkWidget *button_font, *button_font_set, *button_font_color, *button_padding_x, *button_padding_y,
|
||||
*button_centered;
|
||||
GtkWidget *button_background, *button_max_icon_size;
|
||||
} Button;
|
||||
|
||||
extern GArray *buttons;
|
||||
|
||||
// launcher
|
||||
|
||||
enum {
|
||||
appsColIcon = 0,
|
||||
appsColIconName,
|
||||
appsColText,
|
||||
appsColPath,
|
||||
appsNumCols
|
||||
};
|
||||
enum { appsColIcon = 0, appsColIconName, appsColText, appsColPath, appsNumCols };
|
||||
|
||||
extern GtkListStore *launcher_apps, *all_apps;
|
||||
extern GtkWidget *launcher_apps_view, *all_apps_view;
|
||||
@@ -195,73 +180,49 @@ gchar *get_current_icon_theme();
|
||||
|
||||
// background
|
||||
enum {
|
||||
bgColPixbuf = 0,
|
||||
bgColFillColor,
|
||||
bgColFillOpacity,
|
||||
bgColBorderColor,
|
||||
bgColBorderOpacity,
|
||||
bgColGradientId,
|
||||
bgColBorderWidth,
|
||||
bgColCornerRadius,
|
||||
bgColText,
|
||||
bgColFillColorOver,
|
||||
bgColFillOpacityOver,
|
||||
bgColBorderColorOver,
|
||||
bgColBorderOpacityOver,
|
||||
bgColGradientIdOver,
|
||||
bgColFillColorPress,
|
||||
bgColFillOpacityPress,
|
||||
bgColBorderColorPress,
|
||||
bgColBorderOpacityPress,
|
||||
bgColGradientIdPress,
|
||||
bgColPixbuf = 0,
|
||||
bgColFillColor,
|
||||
bgColFillOpacity,
|
||||
bgColBorderColor,
|
||||
bgColBorderOpacity,
|
||||
bgColGradientId,
|
||||
bgColBorderWidth,
|
||||
bgColCornerRadius,
|
||||
bgColText,
|
||||
bgColFillColorOver,
|
||||
bgColFillOpacityOver,
|
||||
bgColBorderColorOver,
|
||||
bgColBorderOpacityOver,
|
||||
bgColGradientIdOver,
|
||||
bgColFillColorPress,
|
||||
bgColFillOpacityPress,
|
||||
bgColBorderColorPress,
|
||||
bgColBorderOpacityPress,
|
||||
bgColGradientIdPress,
|
||||
bgColBorderSidesTop,
|
||||
bgColBorderSidesBottom,
|
||||
bgColBorderSidesLeft,
|
||||
bgColBorderSidesRight,
|
||||
bgNumCols
|
||||
bgNumCols
|
||||
};
|
||||
|
||||
extern GtkListStore *backgrounds;
|
||||
extern GtkWidget *current_background,
|
||||
*background_fill_color,
|
||||
*background_border_color,
|
||||
*background_gradient,
|
||||
*background_fill_color_over,
|
||||
*background_border_color_over,
|
||||
*background_gradient_over,
|
||||
*background_fill_color_press,
|
||||
*background_border_color_press,
|
||||
*background_gradient_press,
|
||||
*background_border_width,
|
||||
*background_border_sides_top,
|
||||
*background_border_sides_bottom,
|
||||
*background_border_sides_left,
|
||||
*background_border_sides_right,
|
||||
*background_corner_radius;
|
||||
extern GtkWidget *current_background, *background_fill_color, *background_border_color, *background_gradient,
|
||||
*background_fill_color_over, *background_border_color_over, *background_gradient_over, *background_fill_color_press,
|
||||
*background_border_color_press, *background_gradient_press, *background_border_width, *background_border_sides_top,
|
||||
*background_border_sides_bottom, *background_border_sides_left, *background_border_sides_right,
|
||||
*background_corner_radius;
|
||||
|
||||
// gradients
|
||||
enum {
|
||||
grColPixbuf = 0,
|
||||
grColId,
|
||||
grColText,
|
||||
grNumCols
|
||||
};
|
||||
enum { grColPixbuf = 0, grColId, grColText, grNumCols };
|
||||
|
||||
// gradient color stops
|
||||
enum {
|
||||
grStopColPixbuf = 0,
|
||||
grStopNumCols
|
||||
};
|
||||
enum { grStopColPixbuf = 0, grStopNumCols };
|
||||
extern GtkListStore *gradient_ids, *gradient_stop_ids;
|
||||
extern GList *gradients;
|
||||
|
||||
extern GtkWidget *current_gradient,
|
||||
*gradient_combo_type,
|
||||
*gradient_start_color,
|
||||
*gradient_end_color,
|
||||
*current_gradient_stop,
|
||||
*gradient_stop_color,
|
||||
*gradient_stop_offset;
|
||||
extern GtkWidget *current_gradient, *gradient_combo_type, *gradient_start_color, *gradient_end_color,
|
||||
*current_gradient_stop, *gradient_stop_color, *gradient_stop_offset;
|
||||
|
||||
void background_create_new();
|
||||
void background_force_update();
|
||||
|
||||
Reference in New Issue
Block a user