Skip to content
Snippets Groups Projects
  1. Jun 02, 2020
  2. Dec 22, 2019
  3. Nov 27, 2019
  4. Sep 19, 2019
    • Tanu Kaskinen's avatar
      mainwindow: set the updating flag later for sinks and sources · 0dd27ba3
      Tanu Kaskinen authored
      The updating flag is used to determine whether a change in some UI
      control state is due to a user action or an update from the server. The
      flag was set to false too early when processing sink and source updates
      from the server. This caused at least unnecessary "set port" commands,
      because each update refreshes the port list, which generates change
      events in the port list combo box, causing the portChanged callbacks to
      be called.
      
      The unnecessary "set port" commands could even confuse the automatic
      port selection policies in the server. If the current port wasn't
      originally explicitly chosen by the user, then the "set port" command
      from pavucontrol will make the server think that the user explicitly
      chose that port.
      0dd27ba3
  5. Jul 27, 2019
    • Tanu Kaskinen's avatar
      mainwindow: scale icons to sane size · e6caa8b8
      Tanu Kaskinen authored
      If load_icon() fails, we treat the icon name as a file path and try to
      load an image from the path. In case that works, we need to ensure that
      the has correct size. Previously that wasn't done, which led to too
      large icons.
      
      scale_simple() doesn't do anything if the image is already the correct
      size, so we can call it unconditionally.
      
      The exception handling was a bit weird in that the exception types
      didn't match the documentation of IconTheme::load_icon() and
      Image::set(). I updated the exception types (Image::set() doesn't need
      exception handling any more, because now it's called with a Pixbuf
      rather than a file name).
      
      Fixes: #60
      e6caa8b8
  6. Feb 09, 2019
  7. Nov 21, 2018
    • Tanu Kaskinen's avatar
      drop gtk2 support · dfeabf08
      Tanu Kaskinen authored
      When opening pavucontrol.glade with Glade 3.22.1, this message was
      shown:
      
          pavucontrol.glade targets Gtk+ 2.16
      
          But this version of Glade is for GTK+ 3 only.
          Make sure you can run this project with Glade 3.8 with no deprecated
          widgets first.
      
      I think it's best to just drop the gtk2 support.
      dfeabf08
  8. Nov 01, 2017
  9. May 01, 2016
  10. Apr 26, 2016
  11. Apr 10, 2015
  12. Feb 26, 2015
  13. Feb 16, 2015
    • Martin Steghöfer's avatar
      mainwindow: Catch Gdk::PixbufError · ed140c23
      Martin Steghöfer authored and David Henningsson's avatar David Henningsson committed
      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
      ed140c23
  14. Oct 28, 2014
  15. Sep 07, 2014
  16. Mar 07, 2014
  17. Dec 13, 2013
  18. Nov 24, 2012
  19. Nov 19, 2012
    • Tanu Kaskinen's avatar
      mainwindow: Don't clear the "updating" flag in updateCard() too early. · f0853f08
      Tanu Kaskinen authored
      The prepareMenu() call can change the active profile selection, which
      in turn will cause a "set card profile" command to be sent to the
      server if the "updating" flag is not set, so the "updating" flag needs
      to be set when calling prepareMenu() from updateCard().
      
      This caused a problem with disconnecting bluetooth headsets: as part
      of the disconnection procedure, module-bluetooth-device sets the card
      profile to "off". At that point module-card-restore doesn't do
      anything, because the change is marked as "don't save". But the
      profile change event is then sent to pavucontrol, which updates its
      view, and pavucontrol sends the new profile ("off") back to
      pulseaudio, and this time the profile change iss marked as "please
      save", so module-card-restore restores the "off" profile when the
      device is connected again, even though the user never requested the
      "off" profile to be chosen.
      f0853f08
  20. Sep 27, 2012
  21. Jul 27, 2012
  22. Sep 23, 2011
  23. Aug 18, 2011
  24. Aug 16, 2011
  25. Aug 10, 2011
  26. Jul 22, 2011
  27. Jun 06, 2011
    • Colin Guthrie's avatar
      Handle simple key events. · 53c38faa
      Colin Guthrie authored
       * Use ctrl+w or ctrl+q or esc to quit.
       * Uset ctrl+1-5 to change tabs.
      53c38faa
    • Colin Guthrie's avatar
      Deal more gracefully with disconnections. · 933b8a70
      Colin Guthrie authored
      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.
      933b8a70
  28. Apr 29, 2011
  29. Mar 09, 2011
  30. Mar 03, 2011
  31. Apr 21, 2010
  32. Apr 20, 2010
Loading