Commit Graph

225 Commits

Author SHA1 Message Date
Colin Guthrie 61cae8cd40 Rename a variable to make it more generic 2009-06-27 22:37:46 +01:00
Colin Guthrie 159609135f Add support for changing ports.
This commit adds a combo box for selecting ports.
Overall this implementation could have taken two paths:
 * Implement port selection as combo box.
 * Implement port selection as a button.

I went for the first option as is done in selecting card profiles over the
second method used for selecting devices for streams. This seems more like
how a config option should be presented as opposed to a runtime type thing.
2009-06-27 18:14:05 +01:00
Colin Guthrie 7b3083df57 Don't use a hyperlink to display the device, just use a regular button.
I'm not super happy with this style but it's probably more reliable
2009-06-17 23:23:04 +01:00
Colin Guthrie 514a66e0c8 Do not disable the default button when it's set.
I reworked the way this was done so we can easily re-enable this as I think it's clearer when it's inactive
(the difference between toggled and not toggled is pretty minor).

With this abstraction we could reset the tooltip etc. too.
2009-06-17 22:44:02 +01:00
Colin Guthrie 7a7c1fc7f2 Hide the terminate button.
The terminate button is a last resort and shouldn't be promoted in the UI.

This commit hides it behind a right click menu instead.
This also hides the 'Set as Fallback' label in the glade file.
2009-06-17 22:25:19 +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 e71562619a Create the event role widget early so that it's always top of the list. 2009-06-17 08:54:14 +01:00
Colin Guthrie b96c707c12 Change 'Default' to 'Use as fallback' 2009-06-17 08:54:13 +01:00
Colin Guthrie ddd7d06dde Move the setBaseVolume()/setSteps() methods to devicewidget (problem found after rebasing) 2009-06-17 08:54:13 +01:00
Colin Guthrie dea5d0a0fe Include config.h in the cc file (after rebase) 2009-06-17 08:54:13 +01:00
Colin Guthrie 26d5749396 Add a tooltip 2009-06-17 08:54:13 +01:00
Colin Guthrie 4bd94fa2b8 Wire up all the new UI code.
This makes the default button work on sinks/sources, allows the drop
down to actually change the sink/source and removes the old menu code.

Some names and such are fixed in the glade file too.
2009-06-17 08:54:12 +01:00
Colin Guthrie 4c3acd35e5 Wire up the default toggle button (replaces the old menu) 2009-06-17 08:54:12 +01:00
Colin Guthrie fab8d8d524 Hook up the device combo box on change event 2009-06-17 08:54:12 +01:00
Colin Guthrie ca441f4c9d Remove the 'Default [Out|In]put' option from the combo for now.
It will be restored when it's actually possible to set/clear the default stream restore db
2009-06-17 08:54:12 +01:00
Colin Guthrie 0667b9d5ea Set the correct combo index for display purposes 2009-06-17 08:54:12 +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 903c26bd44 Add setter/getter methods for sink/source indexes so we can update our combo boxes current item 2009-06-17 08:54:11 +01:00
Colin Guthrie 255defb371 Remove the kill menu item now we have a dedicated button 2009-06-17 08:54:11 +01:00
Colin Guthrie ee855937cc Wire up the terminate button 2009-06-17 08:54:11 +01:00
Colin Guthrie 798f51f480 Set the pack_start on the deviceCombo 2009-06-17 08:54:11 +01:00
Colin Guthrie d617c39a08 Set the mainwindow pointer via an init() method rather than directly via public member variable.
This allows us to perform other general initialisation task (such as setting the tree model on the device combo)
2009-06-17 08:54:11 +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 e509205be2 Rebase the sink/source widgets on the device widget 2009-06-17 08:54:10 +01:00
Colin Guthrie 644cfddf39 Create a devicewidget based on streamwidget.
This will become the base for Output and Input device tabs (as the streamwidget will have a different UI)
2009-06-17 08:54:10 +01:00
Colin Guthrie 7d296ec195 Glade UI changes. Code still needs to be updated 2009-06-17 08:54:09 +01:00
Lennart Poettering 4e73145363 make sure that two card profiles with the same priority don't collide with each other 2009-06-17 02:34:22 +02:00
Lennart Poettering 874ebedf16 don't abort when icon is missing from the theme 2009-06-14 19:28:32 +02:00
Lennart Poettering d30c045dac don't show failure msgbox twice 2009-04-14 00:14:48 +02:00
Lennart Poettering ee58abeb91 reenable monitor streams 2009-04-14 00:00:01 +02:00
Lennart Poettering 98aab64c36 Merge commit 'coling/master' 2009-04-13 23:21:00 +02:00
Lennart Poettering 8a490558da don't show wait cursor forever if stream_restore extension is not available 2009-04-08 04:09:38 +02:00
Colin Guthrie dc2eb66e0a Order the card profiles by their priority 2009-03-25 21:10:21 +00:00
Colin Guthrie 514a8c1227 Silence a warning 2009-03-25 21:06:33 +00:00
Lennart Poettering feff1f6f05 configure steps for scales 2009-03-21 03:49:19 +01:00
Lennart Poettering 7116369503 visualize base volume 2009-03-21 03:27:25 +01:00
Colin Guthrie 6499304945 Shuffle some headers around a bit so that some systems don't have build errors 2009-03-18 21:06:28 +00:00
Colin Guthrie c4208bfd8e Use C style comments as per Lennart's fetish :p 2009-03-18 21:01:03 +00:00
Colin Guthrie c6b73de308 Move config.h inclusion to the .cc files 2009-03-18 20:58:17 +00:00
Colin Guthrie 53288073c1 Split mainwindow into it's own files. 2009-03-16 13:21:14 +00:00
Colin Guthrie cf3da7b364 Split rolewidget into it's own files. 2009-03-16 13:13:34 +00:00
Colin Guthrie 0d746559c3 Split sourceoutputwidget out into it's own files. 2009-03-16 13:05:58 +00: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
Colin Guthrie ed4f413ec5 Split sourcewidget into it's own files. 2009-03-16 12:45:53 +00:00
Colin Guthrie 38e7792eec Split sinkwidget into it's own files. 2009-03-16 12:41:02 +00:00
Colin Guthrie d3a66f65b5 Split cardwidget out into it's own files.
Also define a get_context() method to get the context from outside of the main file.
2009-03-15 13:32:28 +00:00
Colin Guthrie a8357b3dc2 Move common setup into a shared header 2009-03-15 13:08:22 +00:00
Colin Guthrie e1e452ac22 Split out streamwidget into it's own files.
Also correct the location of the argument default value specification (it should be in prototype not implementation)
2009-03-15 13:02:56 +00:00
Colin Guthrie f6af4f80b8 Split channelwidget into separate files. Also separate out the definition of streamwidget into it's own header 2009-03-15 12:54:56 +00:00
Colin Guthrie 11989db61a Include config.h in minimalstreamwidget.h 2009-03-15 12:54:07 +00:00
Colin Guthrie 1c73564f66 Split the minimalstreamwidget into it's own file 2009-03-15 12:42:45 +00:00
Colin Guthrie 0fbc2b1466 Remove the minimalStreamWindow. It's no longer used 2009-03-06 00:02:06 +00:00
Lennart Poettering 36aa55760c Merge commit 'coling/master' 2009-03-02 22:45:59 +01:00
Lennart Poettering 6154459500 use the server provided icons 2009-03-02 22:29:48 +01:00
Colin Guthrie 1758320b6a Initialise our dropdown at contruction and just repopulate it when the cardinfo callback is received 2009-03-02 20:36:44 +00:00
Lennart Poettering 3d5133064e various small glade updates 2009-03-02 18:41:02 +01:00
Colin Guthrie d816be58d6 Fix the number of outstanding operations.
This uses an incrementing rather than fixed value as it more obviously reflects what's going on.
2009-02-28 20:37:44 +00:00
Colin Guthrie 188ee8c2c2 Typo: spell configuration right 2009-02-28 19:52:17 +00:00
Colin Guthrie 6a76183326 Add a new widget for the card configuration and use it.
This change allows the card profiles to be shown in a combo box. This is more natural and obvious
than hiding things in the submenu.
2009-02-28 19:51:08 +00:00
Colin Guthrie 1f1c8c8576 Create a new 'Configuration' tab
Move the card listing into this tab.
2009-02-28 18:01:07 +00:00
Colin Guthrie 3372cd120c Silence some warnings 2009-02-28 17:35:36 +00:00
Colin Guthrie e0c299d979 Initial support for changing card profiles.
This hijacks the Output Devices tab to display things for now. I'm currently undecided as to whether a new tab
or more intellegent handling display of the Card Widget is best.
2009-02-28 17:11:41 +00:00
Christoph Wickert fbdad2ddde Add 'Mixer' categorization to .desktop file 2009-02-25 05:19:03 +01:00
Lennart Poettering 01e4826b65 deal with non-initialized data from m-s-r 2009-02-04 18:40:12 +01:00
Lennart Poettering 1ad5143d15 remove debug output 2008-10-09 16:51:00 +02:00
Lennart Poettering 67a0cb9e24 initialize maximum buffer length to automatic value (uint32_t) -1 instead of smallest value 0 2008-09-09 02:09:44 +03:00
Lennart Poettering ecc9ad9b06 beep when changing volume 2008-08-19 17:36:18 +02:00
Lennart Poettering c019877a9e internationalize pavucontrol.cc 2008-08-05 20:45:24 +02:00
Lennart Poettering 808ba48d95 hide .desktop file from git 2008-08-05 20:26:51 +02:00
Lennart Poettering 21bb91f1b9 add i18n 2008-08-05 20:20:09 +02:00
Lennart Poettering 1a75fb1ddd use system installed glade file 2008-08-05 19:48:31 +02:00
Lennart Poettering 3cca13223b update license headers for GPL 2.0+ 2008-08-05 19:42:21 +02:00
Lennart Poettering a32b21a417 add a special track for controlling event sound volume 2008-08-05 19:05:33 +02:00
Lennart Poettering a652b7655e fix glade widget name case 2008-07-21 15:54:52 +02:00
Lennart Poettering 52a85a0737 remove $Id$ 2008-07-15 13:24:56 +02:00
Lennart Poettering 5bf3e3e197 add gitignore 2008-07-15 13:16:45 +02:00
Lennart Poettering be54ba8157 Make icons work
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@83 c17c95f2-f111-0410-90bf-f30a9569010c
2008-06-17 20:24:54 +00:00
Lennart Poettering 3dd1a3f7ad show stream icons, don't show our own monitor streams, initialize client proplist properly
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@82 c17c95f2-f111-0410-90bf-f30a9569010c
2008-06-12 11:26:06 +00:00
Lennart Poettering 91ed6f0355 add volume meter support to each sink/source/record stream
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@81 c17c95f2-f111-0410-90bf-f30a9569010c
2008-05-21 22:52:23 +00:00
Lennart Poettering fdd7a5220c more intelligent initial page selection
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@80 c17c95f2-f111-0410-90bf-f30a9569010c
2008-05-15 23:07:40 +00:00
Sjoerd Simons 386c8efd5a Also point the minimalStreamWindow downward
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@79 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-25 22:08:53 +00:00
Lennart Poettering 9f317f14dd move no_xxx labels in the middle of the dialogs
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@78 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-22 01:00:24 +00:00
Lennart Poettering 93aa980ebc properly initialize source output type dropdown; show string for record streams properly
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@77 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-22 00:45:40 +00:00
Lennart Poettering 99cad6b3ea switch to sink page by default if no streams are active
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@76 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-21 00:21:04 +00:00
Lennart Poettering ddbfecc15b unclutter UI, remove redundant hint bar
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@75 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-21 00:13:10 +00:00
Lennart Poettering 52abd202b5 show volume in decibel
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@74 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-20 23:56:36 +00:00
Lennart Poettering 0fa6450239 Remove the white header, drop all references to PulseAudio to become a more normal program
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@73 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-20 23:00:27 +00:00
Lennart Poettering 5de02d1248 move the lock/mute buttons to the same spot as the menu buttons
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@72 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-20 22:39:45 +00:00
Lennart Poettering d8b6b58fe3 Merge patch from sjoerd that adds a new panel for listing recording streams, and makes the menu more visible by adding a button for it
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@71 c17c95f2-f111-0410-90bf-f30a9569010c
2008-04-20 22:13:20 +00:00
Lennart Poettering c80c710d05 don't crash if server has no default sink/source set
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@68 c17c95f2-f111-0410-90bf-f30a9569010c
2008-03-28 18:44:46 +00:00
Lennart Poettering 98a7f6c5d1 show radio buttons for the the sink menu items
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@67 c17c95f2-f111-0410-90bf-f30a9569010c
2007-11-20 02:14:59 +00:00
Lennart Poettering fba2d82be4 make stream title selectable, Closes #140 in pa trac
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@63 c17c95f2-f111-0410-90bf-f30a9569010c
2007-10-30 14:28:49 +00:00
Lennart Poettering 362b4b2b0c add option to kill a stream to popup menu
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@62 c17c95f2-f111-0410-90bf-f30a9569010c
2007-09-02 23:53:16 +00:00
Lennart Poettering e41c9bed6c add popup menu to sink/source view to choose default device
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@61 c17c95f2-f111-0410-90bf-f30a9569010c
2007-09-02 23:38:55 +00:00
Lennart Poettering e7ecb63249 use pretty channel names
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@60 c17c95f2-f111-0410-90bf-f30a9569010c
2007-09-02 21:29:48 +00:00
Lennart Poettering e6846ac8ac add a combobox to the streams page, to filter application streams
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@59 c17c95f2-f111-0410-90bf-f30a9569010c
2007-08-31 01:16:50 +00:00
Lennart Poettering 4de2617bcd Don't pass the button index to popup() for the GtkMenu to avoid strange GTK behaviour in newer versions. Identified by coling
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@58 c17c95f2-f111-0410-90bf-f30a9569010c
2007-08-24 14:43:36 +00:00
Lennart Poettering 50c6cd4a01 support muting sink inputs, avoid duplicate events
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@55 c17c95f2-f111-0410-90bf-f30a9569010c
2007-08-15 19:37:23 +00:00
Lennart Poettering 5a6d91cf84 fix button tooltips
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@54 c17c95f2-f111-0410-90bf-f30a9569010c
2007-08-15 15:14:36 +00:00
Lennart Poettering 53c8c67bca fix lock icon
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@53 c17c95f2-f111-0410-90bf-f30a9569010c
2007-08-09 00:04:14 +00:00
Lennart Poettering 480655df06 minor tweaks
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@52 c17c95f2-f111-0410-90bf-f30a9569010c
2007-08-07 00:17:22 +00:00
Lennart Poettering e1c3058f9e Fix license mess: change everything to GPL
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@51 c17c95f2-f111-0410-90bf-f30a9569010c
2007-05-23 23:34:52 +00:00
Lennart Poettering d9b8cb6cfd add lightbulb
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@46 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-25 22:49:33 +00:00
Lennart Poettering 65cb23b0ed - add new option "All Except Monitor Sources" to sources option menu
- show a nice hint that one can right click on a stream


git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@45 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-21 00:56:38 +00:00
Lennart Poettering 0f279b44ac use the sink descripion instead of the name for the stream popup menu
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@44 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-11 23:56:57 +00:00
Lennart Poettering 79d647f33e In times where the sink/source names are generated from HAL UDIs don't show the cryptic device name any more
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@43 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-11 17:25:55 +00:00
Lennart Poettering 1af6b39a9a optimize redraw a little
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@42 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-07 16:45:30 +00:00
Lennart Poettering e634d7a918 add popup menu to stream list, allowing "hot" moving of playback streams between sinks
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@41 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-07 15:26:52 +00:00
Lennart Poettering a0c6b92eff add focus target
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@40 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-07 13:54:09 +00:00
Lennart Poettering 6649ebede6 show an watch cursor while loading device data
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@39 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-07 13:50:02 +00:00
Lennart Poettering 8a5e95797f add combobox to show only a subset of sinks/sources, replacing the old monitor expander
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@38 c17c95f2-f111-0410-90bf-f30a9569010c
2006-08-07 13:29:46 +00:00
Lennart Poettering 83e58b3393 show client name only if we have it
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@31 c17c95f2-f111-0410-90bf-f30a9569010c
2006-07-21 20:17:49 +00:00
Lennart Poettering 267485855d include config.h properly
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@28 c17c95f2-f111-0410-90bf-f30a9569010c
2006-06-21 14:10:22 +00:00
Lennart Poettering 789012dd4c s/polyp/pulse/g
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@26 c17c95f2-f111-0410-90bf-f30a9569010c
2006-06-20 23:48:27 +00:00
Lennart Poettering ac9aae022d actually ship the .desktop file
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@22 c17c95f2-f111-0410-90bf-f30a9569010c
2006-06-02 20:41:49 +00:00
Lennart Poettering 11ac91db58 use gtk_widget_queue_redraw() to try to workaround an issues that the sources are not shown
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@21 c17c95f2-f111-0410-90bf-f30a9569010c
2006-06-01 13:39:47 +00:00
Pierre Ossman 206556d05f Add .desktop file.
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@20 c17c95f2-f111-0410-90bf-f30a9569010c
2006-05-31 12:15:47 +00:00
Lennart Poettering dee56dc7a3 set icon for the main window
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@19 c17c95f2-f111-0410-90bf-f30a9569010c
2006-05-28 00:34:30 +00:00
Lennart Poettering 45806d5ef5 use some icons from the icon spec
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@18 c17c95f2-f111-0410-90bf-f30a9569010c
2006-05-28 00:32:48 +00:00
Lennart Poettering d6deb8caf5 Show client name for playback streams
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@14 c17c95f2-f111-0410-90bf-f30a9569010c
2006-05-20 17:28:50 +00:00
Lennart Poettering 2e1bf7e600 * change scale behaviour to be more resposive
* make "Streams" page the default


git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@13 c17c95f2-f111-0410-90bf-f30a9569010c
2006-05-16 21:13:41 +00:00
Lennart Poettering 9a412b79a5 make SIGPIPE warning disappear
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@10 c17c95f2-f111-0410-90bf-f30a9569010c
2006-04-22 18:21:12 +00:00
Lennart Poettering b2e637623c fix glade file path
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@8 c17c95f2-f111-0410-90bf-f30a9569010c
2006-04-21 20:38:39 +00:00
Lennart Poettering c80dbcd3d4 show proper message boxes in case of error instead of printing just to STDERR
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@4 c17c95f2-f111-0410-90bf-f30a9569010c
2006-04-21 19:24:32 +00:00
Lennart Poettering 296f986a9e initial commit
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@3 c17c95f2-f111-0410-90bf-f30a9569010c
2006-04-21 14:51:33 +00:00