use fallback icon scheme for stream icons, too
This commit is contained in:
parent
d98588b665
commit
b373c000ea
|
@ -45,6 +45,7 @@ struct profile_prio_compare {
|
|||
return lhs.priority > rhs.priority;
|
||||
}
|
||||
};
|
||||
|
||||
struct sink_port_prio_compare {
|
||||
bool operator() (const pa_sink_port_info& lhs, const pa_sink_port_info& rhs) const {
|
||||
|
||||
|
@ -54,6 +55,7 @@ struct sink_port_prio_compare {
|
|||
return lhs.priority > rhs.priority;
|
||||
}
|
||||
};
|
||||
|
||||
struct source_port_prio_compare {
|
||||
bool operator() (const pa_source_port_info& lhs, const pa_source_port_info& rhs) const {
|
||||
|
||||
|
@ -64,7 +66,6 @@ struct source_port_prio_compare {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& x) :
|
||||
Gtk::Window(cobject),
|
||||
showSinkInputType(SINK_INPUT_CLIENT),
|
||||
|
@ -453,7 +454,7 @@ void MainWindow::setIconFromProplist(Gtk::Image *icon, pa_proplist *l, const cha
|
|||
|
||||
finish:
|
||||
|
||||
icon->set_from_icon_name(t, Gtk::ICON_SIZE_SMALL_TOOLBAR);
|
||||
set_icon_name_fallback(icon, t, Gtk::ICON_SIZE_SMALL_TOOLBAR);
|
||||
}
|
||||
|
||||
void MainWindow::updateSinkInput(const pa_sink_input_info &info) {
|
||||
|
|
Loading…
Reference in New Issue