Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Apps
xfce4-screensaver
Commits
950143c8
Commit
950143c8
authored
Oct 01, 2018
by
Sean Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy up xfcekbd-indicator-config.{c,h}
parent
9c0f624a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
36 deletions
+1
-36
src/xfcekbd-indicator-config.c
src/xfcekbd-indicator-config.c
+1
-26
src/xfcekbd-indicator-config.h
src/xfcekbd-indicator-config.h
+0
-10
No files found.
src/xfcekbd-indicator-config.c
View file @
950143c8
...
@@ -129,17 +129,7 @@ xfcekbd_indicator_config_load_colors (XfcekbdIndicatorConfig * ind_config)
...
@@ -129,17 +129,7 @@ xfcekbd_indicator_config_load_colors (XfcekbdIndicatorConfig * ind_config)
XFCEKBD_INDICATOR_CONFIG_KEY_BACKGROUND_COLOR
);
XFCEKBD_INDICATOR_CONFIG_KEY_BACKGROUND_COLOR
);
}
}
void
static
gchar
*
xfcekbd_indicator_config_refresh_style
(
XfcekbdIndicatorConfig
*
ind_config
)
{
g_free
(
ind_config
->
font_family
);
g_free
(
ind_config
->
foreground_color
);
g_free
(
ind_config
->
background_color
);
xfcekbd_indicator_config_load_font
(
ind_config
);
xfcekbd_indicator_config_load_colors
(
ind_config
);
}
gchar
*
xfcekbd_indicator_config_get_images_file
(
XfcekbdIndicatorConfig
*
xfcekbd_indicator_config_get_images_file
(
XfcekbdIndicatorConfig
*
ind_config
,
ind_config
,
XfcekbdKeyboardConfig
*
XfcekbdKeyboardConfig
*
...
@@ -295,21 +285,6 @@ xfcekbd_indicator_config_load_from_gsettings (XfcekbdIndicatorConfig * ind_confi
...
@@ -295,21 +285,6 @@ xfcekbd_indicator_config_load_from_gsettings (XfcekbdIndicatorConfig * ind_confi
}
}
void
xfcekbd_indicator_config_save_to_gsettings
(
XfcekbdIndicatorConfig
*
ind_config
)
{
g_settings_delay
(
ind_config
->
settings
);
g_settings_set_int
(
ind_config
->
settings
,
XFCEKBD_INDICATOR_CONFIG_KEY_SECONDARIES
,
ind_config
->
secondary_groups_mask
);
g_settings_set_boolean
(
ind_config
->
settings
,
XFCEKBD_INDICATOR_CONFIG_KEY_SHOW_FLAGS
,
ind_config
->
show_flags
);
g_settings_apply
(
ind_config
->
settings
);
}
void
void
xfcekbd_indicator_config_activate
(
XfcekbdIndicatorConfig
*
ind_config
)
xfcekbd_indicator_config_activate
(
XfcekbdIndicatorConfig
*
ind_config
)
{
{
...
...
src/xfcekbd-indicator-config.h
View file @
950143c8
...
@@ -57,16 +57,6 @@ void xfcekbd_indicator_config_term (XfcekbdIndicatorConfig *
...
@@ -57,16 +57,6 @@ void xfcekbd_indicator_config_term (XfcekbdIndicatorConfig *
void
xfcekbd_indicator_config_load_from_gsettings
(
XfcekbdIndicatorConfig
void
xfcekbd_indicator_config_load_from_gsettings
(
XfcekbdIndicatorConfig
*
applet_config
);
*
applet_config
);
void
xfcekbd_indicator_config_save_to_gsettings
(
XfcekbdIndicatorConfig
*
applet_config
);
void
xfcekbd_indicator_config_refresh_style
(
XfcekbdIndicatorConfig
*
applet_config
);
gchar
*
xfcekbd_indicator_config_get_images_file
(
XfcekbdIndicatorConfig
*
applet_config
,
XfcekbdKeyboardConfig
*
kbd_config
,
int
group
);
void
xfcekbd_indicator_config_load_image_filenames
(
XfcekbdIndicatorConfig
void
xfcekbd_indicator_config_load_image_filenames
(
XfcekbdIndicatorConfig
*
applet_config
,
*
applet_config
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment