sound: Rename new sound panel to replace old one

This commit is contained in:
Robert Ancell 2018-11-19 12:57:52 +13:00
parent 652dd8bfc8
commit 0799c864e8
72 changed files with 92 additions and 92 deletions

View file

@ -17,7 +17,7 @@ panels = [
'region',
'search',
'sharing',
'sound-new',
'sound',
'universal-access',
'user-accounts'
]

View file

@ -22,7 +22,7 @@
#include "config.h"
#include "cc-alert-chooser.h"
#include "cc-sound-button.h"
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
#define KEY_SOUNDS_SCHEMA "org.gnome.desktop.sound"
@ -236,7 +236,7 @@ cc_alert_chooser_class_init (CcAlertChooserClass *klass)
object_class->dispose = cc_alert_chooser_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-alert-chooser.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-alert-chooser.ui");
gtk_widget_class_bind_template_child (widget_class, CcAlertChooser, bark_button);
gtk_widget_class_bind_template_child (widget_class, CcAlertChooser, drip_button);
@ -254,7 +254,7 @@ cc_alert_chooser_init (CcAlertChooser *self)
g_autofree gchar *alert_name = NULL;
g_autoptr(GError) error = NULL;
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));

View file

@ -16,7 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
#include "cc-balance-slider.h"
#include "gvc-channel-map-private.h"
@ -78,7 +78,7 @@ cc_balance_slider_class_init (CcBalanceSliderClass *klass)
object_class->dispose = cc_balance_slider_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-balance-slider.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-balance-slider.ui");
gtk_widget_class_bind_template_child (widget_class, CcBalanceSlider, adjustment);
@ -88,7 +88,7 @@ cc_balance_slider_class_init (CcBalanceSliderClass *klass)
void
cc_balance_slider_init (CcBalanceSlider *self)
{
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));
}

View file

@ -17,7 +17,7 @@
*/
#include "cc-device-combo-box.h"
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
struct _CcDeviceComboBox
{
@ -120,7 +120,7 @@ cc_device_combo_box_class_init (CcDeviceComboBoxClass *klass)
object_class->dispose = cc_device_combo_box_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-device-combo-box.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-device-combo-box.ui");
gtk_widget_class_bind_template_child (widget_class, CcDeviceComboBox, device_model);
}
@ -128,7 +128,7 @@ cc_device_combo_box_class_init (CcDeviceComboBoxClass *klass)
void
cc_device_combo_box_init (CcDeviceComboBox *self)
{
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));
}

View file

@ -16,7 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
#include "cc-fade-slider.h"
#include "gvc-channel-map-private.h"
@ -78,7 +78,7 @@ cc_fade_slider_class_init (CcFadeSliderClass *klass)
object_class->dispose = cc_fade_slider_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-fade-slider.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-fade-slider.ui");
gtk_widget_class_bind_template_child (widget_class, CcFadeSlider, adjustment);
@ -88,7 +88,7 @@ cc_fade_slider_class_init (CcFadeSliderClass *klass)
void
cc_fade_slider_init (CcFadeSlider *self)
{
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));
}

View file

@ -20,7 +20,7 @@
#include <glib/gi18n.h>
#include "cc-output-test-dialog.h"
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
#include "cc-speaker-test-button.h"
struct _CcOutputTestDialog
@ -64,7 +64,7 @@ cc_output_test_dialog_class_init (CcOutputTestDialogClass *klass)
object_class->dispose = cc_output_test_dialog_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-output-test-dialog.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-output-test-dialog.ui");
gtk_widget_class_bind_template_child (widget_class, CcOutputTestDialog, front_center_speaker_button);
gtk_widget_class_bind_template_child (widget_class, CcOutputTestDialog, front_left_speaker_button);
@ -87,7 +87,7 @@ cc_output_test_dialog_init (CcOutputTestDialog *self)
GtkSettings *settings;
g_autofree gchar *theme_name = NULL;
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));

View file

@ -17,7 +17,7 @@
*/
#include "cc-profile-combo-box.h"
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
struct _CcProfileComboBox
{
@ -70,7 +70,7 @@ cc_profile_combo_box_class_init (CcProfileComboBoxClass *klass)
object_class->dispose = cc_profile_combo_box_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-profile-combo-box.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-profile-combo-box.ui");
gtk_widget_class_bind_template_child (widget_class, CcProfileComboBox, profile_model);
@ -80,7 +80,7 @@ cc_profile_combo_box_class_init (CcProfileComboBoxClass *klass)
void
cc_profile_combo_box_init (CcProfileComboBox *self)
{
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));
}

View file

@ -17,7 +17,7 @@
*/
#include "cc-sound-button.h"
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
struct _CcSoundButton
{
@ -78,7 +78,7 @@ cc_sound_button_class_init (CcSoundButtonClass *klass)
object_class->set_property = cc_sound_button_set_property;
object_class->get_property = cc_sound_button_get_property;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-sound-button.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-sound-button.ui");
gtk_widget_class_bind_template_child (widget_class, CcSoundButton, image);
gtk_widget_class_bind_template_child (widget_class, CcSoundButton, label);
@ -94,7 +94,7 @@ cc_sound_button_class_init (CcSoundButtonClass *klass)
void
cc_sound_button_init (CcSoundButton *self)
{
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));
}

View file

@ -38,13 +38,13 @@
#include "cc-level-bar.h"
#include "cc-output-test-dialog.h"
#include "cc-profile-combo-box.h"
#include "cc-sound-new-panel.h"
#include "cc-sound-new-resources.h"
#include "cc-sound-panel.h"
#include "cc-sound-resources.h"
#include "cc-stream-list-box.h"
#include "cc-subwoofer-slider.h"
#include "cc-volume-slider.h"
struct _CcSoundNewPanel
struct _CcSoundPanel
{
CcPanel parent_instance;
@ -74,7 +74,7 @@ struct _CcSoundNewPanel
GSettings *sound_settings;
};
CC_PANEL_REGISTER (CcSoundNewPanel, cc_sound_new_panel)
CC_PANEL_REGISTER (CcSoundPanel, cc_sound_panel)
enum
{
@ -85,14 +85,14 @@ enum
#define KEY_SOUNDS_SCHEMA "org.gnome.desktop.sound"
static void
allow_amplified_changed_cb (CcSoundNewPanel *self)
allow_amplified_changed_cb (CcSoundPanel *self)
{
cc_volume_slider_set_is_amplified (self->output_volume_slider,
g_settings_get_boolean (self->sound_settings, "allow-volume-above-100-percent"));
}
static void
output_device_changed_cb (CcSoundNewPanel *self)
output_device_changed_cb (CcSoundPanel *self)
{
GvcMixerUIDevice *device;
GvcMixerStream *stream = NULL;
@ -125,7 +125,7 @@ output_device_changed_cb (CcSoundNewPanel *self)
}
static void
input_device_changed_cb (CcSoundNewPanel *self)
input_device_changed_cb (CcSoundPanel *self)
{
GvcMixerUIDevice *device;
GvcMixerStream *stream = NULL;
@ -143,7 +143,7 @@ input_device_changed_cb (CcSoundNewPanel *self)
}
static void
test_output_configuration_button_clicked_cb (CcSoundNewPanel *self)
test_output_configuration_button_clicked_cb (CcSoundPanel *self)
{
GvcMixerUIDevice *device;
GvcMixerStream *stream = NULL;
@ -160,55 +160,55 @@ test_output_configuration_button_clicked_cb (CcSoundNewPanel *self)
}
static const char *
cc_sound_new_panel_get_help_uri (CcPanel *panel)
cc_sound_panel_get_help_uri (CcPanel *panel)
{
return "help:gnome-help/media#sound";
}
static void
cc_sound_new_panel_finalize (GObject *object)
cc_sound_panel_finalize (GObject *object)
{
CcSoundNewPanel *panel = CC_SOUND_NEW_PANEL (object);
CcSoundPanel *panel = CC_SOUND_PANEL (object);
g_clear_object (&panel->mixer_control);
g_clear_object (&panel->sound_settings);
G_OBJECT_CLASS (cc_sound_new_panel_parent_class)->finalize (object);
G_OBJECT_CLASS (cc_sound_panel_parent_class)->finalize (object);
}
static void
cc_sound_new_panel_class_init (CcSoundNewPanelClass *klass)
cc_sound_panel_class_init (CcSoundPanelClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
panel_class->get_help_uri = cc_sound_new_panel_get_help_uri;
panel_class->get_help_uri = cc_sound_panel_get_help_uri;
object_class->finalize = cc_sound_new_panel_finalize;
object_class->finalize = cc_sound_panel_finalize;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-sound-new-panel.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-sound-panel.ui");
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, balance_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, fade_row);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, fade_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, input_device_combo_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, input_level_bar);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, input_list_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, input_profile_combo_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, input_profile_row);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, input_volume_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, label_size_group);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, main_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, output_device_combo_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, output_level_bar);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, output_list_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, output_profile_combo_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, output_profile_row);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, output_volume_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, stream_list_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, subwoofer_row);
gtk_widget_class_bind_template_child (widget_class, CcSoundNewPanel, subwoofer_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, balance_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, fade_row);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, fade_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, input_device_combo_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, input_level_bar);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, input_list_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, input_profile_combo_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, input_profile_row);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, input_volume_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, label_size_group);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, main_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, output_device_combo_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, output_level_bar);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, output_list_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, output_profile_combo_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, output_profile_row);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, output_volume_slider);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, stream_list_box);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, subwoofer_row);
gtk_widget_class_bind_template_child (widget_class, CcSoundPanel, subwoofer_slider);
gtk_widget_class_bind_template_callback (widget_class, input_device_changed_cb);
gtk_widget_class_bind_template_callback (widget_class, output_device_changed_cb);
@ -226,9 +226,9 @@ cc_sound_new_panel_class_init (CcSoundNewPanelClass *klass)
}
static void
cc_sound_new_panel_init (CcSoundNewPanel *self)
cc_sound_panel_init (CcSoundPanel *self)
{
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));

View file

@ -22,7 +22,7 @@
G_BEGIN_DECLS
#define CC_TYPE_SOUND_NEW_PANEL (cc_sound_new_panel_get_type ())
G_DECLARE_FINAL_TYPE (CcSoundNewPanel, cc_sound_new_panel, CC, SOUND_NEW_PANEL, CcPanel)
#define CC_TYPE_SOUND_PANEL (cc_sound_panel_get_type ())
G_DECLARE_FINAL_TYPE (CcSoundPanel, cc_sound_panel, CC, SOUND_PANEL, CcPanel)
G_END_DECLS

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<template class="CcSoundNewPanel" parent="CcPanel">
<template class="CcSoundPanel" parent="CcPanel">
<property name="visible">True</property>
<child>
<object class="GtkScrolledWindow">
@ -108,14 +108,14 @@
<object class="CcDeviceComboBox" id="output_device_combo_box">
<property name="visible">True</property>
<property name="hexpand">True</property>
<signal name="changed" handler="output_device_changed_cb" object="CcSoundNewPanel" swapped="yes"/>
<signal name="changed" handler="output_device_changed_cb" object="CcSoundPanel" swapped="yes"/>
</object>
</child>
<child>
<object class="GtkButton">
<property name="visible">True</property>
<property name="label" translatable="yes">Test</property>
<signal name="clicked" handler="test_output_configuration_button_clicked_cb" object="CcSoundNewPanel" swapped="yes"/>
<signal name="clicked" handler="test_output_configuration_button_clicked_cb" object="CcSoundPanel" swapped="yes"/>
</object>
</child>
</object>
@ -289,7 +289,7 @@
<object class="CcDeviceComboBox" id="input_device_combo_box">
<property name="visible">True</property>
<property name="hexpand">True</property>
<signal name="changed" handler="input_device_changed_cb" object="CcSoundNewPanel" swapped="yes"/>
<signal name="changed" handler="input_device_changed_cb" object="CcSoundPanel" swapped="yes"/>
</object>
</child>
<child>

View file

@ -19,7 +19,7 @@
#include <gsound.h>
#include <pulse/pulseaudio.h>
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
#include "cc-speaker-test-button.h"
struct _CcSpeakerTestButton
@ -202,7 +202,7 @@ cc_speaker_test_button_class_init (CcSpeakerTestButtonClass *klass)
object_class->dispose = cc_speaker_test_button_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-speaker-test-button.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-speaker-test-button.ui");
gtk_widget_class_bind_template_child (widget_class, CcSpeakerTestButton, image);
gtk_widget_class_bind_template_child (widget_class, CcSpeakerTestButton, label);
@ -213,7 +213,7 @@ cc_speaker_test_button_class_init (CcSpeakerTestButtonClass *klass)
void
cc_speaker_test_button_init (CcSpeakerTestButton *self)
{
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));

View file

@ -16,7 +16,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
#include "cc-stream-row.h"
#include "cc-volume-slider.h"
@ -53,7 +53,7 @@ cc_stream_row_class_init (CcStreamRowClass *klass)
object_class->dispose = cc_stream_row_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-stream-row.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-stream-row.ui");
gtk_widget_class_bind_template_child (widget_class, CcStreamRow, label_box);
gtk_widget_class_bind_template_child (widget_class, CcStreamRow, icon_image);
@ -64,7 +64,7 @@ cc_stream_row_class_init (CcStreamRowClass *klass)
void
cc_stream_row_init (CcStreamRow *self)
{
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));
}

View file

@ -19,7 +19,7 @@
#include <pulse/pulseaudio.h>
#include <gvc-mixer-control.h>
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
#include "cc-subwoofer-slider.h"
#include "gvc-channel-map-private.h"
@ -81,7 +81,7 @@ cc_subwoofer_slider_class_init (CcSubwooferSliderClass *klass)
object_class->dispose = cc_subwoofer_slider_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-subwoofer-slider.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-subwoofer-slider.ui");
gtk_widget_class_bind_template_child (widget_class, CcSubwooferSlider, adjustment);
@ -93,7 +93,7 @@ cc_subwoofer_slider_init (CcSubwooferSlider *self)
{
gdouble vol_max_norm;
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));

View file

@ -22,7 +22,7 @@
#include <gvc-mixer-control.h>
#include <canberra-gtk.h>
#include "cc-sound-new-resources.h"
#include "cc-sound-resources.h"
#include "cc-volume-slider.h"
struct _CcVolumeSlider
@ -106,7 +106,7 @@ cc_volume_slider_class_init (CcVolumeSliderClass *klass)
object_class->dispose = cc_volume_slider_dispose;
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound-new/cc-volume-slider.ui");
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/sound/cc-volume-slider.ui");
gtk_widget_class_bind_template_child (widget_class, CcVolumeSlider, mute_button);
gtk_widget_class_bind_template_child (widget_class, CcVolumeSlider, volume_adjustment);
@ -121,7 +121,7 @@ cc_volume_slider_init (CcVolumeSlider *self)
{
gdouble vol_max_norm;
g_resources_register (cc_sound_new_get_resource ());
g_resources_register (cc_sound_get_resource ());
gtk_widget_init_template (GTK_WIDGET (self));

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

@ -39,7 +39,7 @@ sources = files(
'cc-output-test-dialog.c',
'cc-profile-combo-box.c',
'cc-sound-button.c',
'cc-sound-new-panel.c',
'cc-sound-panel.c',
'cc-speaker-test-button.c',
'cc-stream-list-box.c',
'cc-stream-row.c',
@ -74,7 +74,7 @@ resource_data = files(
'cc-output-test-dialog.ui',
'cc-profile-combo-box.ui',
'cc-sound-button.ui',
'cc-sound-new-panel.ui',
'cc-sound-panel.ui',
'cc-speaker-test-button.ui',
'cc-stream-row.ui',
'cc-subwoofer-slider.ui',

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/control-center/sound-new">
<gresource prefix="/org/gnome/control-center/sound">
<file preprocess="xml-stripblanks">cc-alert-chooser.ui</file>
<file preprocess="xml-stripblanks">cc-balance-slider.ui</file>
<file preprocess="xml-stripblanks">cc-device-combo-box.ui</file>
@ -8,7 +8,7 @@
<file preprocess="xml-stripblanks">cc-output-test-dialog.ui</file>
<file preprocess="xml-stripblanks">cc-profile-combo-box.ui</file>
<file preprocess="xml-stripblanks">cc-sound-button.ui</file>
<file preprocess="xml-stripblanks">cc-sound-new-panel.ui</file>
<file preprocess="xml-stripblanks">cc-sound-panel.ui</file>
<file preprocess="xml-stripblanks">cc-speaker-test-button.ui</file>
<file preprocess="xml-stripblanks">cc-stream-row.ui</file>
<file preprocess="xml-stripblanks">cc-subwoofer-slider.ui</file>

View file

@ -179,14 +179,14 @@ panels/sharing/cc-sharing-panel.ui
panels/sharing/gnome-sharing-panel.desktop.in.in
panels/sharing/networks.ui
panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in
panels/sound-new/cc-alert-slider.ui
panels/sound-new/cc-balance-slider.ui
panels/sound-new/cc-fade-slider.ui
panels/sound-new/cc-output-test-dialog.c
panels/sound-new/cc-output-test-dialog.ui
panels/sound-new/cc-sound-panel.ui
panels/sound-new/cc-volume-slider.c
panels/sound-new/gnome-sound-panel.desktop.in.in
panels/sound/cc-alert-slider.ui
panels/sound/cc-balance-slider.ui
panels/sound/cc-fade-slider.ui
panels/sound/cc-output-test-dialog.c
panels/sound/cc-output-test-dialog.ui
panels/sound/cc-sound-panel.ui
panels/sound/cc-volume-slider.c
panels/sound/gnome-sound-panel.desktop.in.in
panels/thunderbolt/cc-bolt-device-dialog.c
panels/thunderbolt/cc-bolt-device-dialog.ui
panels/thunderbolt/cc-bolt-device-entry.c

View file

@ -56,7 +56,7 @@ extern GType cc_privacy_panel_get_type (void);
extern GType cc_region_panel_get_type (void);
extern GType cc_search_panel_get_type (void);
extern GType cc_sharing_panel_get_type (void);
extern GType cc_sound_new_panel_get_type (void);
extern GType cc_sound_panel_get_type (void);
#ifdef BUILD_THUNDERBOLT
extern GType cc_bolt_panel_get_type (void);
#endif /* BUILD_THUNDERBOLT */
@ -109,7 +109,7 @@ static CcPanelLoaderVtable default_panels[] =
PANEL_TYPE("region", cc_region_panel_get_type, NULL),
PANEL_TYPE("search", cc_search_panel_get_type, NULL),
PANEL_TYPE("sharing", cc_sharing_panel_get_type, NULL),
PANEL_TYPE("sound", cc_sound_new_panel_get_type, NULL),
PANEL_TYPE("sound", cc_sound_panel_get_type, NULL),
#ifdef BUILD_THUNDERBOLT
PANEL_TYPE("thunderbolt", cc_bolt_panel_get_type, NULL),
#endif