summaryrefslogtreecommitdiff
path: root/capplets/accessibility/at-properties
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-06-27 14:41:41 +0800
committerraveit65 <[email protected]>2019-07-17 09:38:54 +0200
commit760f87c849ad7d9b09896da1c32d3d3f5f757d64 (patch)
tree0f8245b08f5947253edb3a82539dda78b5b92709 /capplets/accessibility/at-properties
parentf29ae05e2778d1952c8376a5e66d344cbf08c0a9 (diff)
downloadmate-control-center-760f87c849ad7d9b09896da1c32d3d3f5f757d64.tar.bz2
mate-control-center-760f87c849ad7d9b09896da1c32d3d3f5f757d64.tar.xz
replace Tab with space
Diffstat (limited to 'capplets/accessibility/at-properties')
-rw-r--r--capplets/accessibility/at-properties/main.c68
1 files changed, 34 insertions, 34 deletions
diff --git a/capplets/accessibility/at-properties/main.c b/capplets/accessibility/at-properties/main.c
index 1640eac8..bfcdede9 100644
--- a/capplets/accessibility/at-properties/main.c
+++ b/capplets/accessibility/at-properties/main.c
@@ -26,40 +26,40 @@ static gboolean initial_state;
static GtkBuilder *
create_builder (void)
{
- GtkBuilder *builder;
- GError *error = NULL;
-
- builder = gtk_builder_new ();
-
- if (gtk_builder_add_from_resource (builder, "/org/mate/mcc/accessibility/at/at-enable-dialog.ui", &error)) {
- GObject *object;
- gchar *prog;
-
- object = gtk_builder_get_object (builder, "at_enable_image");
- gtk_image_set_from_file (GTK_IMAGE (object),
- PIXMAPDIR "/at-startup.png");
-
- object = gtk_builder_get_object (builder,
- "at_applications_image");
- gtk_image_set_from_file (GTK_IMAGE (object),
- PIXMAPDIR "/at-support.png");
-
- prog = g_find_program_in_path ("mdmsetup");
- if (prog == NULL) {
- object = gtk_builder_get_object (builder,
- "login_button");
- gtk_widget_hide (GTK_WIDGET (object));
- }
-
- g_free (prog);
- } else {
- g_warning ("Could not load UI: %s", error->message);
- g_error_free (error);
- g_object_unref (builder);
- builder = NULL;
- }
+ GtkBuilder *builder;
+ GError *error = NULL;
+
+ builder = gtk_builder_new ();
+
+ if (gtk_builder_add_from_resource (builder, "/org/mate/mcc/accessibility/at/at-enable-dialog.ui", &error)) {
+ GObject *object;
+ gchar *prog;
+
+ object = gtk_builder_get_object (builder, "at_enable_image");
+ gtk_image_set_from_file (GTK_IMAGE (object),
+ PIXMAPDIR "/at-startup.png");
+
+ object = gtk_builder_get_object (builder,
+ "at_applications_image");
+ gtk_image_set_from_file (GTK_IMAGE (object),
+ PIXMAPDIR "/at-support.png");
+
+ prog = g_find_program_in_path ("mdmsetup");
+ if (prog == NULL) {
+ object = gtk_builder_get_object (builder,
+ "login_button");
+ gtk_widget_hide (GTK_WIDGET (object));
+ }
+
+ g_free (prog);
+ } else {
+ g_warning ("Could not load UI: %s", error->message);
+ g_error_free (error);
+ g_object_unref (builder);
+ builder = NULL;
+ }
- return builder;
+ return builder;
}
static void
@@ -83,7 +83,7 @@ cb_mouse_preferences (GtkDialog *dialog, gint response_id)
static void
cb_login_preferences (GtkDialog *dialog, gint response_id)
{
- g_spawn_command_line_async ("mdmsetup", NULL);
+ g_spawn_command_line_async ("mdmsetup", NULL);
}
/* get_session_bus(), get_sm_proxy(), and do_logout() are all