Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • pulseaudio/pavucontrol
  • piotrdrag/pavucontrol
  • huftis/pavucontrol
  • tanuk/pavucontrol
  • fsateler/pavucontrol
  • gusnan/pavucontrol
  • kamiyaa/pavucontrol
  • scootergrisen/pavucontrol
  • muzena/pavucontrol
  • wjt/pavucontrol
  • arun/pavucontrol
  • lilydjwg/pavucontrol
  • haagch/pavucontrol
  • t.clastres/pavucontrol
  • Ammuu5/pavucontrol
  • xondrejk/pavucontrol
  • vinimneves25/pavucontrol
  • pan93412/pavucontrol
  • duhlin/pavucontrol
  • dshoreman/pavucontrol
  • ahlinc/pavucontrol
  • RDL-28/pavucontrol
  • comradekingu/pavucontrol
  • elkowar/pavucontrol
  • philipzae/pavucontrol
  • jdloft/pavucontrol
  • mephinet/pavucontrol
  • igor.v.kovalenko/pavucontrol
  • demoisepayne91/pavucontrol
  • warmos/pavucontrol
  • WhyNotHugo/pavucontrol
  • wtaymans/pavucontrol
  • PolyMeilex/pavucontrol
  • alex19EP/pavucontrol
  • heftig/pavucontrol
  • Hi-Angel/pavucontrol
  • oxayotl/pavucontrol
  • Benjamin_Loison/pavucontrol
  • adirat/pavucontrol
  • psykose1/pavucontrol
  • nielsdg/pavucontrol
  • nicolarevelant/pavucontrol
  • C0rn3j/pavucontrol
  • jimmac1/pavucontrol
44 results
Show changes
Commits on Source (2)
  • Konstantin Kharlamov's avatar
    mainwindow: change "[Set as] fallback" to "default" · 1363cd73
    Konstantin Kharlamov authored
    The "Set as fallback" title is a frequent source of confusion, many
    people look at it and do not realize that its actual functional is
    "setting as default". Presumably, when this title first appeared it
    was presumed that apps should chose a device themselves, and then if
    they don't there's a "fallback". But in reality most apps do not chose
    any device explicitly, and it's expected behavior to make use of this
    "fallback" device. So it is more correct to call a "default" device.
    1363cd73
  • Konstantin Kharlamov's avatar
    8c20afda
......@@ -94,8 +94,8 @@ msgid "Lock channels together"
msgstr "Связать громкости каналов"
#: src/pavucontrol.glade:408
msgid "Set as fallback"
msgstr "Сделать резервным"
msgid "Set as default"
msgstr "Установить по умолчанию"
#: src/pavucontrol.glade:446
msgid "<b>Port:</b>"
......
......@@ -274,7 +274,7 @@ finish:
}
}
static void set_icon_name_fallback(Gtk::Image *i, const char *name, Gtk::IconSize size) {
static void set_icon_name_default(Gtk::Image *i, const char *name, Gtk::IconSize size) {
Glib::RefPtr<Gtk::IconTheme> theme;
Glib::RefPtr<Gdk::Pixbuf> pixbuf;
gint width = 24, height = 24;
......@@ -382,7 +382,7 @@ void MainWindow::updateCard(const pa_card_info &info) {
g_free(txt);
icon = pa_proplist_gets(info.proplist, PA_PROP_DEVICE_ICON_NAME);
set_icon_name_fallback(w->iconImage, icon ? icon : "audio-card", Gtk::ICON_SIZE_SMALL_TOOLBAR);
set_icon_name_default(w->iconImage, icon ? icon : "audio-card", Gtk::ICON_SIZE_SMALL_TOOLBAR);
w->hasSinks = w->hasSources = false;
profile_priorities.clear();
......@@ -580,7 +580,7 @@ bool MainWindow::updateSink(const pa_sink_info &info) {
g_free(txt);
icon = pa_proplist_gets(info.proplist, PA_PROP_DEVICE_ICON_NAME);
set_icon_name_fallback(w->iconImage, icon ? icon : "audio-card", Gtk::ICON_SIZE_SMALL_TOOLBAR);
set_icon_name_default(w->iconImage, icon ? icon : "audio-card", Gtk::ICON_SIZE_SMALL_TOOLBAR);
w->setVolume(info.volume);
w->muteToggleButton->set_active(info.mute);
......@@ -748,7 +748,7 @@ void MainWindow::updateSource(const pa_source_info &info) {
g_free(txt);
icon = pa_proplist_gets(info.proplist, PA_PROP_DEVICE_ICON_NAME);
set_icon_name_fallback(w->iconImage, icon ? icon : "audio-input-microphone", Gtk::ICON_SIZE_SMALL_TOOLBAR);
set_icon_name_default(w->iconImage, icon ? icon : "audio-input-microphone", Gtk::ICON_SIZE_SMALL_TOOLBAR);
w->setVolume(info.volume);
w->muteToggleButton->set_active(info.mute);
......@@ -817,7 +817,7 @@ void MainWindow::setIconFromProplist(Gtk::Image *icon, pa_proplist *l, const cha
finish:
set_icon_name_fallback(icon, t, Gtk::ICON_SIZE_SMALL_TOOLBAR);
set_icon_name_default(icon, t, Gtk::ICON_SIZE_SMALL_TOOLBAR);
}
void MainWindow::updateSinkInput(const pa_sink_input_info &info) {
......
......@@ -405,7 +405,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">Set as fallback</property>
<property name="tooltip_text" translatable="yes">Set as default</property>
<child>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
......