Commit Graph

19 Commits

Author SHA1 Message Date
Tanu Kaskinen 36d82f23aa remove unnecessary Window -> MainWindow casting
mainwindow.h and pavucontrol.h include each other, which makes it
necessary to declare some types before the include directives.
2017-11-02 10:51:34 +02:00
Colin Leroy f6ce4fb8db Implement single-launch with Gtk::Application
This introduces a new file for clarity. Options
handling changes so that --tab changes the tab
if the window is already opened. Other options
are only used at start time.
2017-11-01 13:39:39 +02:00
Lukas K f6015d6426 Add checkbutton for disabling volume meters
Add a checkbutton for disabling volume meters because of high CPU
utilisation when updating them
2016-04-26 18:15:57 +03:00
Pierre Zurek dc4bdf091f Add a --maximize command line option 2014-03-07 16:04:32 +02:00
Arun Raghavan 8e359a8f71 source: Only autosuspend network sources
This makes sure we inhibit autosuspend only for network sources (which
was the main purpose of adding autosuspend, since constantly monitoring
those is network heavy).
2011-09-23 08:21:07 +05:30
Colin Guthrie 479e7bcd6e Add UI to select the formats supported by the receiver attached to a digitial sink 2011-08-10 14:22:55 +02:00
Colin Guthrie 53c38faa8a Handle simple key events.
* Use ctrl+w or ctrl+q or esc to quit.
 * Uset ctrl+1-5 to change tabs.
2011-06-06 12:18:14 +02:00
Colin Guthrie 933b8a7009 Deal more gracefully with disconnections.
As pavucontrol is often used for debugging PA, it should
be quite robust and not popup messages etc. under 'normal'
testing conditions. This adds quite a verbose message under
some specific conditions that do crop up from time to time.
2011-06-06 12:18:06 +02:00
Rafał Mużyło 9ce0e0a380 Drop the need to use libglademm 2011-03-03 14:31:14 +00:00
Maarten Bosmans 5997290d1e Add DONT_INHIBIT_AUTO_SUSPEND flag to monitor streams 2011-03-03 13:52:21 +00:00
Colin Guthrie 94add670c4 mainwindow: Save/restore window size 2010-04-22 00:04:56 +01:00
Colin Guthrie 7de18201a3 connection: Show a nice label when connecting to PA. 2010-04-20 20:24:15 +01:00
Colin Guthrie 6c0bcb4c08 mainwindow: Add a method to remove all widgets (e.g. on disconnect) 2010-04-20 20:00:37 +01:00
Colin Guthrie 78f5194541 Allow for the sink input peak detect to survive across sink moves. 2009-10-17 15:59:29 +01:00
Colin Guthrie 375c2c2d62 Add support for the device-manager module.
Currently this module only really allows for devices to be renamed, so we add a new
dialog that can be activated by right clicking on devices (i.e. sinks/sources).
This dialog allows you to enter a new name which will be set via the extension
provided by the device-manager module.

Future work will allow you to manage (i.e. rename, delete etc) offline devices too.
2009-10-15 13:03:16 +01:00
Colin Guthrie 02b316fcba More changes in the UI to try and make things neater.
This abandons the combo box approach an instead partially reverts to the popup.
We now display a suffix after the stream title saying " on <device>" or " from <device>"
where the <device> part looks like a hyperlink and, when clicked, shows the popup to change the device.

If there is only one device available, we suppress the whole thing and thus avoid confusion.
2009-06-17 08:54:14 +01:00
Colin Guthrie cfa1cd3d49 Record in a map the combobox indexes vs. the sink/source indexes 2009-06-17 08:54:12 +01:00
Colin Guthrie 7b7a12f1d2 Adapt to new UI
The actual wiring up of events and clearing out of old, unused elements is
not complete yet, so this is completely non-functional at present.
2009-06-17 08:54:10 +01:00
Colin Guthrie dc5498f86a Split sinkinputwidget into it's own files.
Also had to put mainwindow into it's own header for this to work. Full conversion of mainwindow will ultimately follow.
2009-03-16 12:59:01 +00:00