summaryrefslogtreecommitdiff
path: root/src/cardwidget.cc
AgeCommit message (Collapse)AuthorFilesLines
2024-09-27Correctly handle profile list indices in dropdownHEADmasterArun Raghavan1-3/+9
With the option to hide some profiles, we need to track the list store index separately from the profile list iterator, so that the active selection in the dropdown is correct. We also need to allow an invalid selection, as an unavailable profile might be selected.
2024-09-27Add a checkbox to hide unavailable profilesrohit haldipur1-0/+4
2024-04-26Split pavucontrol.glade into separate .ui filesJA1-1/+1
and some cleanup
2024-04-26Embed ui file as resource and clean it upJA1-1/+1
Remove a lot of unrequired ids, and fix meson dependency name
2024-04-12Use Gtk4 instead of Gtk3JA1-9/+9
2021-06-01cardwidget: add flag to lock profile from switching automaticallyIgor V. Kovalenko1-0/+37
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/60>
2021-03-29card: use JSON with pulseaudio messaging APIIgor V. Kovalenko1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/59>
2021-02-27card: do not quit on error sending message to objectIgor V. Kovalenko1-1/+1
Server API versions < 35 do not support PA_COMMAND_SEND_OBJECT_MESSAGE one of these is current Pipewire pulseaudio server. Do not quit on error sending message to object, this is already handled as if send message API is not available. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/57>
2021-02-26card: implement bluetooth profile codec selectionIgor V. Kovalenko1-8/+65
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/merge_requests/54>
2018-11-21rename more objects in the quest to get rid of duplicate IDsTanu Kaskinen1-2/+2
Continuing from the previous patch, this patch renames more objects in pavucontrol.glade to get rid of duplicate IDs. nameLabel and iconImage actually weren't any more duplicates, because the previous patch renamed the corresponding IDs for devices and streams, but the card related objects were renamed nevertheless to be more descriptive and consistent with the IDs used by the device and stream widgets.
2014-09-07Reference the widget before returning it from ::create methodsHans de Goede1-0/+1
Widgets (unlike Windows and Dialogs) returned by Gtk::Builder::get_widget* start owned by the GtkBuilder object, the idea being that they will get added to a container before the scope of the GtkBuilder object ends, and it thus automatically gets destroyed. But in the various ::create methods in pavucontrol, a pointer to the widget gets returned, so that it can be added to a cointainer by the caller. However as soon as the ::create method exits the GtkBuilder object owning the widget, and thus also the widget gets destroyed, and we end up returning free-ed memory. This commit fixes this by making all ::create methods take a reference on the widget before returning it, and having all the callers unreference the widget after adding it to a container. https://bugs.freedesktop.org/show_bug.cgi?id=83144 https://bugzilla.redhat.com/show_bug.cgi?id=1133339 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2011-03-03Drop the need to use libglademmRafał Mużyło1-2/+2
2009-03-25Order the card profiles by their priorityColin Guthrie1-4/+4
2009-03-18Use C style comments as per Lennart's fetish :pColin Guthrie1-1/+1
2009-03-18Move config.h inclusion to the .cc filesColin Guthrie1-0/+4
2009-03-15Split cardwidget out into it's own files.Colin Guthrie1-0/+90
Also define a get_context() method to get the context from outside of the main file.