summaryrefslogtreecommitdiff
path: root/mate-volume-control/applet-main.c
AgeCommit message (Collapse)AuthorFilesLines
2023-10-05applet: Do not override the process' text domainColomban Wendling1-5/+1
When loaded as in-process applet, we must not call `textdomain()` or we will override mate-panel's text domain. Instead, properly use gi18n-lib.h header that provides the same API but uses the compile-time `GETTEXT_PACKAGE` value for each call. Actually drop the whole i18n setup logic that is provided already by mate-panel's factory macros. Fixes #203.
2023-07-05position popup slider properly in wayland and make wayland optional (#196)Luke from DC1-0/+8
* Wayland: fix position of volume slider using GtkLayerShell edge and margin settings *Unused edge anchors and margins set to zero to avoid glitches when orientation changes * Build options: *(default) out of process, no wayland support as wayland support is experimental *in-process, no wayland support (--enable-in-process --disable-wayland) * wayland dependencies not checked for or used *in-process with wayland support (--enable-wayland also calls --in-process) * wayland dependencies checked for and required
2023-06-14Applet: port to in-process for wayland supportlukefromdc1-1/+1
*Wayland cannot use xembed/GtkPlug/GtkSocket so port to in-process. *The applet then works on wayland. *Two out of process-only code blocks requiring separate windows removed
2021-06-21update copyright to 2021raveit651-0/+1
2019-03-09Re-enable old GtkStatusIconVictor Kareh1-0/+1
This allows us to have builds that use both the legacy status icon as well as the new applet.
2019-02-26Convert GtkStatusIcon to real appletVictor Kareh1-34/+27
2016-10-19fix indentmonsta1-9/+9
2016-10-19Port from libunique to GApplication and GtkApplicationZenWalker1-4/+10
applet-main.c: gtk2 and gtk3 Port to Gapplication based on this gnome-media commits: https://github.com/GNOME/gnome-media/commit/7b5a8127cea09779dd172b0b7598d2ad03b2e47b https://github.com/GNOME/gnome-media/commit/7283e156e0ea1b2d19292a97104b3ad49fc9e693 dialog-main.c: gtk3 Port to Gapplication and GtkApplication I did this implementation Fixes #77
2014-11-08Move some files and directories to better locationsMichal Ratajsky1-0/+94
- mate-volume-control/data changed to /data - mate-volume-control/src/* moved to mate-volume-control - sound-theme/sounds changed to /data/sounds - sound-theme/*.{c,h} moved to mate-volume-control - Removed AUTHORS and ChangeLog.pre-2-26 from mate-volume-control