Skip to content
Commits on Source (17)
================
Version 3.38.1
================
- Updated translations
Keyboard
- Fix behavior of "Replace" when adding custom shortcut
Sound
- Update the profile list after getting the signal from gvc
- Fix subwoofer slider
================
Version 3.38.0
================
......
project(
'gnome-control-center', 'c',
version : '3.38.0',
version : '3.38.1',
license : 'GPL2+',
meson_version : '>= 0.51.0'
)
......
......@@ -69,6 +69,7 @@ struct _CcKeyboardShortcutEditor
static void command_entry_changed_cb (CcKeyboardShortcutEditor *self);
static void name_entry_changed_cb (CcKeyboardShortcutEditor *self);
static void set_button_clicked_cb (CcKeyboardShortcutEditor *self);
G_DEFINE_TYPE (CcKeyboardShortcutEditor, cc_keyboard_shortcut_editor, GTK_TYPE_DIALOG)
......@@ -495,9 +496,10 @@ remove_button_clicked_cb (CcKeyboardShortcutEditor *self)
static void
replace_button_clicked_cb (CcKeyboardShortcutEditor *self)
{
update_shortcut (self);
gtk_widget_hide (GTK_WIDGET (self));
if (self->mode == CC_SHORTCUT_EDITOR_CREATE)
add_button_clicked_cb (self);
else
set_button_clicked_cb (self);
}
static void
......
......@@ -65,7 +65,8 @@ struct _PpPPDSelectionDialog {
};
static void
manufacturer_selection_changed_cb (PpPPDSelectionDialog *self)
manufacturer_selection_changed_cb (GtkTreeSelection *selection,
PpPPDSelectionDialog *self)
{
GtkTreeView *treeview;
GtkListStore *store;
......@@ -122,7 +123,8 @@ manufacturer_selection_changed_cb (PpPPDSelectionDialog *self)
}
static void
model_selection_changed_cb (PpPPDSelectionDialog *self)
model_selection_changed_cb (GtkTreeSelection *selection,
PpPPDSelectionDialog *self)
{
GtkTreeView *treeview;
GtkTreeModel *model;
......@@ -256,11 +258,11 @@ populate_dialog (PpPPDSelectionDialog *self)
gtk_tree_view_append_column (models_treeview, column);
g_signal_connect_object (gtk_tree_view_get_selection (models_treeview),
"changed", G_CALLBACK (model_selection_changed_cb), self, G_CONNECT_SWAPPED);
g_signal_connect (gtk_tree_view_get_selection (models_treeview),
"changed", G_CALLBACK (model_selection_changed_cb), self);
g_signal_connect_object (gtk_tree_view_get_selection (manufacturers_treeview),
"changed", G_CALLBACK (manufacturer_selection_changed_cb), self, G_CONNECT_SWAPPED);
g_signal_connect (gtk_tree_view_get_selection (manufacturers_treeview),
"changed", G_CALLBACK (manufacturer_selection_changed_cb), self);
gtk_widget_show_all (self->dialog);
......@@ -282,8 +284,9 @@ populate_dialog (PpPPDSelectionDialog *self)
}
static void
ppd_selection_dialog_response_cb (PpPPDSelectionDialog *self,
gint response_id)
ppd_selection_dialog_response_cb (GtkDialog *dialog,
gint response_id,
PpPPDSelectionDialog *self)
{
GtkTreeSelection *selection;
GtkTreeModel *model;
......@@ -354,7 +357,7 @@ pp_ppd_selection_dialog_new (GtkWindow *parent,
/* connect signals */
g_signal_connect (self->dialog, "delete-event", G_CALLBACK (gtk_widget_hide_on_delete), NULL);
g_signal_connect_object (self->dialog, "response", G_CALLBACK (ppd_selection_dialog_response_cb), self, G_CONNECT_SWAPPED);
g_signal_connect (self->dialog, "response", G_CALLBACK (ppd_selection_dialog_response_cb), self);
gtk_window_set_transient_for (GTK_WINDOW (self->dialog), GTK_WINDOW (parent));
......
......@@ -99,9 +99,6 @@ output_device_changed_cb (CcSoundPanel *self)
gboolean can_fade = FALSE, has_lfe = FALSE;
device = cc_device_combo_box_get_device (self->output_device_combo_box);
cc_profile_combo_box_set_device (self->output_profile_combo_box, self->mixer_control, device);
gtk_widget_set_visible (GTK_WIDGET (self->output_profile_row),
cc_profile_combo_box_get_profile_count (self->output_profile_combo_box) > 1);
if (device != NULL)
stream = gvc_mixer_control_get_stream_from_device (self->mixer_control, device);
......@@ -133,9 +130,6 @@ input_device_changed_cb (CcSoundPanel *self)
GvcMixerStream *stream = NULL;
device = cc_device_combo_box_get_device (self->input_device_combo_box);
cc_profile_combo_box_set_device (self->input_profile_combo_box, self->mixer_control, device);
gtk_widget_set_visible (GTK_WIDGET (self->input_profile_row),
cc_profile_combo_box_get_profile_count (self->input_profile_combo_box) > 1);
if (device != NULL)
stream = gvc_mixer_control_get_stream_from_device (self->mixer_control, device);
......@@ -147,6 +141,34 @@ input_device_changed_cb (CcSoundPanel *self)
gvc_mixer_control_change_input (self->mixer_control, device);
}
static void
output_device_update_cb (CcSoundPanel *self,
guint id)
{
GvcMixerUIDevice *device;
gboolean has_multi_profiles;
device = cc_device_combo_box_get_device (self->output_device_combo_box);
cc_profile_combo_box_set_device (self->output_profile_combo_box, self->mixer_control, device);
has_multi_profiles = (cc_profile_combo_box_get_profile_count (self->output_profile_combo_box) > 1);
gtk_widget_set_visible (GTK_WIDGET (self->output_profile_row),
has_multi_profiles);
}
static void
input_device_update_cb (CcSoundPanel *self,
guint id)
{
GvcMixerUIDevice *device;
gboolean has_multi_profiles;
device = cc_device_combo_box_get_device (self->input_device_combo_box);
cc_profile_combo_box_set_device (self->input_profile_combo_box, self->mixer_control, device);
has_multi_profiles = (cc_profile_combo_box_get_profile_count (self->input_profile_combo_box) > 1);
gtk_widget_set_visible (GTK_WIDGET (self->input_profile_row),
has_multi_profiles);
}
static void
test_output_configuration_button_clicked_cb (CcSoundPanel *self)
{
......@@ -263,4 +285,14 @@ cc_sound_panel_init (CcSoundPanel *self)
cc_subwoofer_slider_set_mixer_control (self->subwoofer_slider, self->mixer_control);
cc_device_combo_box_set_mixer_control (self->input_device_combo_box, self->mixer_control, FALSE);
cc_device_combo_box_set_mixer_control (self->output_device_combo_box, self->mixer_control, TRUE);
g_signal_connect_object (self->mixer_control,
"active-output-update",
G_CALLBACK (output_device_update_cb),
self,
G_CONNECT_SWAPPED);
g_signal_connect_object (self->mixer_control,
"active-input-update",
G_CALLBACK (input_device_update_cb),
self,
G_CONNECT_SWAPPED);
}
......@@ -59,7 +59,7 @@ volume_changed_cb (CcSubwooferSlider *self)
volumes = gvc_channel_map_get_volume (self->channel_map);
g_signal_handlers_block_by_func (self->adjustment, volume_changed_cb, self);
gtk_adjustment_set_value (self->adjustment, volumes[BALANCE]);
gtk_adjustment_set_value (self->adjustment, volumes[LFE]);
g_signal_handlers_unblock_by_func (self->adjustment, volume_changed_cb, self);
}
......
......@@ -48,6 +48,7 @@ is
it
ja
ka
kab
kk
km
kn
......
......@@ -24,7 +24,7 @@ msgstr ""
"Project-Id-Version: gnome-control-center\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-control-center/"
"issues\n"
"POT-Creation-Date: 2020-08-31 15:11+0000\n"
"POT-Creation-Date: 2020-09-15 07:24+0000\n"
"PO-Revision-Date: 2020-09-01 10:53+0200\n"
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
"Language-Team: čeština <gnome-cs-list@gnome.org>\n"
......@@ -367,7 +367,7 @@ msgstr "Vyběr obrázku"
#: panels/color/cc-color-calibrate.ui:25 panels/color/cc-color-panel.c:238
#: panels/color/cc-color-panel.c:886 panels/color/cc-color-panel.ui:657
#: panels/common/cc-language-chooser.ui:24
#: panels/display/cc-display-panel.c:942
#: panels/display/cc-display-panel.c:943
#: panels/info-overview/cc-info-overview-panel.ui:234
#: panels/network/cc-wifi-hotspot-dialog.ui:122
#: panels/network/cc-wifi-panel.c:865
......@@ -1576,20 +1576,20 @@ msgstr ""
"obrazovka;zamknout;zámek;diagnostika;pád;zhroucení;soukromý;osobní;nedávný;"
"dočasný;tmp;index;jméno;síť;identita;soukromí;"
#: panels/display/cc-display-panel.c:953
#: panels/display/cc-display-panel.c:954
#: panels/network/connection-editor/connection-editor.ui:27
msgid "_Apply"
msgstr "_Použít"
#: panels/display/cc-display-panel.c:974
#: panels/display/cc-display-panel.c:975
msgid "Apply Changes?"
msgstr "Použít změny?"
#: panels/display/cc-display-panel.c:979
#: panels/display/cc-display-panel.c:980
msgid "Changes Cannot be Applied"
msgstr "Změny nelze použít"
#: panels/display/cc-display-panel.c:980
#: panels/display/cc-display-panel.c:981
msgid "This could be due to hardware limitations."
msgstr "Může to být dáno omezeními hardwaru."
......@@ -2609,7 +2609,7 @@ msgstr "Posunování dvěma prsty"
msgid "Edge Scrolling"
msgstr "Posunování po hraně"
#: panels/mouse/cc-mouse-panel.ui:719 panels/wacom/cc-wacom-panel.c:425
#: panels/mouse/cc-mouse-panel.ui:719 panels/wacom/cc-wacom-panel.c:441
msgid "Test Your _Settings"
msgstr "Vyzkoušet na_stavení"
......@@ -4471,7 +4471,7 @@ msgid "Media player"
msgstr "Multimediální přehrávač"
#. TRANSLATORS: secondary battery
#: panels/power/cc-power-panel.c:661 panels/wacom/cc-wacom-panel.c:794
#: panels/power/cc-power-panel.c:661 panels/wacom/cc-wacom-panel.c:728
msgid "Tablet"
msgstr "Tablet"
......@@ -6622,8 +6622,8 @@ msgstr ""
"kurzor;zvuk;přiblížení;zvětšení;čtečka obrazovky;čtení obrazovky;text;velký;"
"obrovský;písmo;font;velikost;přístup;zpřístupnění;kombinace kláves jedním "
"prstem;pomalé klávesy;vícenásobná zmáčknutí kláves;klávesnice myší;dvojitý;"
"klik;kliknutí;klepnutí;poklepání;prodleva;rychlost;asistent;opakování;blikání;"
"blikat;poruchy;handicap;vidění;sluch;psaní;"
"klik;kliknutí;klepnutí;poklepání;prodleva;rychlost;asistent;opakování;"
"blikání;blikat;poruchy;handicap;vidění;sluch;psaní;"
#: panels/universal-access/zoom-options.c:303
msgctxt "Distance"
......@@ -7146,8 +7146,8 @@ msgid ""
"Fingerprint login allows you to unlock and log into your computer with your "
"finger"
msgstr ""
"Pomocí přihlášení otiskem prstu může svůj počítač odemknout a přihlásit se do "
"něj pouhým přiložením prstu."
"Pomocí přihlášení otiskem prstu můžete svůj počítač odemknout a přihlásit se "
"do něj pouhým přiložením prstu."
#: panels/user-accounts/cc-fingerprint-dialog.ui:352
msgid "_Delete Fingerprints"
......@@ -7163,7 +7163,7 @@ msgstr "Zaznamenání otisku prstu"
#: panels/user-accounts/cc-fingerprint-dialog.ui:436
msgid "_Re-enroll this finger…"
msgstr "Znovu tento otisk prstu…"
msgstr "Znovu zaznamenat tento otisk prstu…"
#: panels/user-accounts/cc-fingerprint-dialog.c:470
#, c-format
......@@ -7249,7 +7249,7 @@ msgstr "Selhalo zaznamenání nového otisku prstu"
#: panels/user-accounts/cc-fingerprint-dialog.c:803
#, c-format
msgid "Failed to stop enrollment: %s"
msgstr "Selhalo zastevní záznamu: %s"
msgstr "Selhalo zastavení záznamu: %s"
#: panels/user-accounts/cc-fingerprint-dialog.c:847
msgid ""
......@@ -7277,7 +7277,7 @@ msgstr "Problém při čtení zařízení"
#: panels/user-accounts/cc-fingerprint-dialog.c:1133
#, c-format
msgid "Failed to claim fingerprint device %s: %s"
msgstr "Selhalo vyžádání četečky otisku prstu %s: %s"
msgstr "Selhalo vyžádání čtečky otisku prstu %s: %s"
#: panels/user-accounts/cc-fingerprint-dialog.c:1270
#, c-format
......@@ -7832,7 +7832,7 @@ msgstr ""
msgid "Map Buttons"
msgstr "Mapování tlačítek"
#: panels/wacom/button-mapping.ui:37 panels/wacom/cc-wacom-page.c:512
#: panels/wacom/button-mapping.ui:37 panels/wacom/cc-wacom-page.c:519
#: panels/wacom/gnome-wacom-properties.ui:60
msgid "_Close"
msgstr "_Zavřít"
......@@ -7906,11 +7906,11 @@ msgstr "Mapovat na jedinou obrazovku"
msgid "%d of %d"
msgstr "%d z %d"
#: panels/wacom/cc-wacom-page.c:509
#: panels/wacom/cc-wacom-page.c:516
msgid "Display Mapping"
msgstr "Mapování zobrazení"
#: panels/wacom/cc-wacom-panel.c:791 panels/wacom/wacom-stylus-page.ui:119
#: panels/wacom/cc-wacom-panel.c:725 panels/wacom/wacom-stylus-page.ui:119
msgid "Stylus"
msgstr "Pero"
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -13,8 +13,8 @@ msgstr ""
"Project-Id-Version: gnome-control-center\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-control-center/"
"issues\n"
"POT-Creation-Date: 2020-09-03 08:25+0000\n"
"PO-Revision-Date: 2020-09-06 21:24+0200\n"
"POT-Creation-Date: 2020-09-15 07:24+0000\n"
"PO-Revision-Date: 2020-09-20 20:34+0200\n"
"Last-Translator: Dušan Kazik <prescott66@gmail.com>\n"
"Language-Team: Slovak <gnome-sk-list@gnome.org>\n"
"Language: sk\n"
......@@ -385,7 +385,7 @@ msgstr "Výber obrázka"
#: panels/color/cc-color-calibrate.ui:25 panels/color/cc-color-panel.c:238
#: panels/color/cc-color-panel.c:886 panels/color/cc-color-panel.ui:657
#: panels/common/cc-language-chooser.ui:24
#: panels/display/cc-display-panel.c:942
#: panels/display/cc-display-panel.c:943
#: panels/info-overview/cc-info-overview-panel.ui:234
#: panels/network/cc-wifi-hotspot-dialog.ui:122
#: panels/network/cc-wifi-panel.c:865
......@@ -1737,20 +1737,20 @@ msgstr ""
"index;meno;názov;sieť;identita;súkromie;"
# GtkButton label
#: panels/display/cc-display-panel.c:953
#: panels/display/cc-display-panel.c:954
#: panels/network/connection-editor/connection-editor.ui:27
msgid "_Apply"
msgstr "_Použiť"
#: panels/display/cc-display-panel.c:974
#: panels/display/cc-display-panel.c:975
msgid "Apply Changes?"
msgstr "Použiť zmeny?"
#: panels/display/cc-display-panel.c:979
#: panels/display/cc-display-panel.c:980
msgid "Changes Cannot be Applied"
msgstr "Zmeny sa nedajú použiť"
#: panels/display/cc-display-panel.c:980
#: panels/display/cc-display-panel.c:981
msgid "This could be due to hardware limitations."
msgstr "Môže to byť spôsobené obmedzeniami hardvéru."
......@@ -1951,7 +1951,7 @@ msgstr "Do"
#: panels/display/cc-night-light-page.ui:374
msgid "Color Temperature"
msgstr "Teplota farby"
msgstr "Teplota farieb"
# desktop entry comment
#: panels/display/gnome-display-panel.desktop.in.in:4
......@@ -2956,7 +2956,7 @@ msgid "Edge Scrolling"
msgstr "Rolovať hranou"
# toggle button
#: panels/mouse/cc-mouse-panel.ui:719 panels/wacom/cc-wacom-panel.c:425
#: panels/mouse/cc-mouse-panel.ui:719 panels/wacom/cc-wacom-panel.c:441
msgid "Test Your _Settings"
msgstr "_Vyskúšať vaše nastavenia"
......@@ -5016,7 +5016,7 @@ msgid "Media player"
msgstr "Prenosný prehrávač"
#. TRANSLATORS: secondary battery
#: panels/power/cc-power-panel.c:661 panels/wacom/cc-wacom-panel.c:794
#: panels/power/cc-power-panel.c:661 panels/wacom/cc-wacom-panel.c:728
msgid "Tablet"
msgstr "Tablet"
......@@ -8805,7 +8805,7 @@ msgid "Map Buttons"
msgstr "Priradenie tlačidiel"
# GtkButton label
#: panels/wacom/button-mapping.ui:37 panels/wacom/cc-wacom-page.c:512
#: panels/wacom/button-mapping.ui:37 panels/wacom/cc-wacom-page.c:519
#: panels/wacom/gnome-wacom-properties.ui:60
msgid "_Close"
msgstr "_Zavrieť"
......@@ -8886,11 +8886,11 @@ msgstr "%d. z %d"
# PM: doriesit v master vetve
# PM: dalej je priradiť k displeju
# dialog title
#: panels/wacom/cc-wacom-page.c:509
#: panels/wacom/cc-wacom-page.c:516
msgid "Display Mapping"
msgstr "Priradenie zobrazenia"
#: panels/wacom/cc-wacom-panel.c:791 panels/wacom/wacom-stylus-page.ui:119
#: panels/wacom/cc-wacom-panel.c:725 panels/wacom/wacom-stylus-page.ui:119
msgid "Stylus"
msgstr "Pero"
......
This diff is collapsed.