lxde/pavucontrol-qt.git
11 months agopavucontrol: Remove unique application constraint master
Palo Kisa [Tue, 27 Feb 2018 13:12:33 +0000 (14:12 +0100)] 
pavucontrol: Remove unique application constraint

There is no need to limit number of running instances. User(s) may want
to use multiple instances to control multiple servers (or even the same
one).

The "unique constraint" was introduced by
dbafc202cfdaf40f50716be64418541149439740 w/o previous
discussion/agreement on this topic.

11 months agoMerge pull request #41 from notname000/master
Chih-Hsuan Yen [Sun, 25 Feb 2018 04:58:24 +0000 (12:58 +0800)] 
Merge pull request #41 from notname000/master

Add Simplified Chinese desktop entry

11 months agoAdd Simplified Chinese desktop entry
notname000 [Fri, 23 Feb 2018 18:55:38 +0000 (02:55 +0800)] 
Add Simplified Chinese desktop entry

16 months agoRelease 0.3.0: Update changelog 0.3.0
Alf Gaida [Sun, 24 Sep 2017 12:35:55 +0000 (14:35 +0200)] 
Release 0.3.0: Update changelog

16 months agoBump version to 0.3.0
Alf Gaida [Sun, 24 Sep 2017 12:27:34 +0000 (14:27 +0200)] 
Bump version to 0.3.0

* Added .gitattributes
* Bumped minimum lxqt-build-tools version to 0.4.0
* Removed QUIET from find_package's

17 months agocorrect spelling mistake
Edward Betts [Fri, 1 Sep 2017 19:25:06 +0000 (20:25 +0100)] 
correct spelling mistake

19 months agoAdded Lithuanian .desktop file
welaq [Sun, 16 Jul 2017 23:35:22 +0000 (02:35 +0300)] 
Added Lithuanian .desktop file

19 months agoliblxqt make no sense here
Alf Gaida [Sun, 9 Jul 2017 10:35:22 +0000 (12:35 +0200)] 
liblxqt make no sense here

libqtxdg and build tools do

19 months agoCopied issue template
Alf Gaida [Sat, 8 Jul 2017 21:45:42 +0000 (23:45 +0200)] 
Copied issue template

refs lxde/lxqt/issues/1322

19 months agoset Qt::AA_UseHighDpiPixmaps to true
Alf Gaida [Mon, 26 Jun 2017 22:39:10 +0000 (00:39 +0200)] 
set Qt::AA_UseHighDpiPixmaps to true

20 months agoMerge pull request #36 from lxde/basic-cli-pavucontrol-qt
Alf Gaida [Thu, 15 Jun 2017 18:44:12 +0000 (20:44 +0200)] 
Merge pull request #36 from lxde/basic-cli-pavucontrol-qt

Added proper version and version option to pavucontrol qt

20 months agoAdded version to cli options
Alf Gaida [Sat, 10 Jun 2017 11:58:20 +0000 (13:58 +0200)] 
Added version to cli options

20 months agoAdded default CMAKE_BUILD_TYPE and versioning
Alf Gaida [Sat, 10 Jun 2017 11:57:04 +0000 (13:57 +0200)] 
Added default CMAKE_BUILD_TYPE and versioning

21 months agoadded pl.desktop
Marcin Mikołajczak [Mon, 22 May 2017 18:13:08 +0000 (20:13 +0200)] 
added pl.desktop

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
22 months agoui: Use "changes-prevent-symbolic" icon
Palo Kisa [Thu, 23 Mar 2017 11:47:08 +0000 (12:47 +0100)] 
ui: Use "changes-prevent-symbolic" icon

22 months agoMainWindow: Remove old GTK remnants
Palo Kisa [Tue, 11 Apr 2017 06:59:07 +0000 (08:59 +0200)] 
MainWindow: Remove old GTK remnants

* MainWindow::on_key_press_event() - navigation between tabs by keyboard
can be achieved by the ALT+<nav. letter>
* MainWindow::on_realize() - the Gtk::Widget::on_realize() isn't needed
in Qt world at all

22 months agoAdd Catalan translation
Robert Antoni Buj Gelonch [Sun, 2 Apr 2017 18:05:04 +0000 (20:05 +0200)] 
Add Catalan translation

23 months agoChannel: Add slider snapping to 100%
Palo Kisa [Wed, 15 Mar 2017 10:30:15 +0000 (11:30 +0100)] 
Channel: Add slider snapping to 100%

23 months agoChannel: Address compiler warnings
Palo Kisa [Wed, 15 Mar 2017 09:05:35 +0000 (10:05 +0100)] 
Channel: Address compiler warnings

23 months agoChannel: Align slider controls correclty
Palo Kisa [Wed, 15 Mar 2017 08:55:44 +0000 (09:55 +0100)] 
Channel: Align slider controls correclty

- set fixed size for "%(dB)" label based on estimated widest value
- remove unneeded horizontal spacing
- use translatable labels (so translators can reorder values, if needed)

23 months agoChannel: Add ticks to volume slider
Palo Kisa [Wed, 15 Mar 2017 08:43:43 +0000 (09:43 +0100)] 
Channel: Add ticks to volume slider

23 months agoChannel: Use percentage for volume scale
Palo Kisa [Wed, 15 Mar 2017 08:40:10 +0000 (09:40 +0100)] 
Channel: Use percentage for volume scale

This allows the user to change the volume by minimal step of 1% point
=> 100% will always be 0.00dB.

23 months agodevicewidgte: Re-add device renaming
Palo Kisa [Wed, 1 Mar 2017 14:10:36 +0000 (15:10 +0100)] 
devicewidgte: Re-add device renaming

Just re-implement/port the existing GTK functionality.

23 months agoMainWindow: Force using the size from previous run
Palo Kisa [Wed, 1 Mar 2017 11:21:45 +0000 (12:21 +0100)] 
MainWindow: Force using the size from previous run

23 months agoMainWindow: Add quit shortcut
Palo Kisa [Wed, 1 Mar 2017 09:13:06 +0000 (10:13 +0100)] 
MainWindow: Add quit shortcut

fixes #25

2 years agoAdded pavucontrol-qt_da.desktop
scootergrisen [Thu, 15 Dec 2016 10:38:18 +0000 (11:38 +0100)] 
Added pavucontrol-qt_da.desktop

2 years agoRelease 0.2.0: Update changelog 0.2.0
Alf Gaida [Sun, 11 Dec 2016 10:20:39 +0000 (11:20 +0100)] 
Release 0.2.0: Update changelog

2 years agoRelease 0.2.0: Update changelog
Alf Gaida [Sun, 11 Dec 2016 10:15:33 +0000 (11:15 +0100)] 
Release 0.2.0: Update changelog

2 years agoMerge pull request #22 from lxde/config_file
Alf Gaida [Fri, 2 Dec 2016 00:42:12 +0000 (01:42 +0100)] 
Merge pull request #22 from lxde/config_file

Use QSettings for storing configuration

2 years agoUse QSettings for storing configuration
Palo Kisa [Tue, 29 Nov 2016 09:09:22 +0000 (10:09 +0100)] 
Use QSettings for storing configuration

With this we also avoid interference with pavucontrol(gtk) settings.

2 years agoCreate pavucontrol-qt_pt.desktop
Sérgio Marques [Mon, 28 Nov 2016 15:27:34 +0000 (15:27 +0000)] 
Create pavucontrol-qt_pt.desktop

2 years agoUse the new lxqt-build-tools package
Luís Pereira [Fri, 7 Oct 2016 13:38:12 +0000 (14:38 +0100)] 
Use the new lxqt-build-tools package

Drop liblxqt build time dependency.
Add Qt5DBus to the required packaged.

2 years agoMerge pull request #17 from heliocastro/singleapp
Helio Chissini de Castro [Wed, 28 Sep 2016 20:23:11 +0000 (22:23 +0200)] 
Merge pull request #17 from heliocastro/singleapp

Add a simple single instance controller to avoid run multiple simultaneous applications

2 years agoMerge pull request #16 from heliocastro/master
Helio Chissini de Castro [Wed, 28 Sep 2016 20:21:30 +0000 (22:21 +0200)] 
Merge pull request #16 from heliocastro/master

Simply differentiate the naming to avoid menu duplication

2 years ago- Add a simple single instance controller to avoid run multiple simultaneous applications
Helio Chissini de Castro [Wed, 28 Sep 2016 19:50:38 +0000 (21:50 +0200)] 
- Add a simple single instance controller to avoid run multiple simultaneous applications

2 years agoUse same approach as avidemux
Helio Chissini de Castro [Tue, 27 Sep 2016 09:08:22 +0000 (11:08 +0200)] 
Use same approach as avidemux

2 years agoSimply differentiate the namnig to avoid menu duplication
Helio Chissini de Castro [Tue, 27 Sep 2016 07:54:14 +0000 (09:54 +0200)] 
Simply differentiate the namnig to avoid menu duplication

This is not the best solution, but is solve in a temporary base if some
improved action is find.
Use an alternative icon could be a possibility, but then the current
approach follows the icons naming standard pattern and this would
unlikely break the theme standards

2 years agoCMakeLists: Remove XdgUserDirs requirement
Palo Kisa [Mon, 26 Sep 2016 06:22:00 +0000 (08:22 +0200)] 
CMakeLists: Remove XdgUserDirs requirement

2 years agomainwindow: Set icon for eventRoleWidget
Palo Kisa [Mon, 26 Sep 2016 06:48:53 +0000 (08:48 +0200)] 
mainwindow: Set icon for eventRoleWidget

Just a remnant of the non-ported part from GTK.

closes #12

2 years agoRelease 0.1.0: Add changelog 0.1.0
Alf Gaida [Fri, 23 Sep 2016 22:50:34 +0000 (00:50 +0200)] 
Release 0.1.0: Add changelog

2 years agodevicewidget: Remove debug
Palo Kisa [Wed, 21 Sep 2016 06:55:15 +0000 (08:55 +0200)] 
devicewidget: Remove debug

2 years agoAddress compiler warnings
Palo Kisa [Thu, 8 Sep 2016 07:35:49 +0000 (09:35 +0200)] 
Address compiler warnings

2 years agostreamwidget: Fix specific termination text
Palo Kisa [Fri, 9 Sep 2016 10:32:38 +0000 (12:32 +0200)] 
streamwidget: Fix specific termination text

2 years agoRe-add support for changing source output
Palo Kisa [Fri, 9 Sep 2016 10:25:22 +0000 (12:25 +0200)] 
Re-add support for changing source output

Just uncommented & ported the existing GTK functionality.

2 years agostreamwidget: Re-add "Terminate" context menu
Palo Kisa [Fri, 9 Sep 2016 10:11:32 +0000 (12:11 +0200)] 
streamwidget: Re-add "Terminate" context menu

Just uncommented & ported the existing GTK functionality.

2 years agoRe-add support for changing sink input
Palo Kisa [Fri, 9 Sep 2016 09:25:10 +0000 (11:25 +0200)] 
Re-add support for changing sink input

Just uncommented & ported the existing GTK functionality.

2 years agoui: Lock channels by default
Palo Kisa [Fri, 9 Sep 2016 08:23:15 +0000 (10:23 +0200)] 
ui: Lock channels by default

The GTK version does it also

2 years agoui: Enable sink's advanced options only if digital
Palo Kisa [Wed, 7 Sep 2016 06:35:12 +0000 (08:35 +0200)] 
ui: Enable sink's advanced options only if digital

2 years agoui: Condense device advanced settings
Palo Kisa [Mon, 5 Sep 2016 07:19:41 +0000 (09:19 +0200)] 
ui: Condense device advanced settings

2 years agoui: Align titles left
Palo Kisa [Fri, 2 Sep 2016 14:46:05 +0000 (16:46 +0200)] 
ui: Align titles left

2 years agoui: Use "changes-prevent" icon for "Lock channels.."
Palo Kisa [Fri, 2 Sep 2016 13:03:32 +0000 (15:03 +0200)] 
ui: Use "changes-prevent" icon for "Lock channels.."

2 years agoui: Don't stretch content horizontaly
Palo Kisa [Fri, 2 Sep 2016 12:30:19 +0000 (14:30 +0200)] 
ui: Don't stretch content horizontaly

2 years agoui: Simplify peak bar
Palo Kisa [Fri, 2 Sep 2016 11:06:42 +0000 (13:06 +0200)] 
ui: Simplify peak bar

2 years agochannels: Align channel sliders
Palo Kisa [Fri, 2 Sep 2016 11:05:41 +0000 (13:05 +0200)] 
channels: Align channel sliders

With previous QVBarLayout + QHBarLayout the sliders weren't aligned.

2 years agoAdd README.md
Peter Mattern [Tue, 6 Sep 2016 20:55:09 +0000 (22:55 +0200)] 
Add README.md

2 years agodevicewidget: Set the PCM encoding always enabled
Palo Kisa [Mon, 5 Sep 2016 07:07:06 +0000 (09:07 +0200)] 
devicewidget: Set the PCM encoding always enabled

..and don't allow to disable it. The
pa_ext_device_restore_save_formats() always needs at least one encoding
to be present.

This way it is done in pavucontrol(-gtk) also.

closes lxde/pavucontrol-qt#7

2 years agoProperly install pavucontrol-qt.desktop file.
Hong Jen Yee (PCMan) [Thu, 1 Sep 2016 15:04:37 +0000 (23:04 +0800)] 
Properly install pavucontrol-qt.desktop file.

2 years ago* Prevent recursive signal handler invocation.
Hong Jen Yee (PCMan) [Thu, 1 Sep 2016 14:54:48 +0000 (22:54 +0800)] 
* Prevent recursive signal handler invocation.
* Replace some push buttons with tool buttons.

2 years agoAdd authors information.
Hong Jen Yee (PCMan) [Thu, 1 Sep 2016 14:15:26 +0000 (22:15 +0800)] 
Add authors information.

2 years agoRemove glibmm dependency.
Hong Jen Yee (PCMan) [Thu, 1 Sep 2016 14:10:46 +0000 (22:10 +0800)] 
Remove glibmm dependency.

2 years agoFix translations.
Hong Jen Yee (PCMan) [Thu, 1 Sep 2016 13:36:37 +0000 (21:36 +0800)] 
Fix translations.

2 years agoReplace GNU gettext with Qt tr() in all places.
Hong Jen Yee (PCMan) [Thu, 1 Sep 2016 12:16:55 +0000 (20:16 +0800)] 
Replace GNU gettext with Qt tr() in all places.

2 years agoAdd missing ui files to CMakeLists.txt
Hong Jen Yee (PCMan) [Thu, 1 Sep 2016 12:16:50 +0000 (20:16 +0800)] 
Add missing ui files to CMakeLists.txt

2 years agoTrivial fix for Timeout handlers.
Hong Jen Yee (PCMan) [Wed, 31 Aug 2016 18:48:16 +0000 (02:48 +0800)] 
Trivial fix for Timeout handlers.

2 years agoPorting to Qt 5 - Finish the basic UI.
Hong Jen Yee (PCMan) [Wed, 31 Aug 2016 17:58:34 +0000 (01:58 +0800)] 
Porting to Qt 5 - Finish the basic UI.

2 years agoMake all source code compile with Qt5.
Hong Jen Yee (PCMan) [Wed, 31 Aug 2016 15:19:10 +0000 (23:19 +0800)] 
Make all source code compile with Qt5.

2 years agoPort DeviceWidget and ChannelWidget to Qt5.
Hong Jen Yee (PCMan) [Wed, 31 Aug 2016 13:46:34 +0000 (21:46 +0800)] 
Port DeviceWidget and ChannelWidget to Qt5.

2 years agoAdd missing file.
Hong Jen Yee (PCMan) [Wed, 31 Aug 2016 12:49:39 +0000 (20:49 +0800)] 
Add missing file.

2 years agoFix broken combo box in CardWidget.
Hong Jen Yee (PCMan) [Tue, 30 Aug 2016 19:26:14 +0000 (03:26 +0800)] 
Fix broken combo box in CardWidget.
Remove unused code.

2 years agoPort the sound card configuration page to Qt.
Hong Jen Yee (PCMan) [Tue, 30 Aug 2016 19:16:46 +0000 (03:16 +0800)] 
Port the sound card configuration page to Qt.

2 years agoStart working on a Qt5 port. start-qt
Hong Jen Yee (PCMan) [Tue, 30 Aug 2016 18:34:56 +0000 (02:34 +0800)] 
Start working on a Qt5 port.

2 years agomainwindow: force icons to have sane size
Felipe Sateler [Sun, 1 May 2016 17:27:12 +0000 (20:27 +0300)] 
mainwindow: force icons to have sane size

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=86398
2 years agoAdd checkbutton for disabling volume meters
Lukas K [Sun, 20 Jul 2014 18:33:41 +0000 (20:33 +0200)] 
Add checkbutton for disabling volume meters

Add a checkbutton for disabling volume meters because of high CPU
utilisation when updating them

2 years ago.gitignore: add compile
Tanu Kaskinen [Tue, 26 Apr 2016 14:10:29 +0000 (17:10 +0300)] 
.gitignore: add compile

2 years agomainwindow: Don't add a border on the outermost vbox
Arun Raghavan [Thu, 31 Mar 2016 11:42:31 +0000 (17:12 +0530)] 
mainwindow: Don't add a border on the outermost vbox

It adds a thick border around along the edges that looks quite ugly.

3 years agobuild-sys: Add m4 file for AX_CXX_COMPILE_STDCXX_11
Arun Raghavan [Tue, 2 Feb 2016 11:31:47 +0000 (17:01 +0530)] 
build-sys: Add m4 file for AX_CXX_COMPILE_STDCXX_11

3 years agodoc: Update link to git repository
Arun Raghavan [Tue, 26 Jan 2016 03:01:38 +0000 (08:31 +0530)] 
doc: Update link to git repository

And we no longer need to link to the git homepage either.

3 years agobuild-sys: Use C++11 for building
Arun Raghavan [Mon, 25 Jan 2016 03:11:42 +0000 (08:41 +0530)] 
build-sys: Use C++11 for building

This requirement was added by gtkmm at some point:

http://www.murrayc.com/permalink/2015/07/31/gtkmm-now-uses-c11/

3 years agoRemove Encoding key from .desktop file
Pino Toscano [Sun, 24 Jan 2016 12:57:03 +0000 (13:57 +0100)] 
Remove Encoding key from .desktop file

Long time deprecated.

3 years agoi18n: improve one Italian string
Antonio Ospite [Fri, 8 Jan 2016 09:13:15 +0000 (10:13 +0100)] 
i18n: improve one Italian string

The previous translation may sound like "Lock up the channels", better
to add the "together" (insieme) in there like in the English version
which gives more the idea of aggregation.

3 years agoi18n: Some fixes for the Italian translation
Antonio Ospite [Thu, 7 Jan 2016 22:56:02 +0000 (23:56 +0100)] 
i18n: Some fixes for the Italian translation

Some fixes for strings which show up on the GUI.

In particular "Blocca entrambi i canali" (which translates back to
"Block both channels") sounded weird with devices with more than
2 channels.

3 years agoAdd --version command line option
Peter Meerwald [Wed, 20 May 2015 21:07:55 +0000 (23:07 +0200)] 
Add --version command line option

allow pavucontrol to display its --version
see https://bugs.freedesktop.org/show_bug.cgi?id=83147

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
3 years agobuild-sys: Depend on libpulse >= 5.0
Arun Raghavan [Fri, 10 Apr 2015 12:54:08 +0000 (18:24 +0530)] 
build-sys: Depend on libpulse >= 5.0

This is required for pa_card_profile_info2 (where we just started
querying profile availability).

3 years agomainwindow: unavailable profiles are marked as such in their description
David Kreuter [Wed, 25 Mar 2015 19:48:24 +0000 (20:48 +0100)] 
mainwindow: unavailable profiles are marked as such in their description

3 years agoi18n: Updated Polish translation
Piotr Drąg [Wed, 25 Mar 2015 18:07:11 +0000 (19:07 +0100)] 
i18n: Updated Polish translation

3 years agobuild-sys: Release pavucontrol 3.0
David Henningsson [Tue, 24 Mar 2015 14:31:00 +0000 (15:31 +0100)] 
build-sys: Release pavucontrol 3.0

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
3 years agodoc: Adapt the sed expression for cleaning up links
Alexander E. Patrakov [Fri, 13 Mar 2015 13:46:57 +0000 (18:46 +0500)] 
doc: Adapt the sed expression for cleaning up links

Some lynx versions produce links of the form file:///..., others produce
file://localhost/..., so catch both forms.

Reported-by: Peter Mattern <matternp@arcor.de>
Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
3 years agobuild-sys: Don't dist m4/ChangeLog
Arun Raghavan [Mon, 23 Mar 2015 18:05:39 +0000 (23:35 +0530)] 
build-sys: Don't dist m4/ChangeLog

Doesn't exist, and if it did, would likely be irrelevant.

3 years agobuild-sys: Fix README building
Arun Raghavan [Mon, 23 Mar 2015 18:04:43 +0000 (23:34 +0530)] 
build-sys: Fix README building

Fixes for out-of-tree build, as well as making --disable-lynx work
correctly. Note that make dist will fail if lynx support is disabled (as
it should, since README will then not be available to put in the
tarball).

3 years agomainwindow: Remember device visibility selections
Steven Dwy [Mon, 2 Feb 2015 13:32:08 +0000 (05:32 -0800)] 
mainwindow: Remember device visibility selections

stores the type of devices that are shown for Playback,
Recording, Output Devices, Input Devices, resp.

3 years agodevicewidget, streamwidget: Show only one volume slider when channels are locked
Ivan Ivanov [Sat, 8 Nov 2014 22:55:51 +0000 (00:55 +0200)] 
devicewidget, streamwidget: Show only one volume slider when channels are locked

4 years agomainwindow: Catch Gdk::PixbufError
Martin Steghöfer [Mon, 16 Feb 2015 10:29:29 +0000 (11:29 +0100)] 
mainwindow: Catch Gdk::PixbufError

Due to another bug the MIME type guessing of PNG files was broken on my
Ubuntu system. This made pavucontrol crash on startup (while loading the
necessary icons) without a helpful error message (requiring a lot of
debugging effort). Although this is not originally pavucontrol's fault,
I think that pavucontrol could be more robust about such a problem,
especially because:

A) In a complex database like the one to guess MIME types (that is populated
from hundres of different packages) this can happen from time to time and
B) pavucontrol already has some fallback options in place - they are just not
active in this specific case.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=88813
4 years agoHandle IO errors in icon setting code
Felipe Sateler [Wed, 22 Oct 2014 23:48:29 +0000 (20:48 -0300)] 
Handle IO errors in icon setting code

If gtk cannot load the file, it may throw a Gio::Error. In that case
fall back to setting the name.

BugLink: https://bugs.debian.org/765725
4 years agoDon't crash if pa_stream_peek returns NULL
Christer Stenbrenden [Wed, 22 Oct 2014 23:38:21 +0000 (20:38 -0300)] 
Don't crash if pa_stream_peek returns NULL

pa_stream_peek can return NULL if either the buffer is empty or if it
has a hole. In either case we need to avoid derefencing the data
pointer. Additionally, if there is a hole, we need to call pa_stream_drop,
if the buffer is empty we should not call it.

BugLink: https://bugs.debian.org/735898
4 years agoDo not instantiate cardwidget, devicewidget and rolewidget with a type of EventBox
Hans de Goede [Fri, 29 Aug 2014 07:42:04 +0000 (09:42 +0200)] 
Do not instantiate cardwidget, devicewidget and rolewidget with a type of EventBox

RoleWidget::create contains:
    x->get_widget_derived("streamWidget", w);

But streamWidget is defined as following in the glade file:
<object class="GtkEventBox" id="streamWidget">

Where as RoleWidget is derived from [Minimal]StreamWidget, which is derived
from Gtk::VBox, so this is clearly wrong.

Adding:
printf("rolewidget type: %s\n", g_type_name(G_TYPE_FROM_INSTANCE(w->gobj())));
for debugging shows that this really leads to RoleWidget being instantiated
as an EventBox (yet things still work due to sheer luck).

This commit fixes this, by putting the streamWidget id at the right level of
the hierarchy in the glade file (and likewise for cardWidget and deviceWidget).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
4 years agoReference the widget before returning it from ::create methods
Hans de Goede [Thu, 28 Aug 2014 10:58:05 +0000 (12:58 +0200)] 
Reference the widget before returning it from ::create methods

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>
4 years agoAdd horizontal scrollbars automatically
Simon Johansson [Mon, 23 Jun 2014 23:06:58 +0000 (01:06 +0200)] 
Add horizontal scrollbars automatically

Add a horizontal scrollbar inside each tab automatically when the window
is not wide enough. Add arrows for scrolling the tab bar when the tabs
don't fit inside the window.

4 years agoAdd TRANSLATORS_README.txt
Tanu Kaskinen [Sat, 15 Mar 2014 08:08:28 +0000 (10:08 +0200)] 
Add TRANSLATORS_README.txt

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=69535
4 years agoAdd a --maximize command line option
Pierre Zurek [Tue, 25 Feb 2014 16:36:51 +0000 (17:36 +0100)] 
Add a --maximize command line option

5 years agopavucontrol: ellipsize labels to fix window resizing
Alexander E. Patrakov [Fri, 13 Dec 2013 11:47:38 +0000 (17:47 +0600)] 
pavucontrol: ellipsize labels to fix window resizing

ellipsize labels to make the window resizable even with long label text
and add tooltips to provide a way to read the full text

Originally from Sebastian Wick <sebastian@sebastianwick.net>