...
 
Commits (8)
......@@ -22,6 +22,7 @@
#include <gdesktop-enums.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <math.h>
#include "cc-night-light-dialog.h"
......@@ -638,15 +639,12 @@ cc_night_light_dialog_init (CcNightLightDialog *self)
{
g_autoptr(GtkCssProvider) provider = NULL;
g_autoptr(GError) error = NULL;
g_autofree gchar *text_low = NULL;
g_autofree gchar *text_high = NULL;
gtk_widget_init_template (GTK_WIDGET (self));
text_low = g_strdup_printf ("%s", "More Warm");
gtk_scale_add_mark (GTK_SCALE (self->scale_color_temperature),
3000, GTK_POS_BOTTOM,
text_low);
_("More Warm"));
gtk_scale_add_mark (GTK_SCALE (self->scale_color_temperature),
4000, GTK_POS_BOTTOM,
......@@ -656,10 +654,9 @@ cc_night_light_dialog_init (CcNightLightDialog *self)
5000, GTK_POS_BOTTOM,
NULL);
text_high = g_strdup_printf ("%s", "Less Warm");
gtk_scale_add_mark (GTK_SCALE (self->scale_color_temperature),
6000, GTK_POS_BOTTOM,
text_high);
_("Less Warm"));
self->cancellable = g_cancellable_new ();
self->settings_display = g_settings_new (DISPLAY_SCHEMA);
......
......@@ -18,11 +18,11 @@
</object>
<template class="CcMouseProperties" parent="GtkBin">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkScrolledWindow" id="scrolled_window">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_focus">False</property>
<property name="shadow_type">none</property>
<property name="hscrollbar_policy">never</property>
<signal name="size-allocate" handler="on_content_size_changed" object="CcMouseProperties" swapped="yes"/>
......
......@@ -951,7 +951,6 @@ set_input_settings (CcRegionPanel *self)
}
g_settings_set_value (self->input_settings, KEY_INPUT_SOURCES, g_variant_builder_end (&builder));
g_settings_apply (self->input_settings);
}
static void set_localed_input (CcRegionPanel *self);
......@@ -1204,7 +1203,6 @@ static void
setup_input_section (CcRegionPanel *self)
{
self->input_settings = g_settings_new (GNOME_DESKTOP_INPUT_SOURCES_DIR);
g_settings_delay (self->input_settings);
self->xkb_info = gnome_xkb_info_new ();
......
......@@ -37,6 +37,7 @@ panels/display/cc-display-panel.c
panels/display/cc-display-panel.ui
panels/display/cc-display-settings.c
panels/display/cc-display-settings.ui
panels/display/cc-night-light-dialog.c
panels/display/cc-night-light-dialog.ui
panels/display/gnome-display-panel.desktop.in.in
panels/info/cc-info-default-apps-panel.ui
......
......@@ -5315,22 +5315,22 @@ msgstr "En ús"
#: panels/privacy/cc-privacy-panel.c:472
msgctxt "Location services status"
msgid "On"
msgstr "Activat"
msgstr "Activats"
#: panels/privacy/cc-privacy-panel.c:473
msgctxt "Location services status"
msgid "Off"
msgstr "Desactivat"
msgstr "Desactivats"
#: panels/privacy/cc-privacy-panel.c:895
msgctxt "Camera status"
msgid "Off"
msgstr "Desactivat"
msgstr "Desactivada"
#: panels/privacy/cc-privacy-panel.c:897
msgctxt "Camera status"
msgid "On"
msgstr "Activat"
msgstr "Activada"
#: panels/privacy/cc-privacy-panel.c:928
msgctxt "Microphone status"
......
This diff is collapsed.
This diff is collapsed.