Commit Graph

430 Commits

Author SHA1 Message Date
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 b533288d5a update po/ 2009-06-17 03:52:50 +02:00
Lennart Poettering b883ebf35d Merge commit 'origin/master-tx' 2009-06-17 03:51:01 +02:00
Lennart Poettering f31d6c67a6 Merge commit 'coling/master' 2009-06-17 03:50:16 +02: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
Colin Guthrie d781a79a58 Fix my name. 2009-06-10 23:06:52 +01:00
aalam 4a2eb79446 Sending translation for Punjabi 2009-06-06 01:45:26 +00:00
rajesh b8d40ac527 Sending translation for po/hi.po 2009-06-05 06:13:15 +00:00
jassy fa79fc2502 Sending translation for Punjabi 2009-06-01 10:53:11 +00:00
jassy b5a70bae65 Sending translation for Punjabi 2009-05-26 09:56:10 +00:00
runab a8ab6c8c05 Sending translation for Bengali (India) 2009-05-26 06:24:26 +00:00
anipeter 43e244fc73 Sending translation for Malayalam 2009-05-06 12:27:26 +00:00
feonsu 6d5f985990 Sending translation for Slovak 2009-05-04 12:32:21 +00:00
kmilos 2960fa91bb Sending translation for po/sr@latin.po 2009-05-03 21:57:58 +00:00
kmilos ab9049d487 Sending translation for Serbian 2009-05-03 21:57:29 +00:00
renault dbe31245c4 Sending translation for French 2009-05-01 01:42:09 +00:00
renault 1d91afd6ea Sending translation for French 2009-05-01 01:12:58 +00:00
ruigo a6dfda2870 Sending translation for Portuguese 2009-04-28 11:20:50 +00:00
pmkovar ca267cf006 Sending translation for Czech 2009-04-27 21:25:05 +00:00
amitakhya 89f44251cf Sending translation for Assamese 2009-04-23 06:13:05 +00:00
stiletto 134245de6c Sending translation for po/ru.po 2009-04-23 06:06:28 +00:00
marionline f667773d9b Sending translation for Italian 2009-04-20 17:50:20 +00:00
igor a99533afbd Sending translation for Brazilian Portuguese 2009-04-19 22:58:35 +00:00
troubi51 62ca56ccec Sending translation for French 2009-04-18 11:25:44 +00:00
heffer 35c830a4e1 Sending translation for German 2009-04-16 15:38:11 +00:00
kristho 7b7276e518 Sending translation for Danish 2009-04-15 15:04:58 +00:00