├── .github ├── FUNDING.yml ├── dependabot.yml ├── issue_template.md └── workflows │ ├── archlinux.sh │ ├── builds.sh │ ├── builds.yml │ ├── debian.sh │ ├── fedora.sh │ ├── mate-desktop.sh │ ├── release.yml │ └── ubuntu.sh ├── .tx ├── config └── config_20221028214813.bak ├── AUTHORS ├── COPYING ├── ChangeLog ├── Makefile.am ├── NEWS ├── README ├── TODO ├── autogen.sh ├── capplets ├── Makefile.am ├── about-me │ ├── AUTHORS │ ├── Makefile.am │ ├── e-image-chooser.c │ ├── e-image-chooser.h │ ├── fingerprint-strings.h │ ├── mate-about-me-dialog.ui │ ├── mate-about-me-fingerprint.c │ ├── mate-about-me-fingerprint.h │ ├── mate-about-me-fingerprint.ui │ ├── mate-about-me-password.c │ ├── mate-about-me-password.h │ ├── mate-about-me-password.ui │ ├── mate-about-me.c │ ├── mate-about-me.desktop.in │ ├── meson.build │ ├── org.mate.mcc.am.gresource.xml │ └── ui-a11y.suppr ├── accessibility │ ├── Makefile.am │ └── at-properties │ │ ├── Makefile.am │ │ ├── at-enable-dialog.ui │ │ ├── at-startup.png │ │ ├── at-support.png │ │ ├── dm-util.c │ │ ├── dm-util.h │ │ ├── main.c │ │ ├── mate-at-properties.desktop.in │ │ ├── meson.build │ │ ├── org.mate.mcc.accessibility.at.gresource.xml │ │ └── ui-a11y.suppr ├── appearance │ ├── Makefile.am │ ├── appearance-desktop.c │ ├── appearance-desktop.h │ ├── appearance-font.c │ ├── appearance-font.h │ ├── appearance-main.c │ ├── appearance-style.c │ ├── appearance-style.h │ ├── appearance-support.c │ ├── appearance-support.h │ ├── appearance-themes.c │ ├── appearance-themes.h │ ├── appearance-ui.c │ ├── appearance-ui.h │ ├── appearance.h │ ├── data │ │ ├── Makefile.am │ │ ├── appearance.ui │ │ ├── gtk-theme-thumbnailing.png │ │ ├── icon-theme-thumbnailing.png │ │ ├── mate-appearance-properties.desktop.in │ │ ├── mate-theme-installer.desktop.in │ │ ├── mate-theme-package.xml.in │ │ ├── meson.build │ │ ├── mouse-cursor-normal-large.png │ │ ├── mouse-cursor-normal.png │ │ ├── mouse-cursor-white-large.png │ │ ├── mouse-cursor-white.png │ │ ├── subpixel-bgr.png │ │ ├── subpixel-rgb.png │ │ ├── subpixel-vbgr.png │ │ ├── subpixel-vrgb.png │ │ ├── theme-thumbnailing.png │ │ ├── ui-a11y.suppr │ │ └── window-theme-thumbnailing.png │ ├── mate-wp-info.c │ ├── mate-wp-info.h │ ├── mate-wp-item.c │ ├── mate-wp-item.h │ ├── mate-wp-xml.c │ ├── mate-wp-xml.h │ ├── meson.build │ ├── org.mate.mcc.appearance.gresource.xml │ ├── theme-installer.c │ ├── theme-installer.h │ ├── theme-save.c │ ├── theme-save.h │ ├── theme-util.c │ └── theme-util.h ├── common │ ├── Makefile.am │ ├── activate-settings-daemon.c │ ├── activate-settings-daemon.h │ ├── capplet-util.c │ ├── capplet-util.h │ ├── dconf-util.c │ ├── dconf-util.h │ ├── file-transfer-dialog.c │ ├── file-transfer-dialog.h │ ├── gtkrc-utils.c │ ├── gtkrc-utils.h │ ├── mate-theme-apply.c │ ├── mate-theme-apply.h │ ├── mate-theme-info.c │ ├── mate-theme-info.h │ ├── mate-theme-test.c │ ├── meson.build │ ├── theme-thumbnail.c │ ├── theme-thumbnail.h │ ├── wm-common.c │ └── wm-common.h ├── default-applications │ ├── Makefile.am │ ├── icons │ │ ├── 16x16 │ │ │ └── categories │ │ │ │ └── instant-messaging.png │ │ ├── 22x22 │ │ │ └── categories │ │ │ │ └── instant-messaging.png │ │ ├── 24x24 │ │ │ └── categories │ │ │ │ └── instant-messaging.png │ │ ├── 256x256 │ │ │ └── categories │ │ │ │ └── instant-messaging.png │ │ ├── 32x32 │ │ │ └── categories │ │ │ │ └── instant-messaging.png │ │ ├── 48x48 │ │ │ └── categories │ │ │ │ └── instant-messaging.png │ │ ├── Makefile.am │ │ └── meson.build │ ├── mate-da-capplet.c │ ├── mate-da-capplet.h │ ├── mate-default-applications-properties.desktop.in │ ├── mate-default-applications-properties.ui │ ├── mate-default-applications.pc.in │ ├── meson.build │ └── org.mate.mcc.da.gresource.xml ├── display │ ├── Makefile.am │ ├── TODO │ ├── display-capplet.ui │ ├── foo-marshal.list │ ├── mate-display-properties-install-systemwide.c │ ├── mate-display-properties.desktop.in │ ├── meson.build │ ├── org.mate.mcc.display.gresource.xml │ ├── org.mate.randr.policy.in │ ├── scrollarea.c │ ├── scrollarea.h │ ├── ui-a11y.suppr │ └── xrandr-capplet.c ├── keybindings │ ├── 00-multimedia-key.xml.in │ ├── 01-desktop-key.xml.in │ ├── Makefile.am │ ├── eggaccelerators.c │ ├── eggaccelerators.h │ ├── eggcellrendererkeys.c │ ├── eggcellrendererkeys.h │ ├── mate-keybinding-properties.c │ ├── mate-keybinding-properties.ui │ ├── mate-keybinding.desktop.in │ ├── mate-keybindings.pc.in │ ├── meson.build │ ├── org.mate.mcc.keybindings.gresource.xml │ └── ui-a11y.suppr ├── keyboard │ ├── Makefile.am │ ├── mate-keyboard-properties-a11y-notifications.ui │ ├── mate-keyboard-properties-a11y.c │ ├── mate-keyboard-properties-a11y.h │ ├── mate-keyboard-properties-dialog.ui │ ├── mate-keyboard-properties-layout-chooser.ui │ ├── mate-keyboard-properties-model-chooser.ui │ ├── mate-keyboard-properties-options-dialog.ui │ ├── mate-keyboard-properties-xkb.c │ ├── mate-keyboard-properties-xkb.h │ ├── mate-keyboard-properties-xkblt.c │ ├── mate-keyboard-properties-xkbltadd.c │ ├── mate-keyboard-properties-xkbmc.c │ ├── mate-keyboard-properties-xkbot.c │ ├── mate-keyboard-properties-xkbpv.c │ ├── mate-keyboard-properties.c │ ├── mate-keyboard.desktop.in │ ├── meson.build │ ├── org.mate.mcc.keyboard.gresource.xml │ └── ui-a11y.suppr ├── meson.build ├── mouse │ ├── Makefile.am │ ├── double-click-maybe.svg │ ├── double-click-off.svg │ ├── double-click-on.svg │ ├── mate-mouse-properties.c │ ├── mate-mouse-properties.ui │ ├── mate-settings-mouse.desktop.in │ ├── meson.build │ ├── msd-input-helper.c │ ├── msd-input-helper.h │ ├── org.mate.mcc.mouse.gresource.xml │ └── ui-a11y.suppr ├── network │ ├── Makefile.am │ ├── mate-network-properties.c │ ├── mate-network-properties.desktop.in │ ├── mate-network-properties.ui │ ├── meson.build │ ├── org.mate.mcc.network.gresource.xml │ └── ui-a11y.suppr ├── system-info │ ├── Makefile.am │ ├── info-cleanup.c │ ├── info-cleanup.h │ ├── main.c │ ├── mate-system-info.c │ ├── mate-system-info.desktop.in │ ├── mate-system-info.h │ ├── mate-system-info.ui │ ├── meson.build │ └── system-info.gresource.xml ├── time-admin │ ├── Makefile.am │ ├── data │ │ ├── Makefile.am │ │ ├── map │ │ │ ├── backward │ │ │ ├── bg.png │ │ │ ├── bg_dim.png │ │ │ ├── cc.png │ │ │ ├── pin.png │ │ │ ├── timezone_-1.png │ │ │ ├── timezone_-10.png │ │ │ ├── timezone_-10_dim.png │ │ │ ├── timezone_-11.png │ │ │ ├── timezone_-11_dim.png │ │ │ ├── timezone_-1_dim.png │ │ │ ├── timezone_-2.png │ │ │ ├── timezone_-2_dim.png │ │ │ ├── timezone_-3.5.png │ │ │ ├── timezone_-3.5_dim.png │ │ │ ├── timezone_-3.png │ │ │ ├── timezone_-3_dim.png │ │ │ ├── timezone_-4.5.png │ │ │ ├── timezone_-4.5_dim.png │ │ │ ├── timezone_-4.png │ │ │ ├── timezone_-4_dim.png │ │ │ ├── timezone_-5.5.png │ │ │ ├── timezone_-5.5_dim.png │ │ │ ├── timezone_-5.png │ │ │ ├── timezone_-5_dim.png │ │ │ ├── timezone_-6.png │ │ │ ├── timezone_-6_dim.png │ │ │ ├── timezone_-7.png │ │ │ ├── timezone_-7_dim.png │ │ │ ├── timezone_-8.png │ │ │ ├── timezone_-8_dim.png │ │ │ ├── timezone_-9.5.png │ │ │ ├── timezone_-9.5_dim.png │ │ │ ├── timezone_-9.png │ │ │ ├── timezone_-9_dim.png │ │ │ ├── timezone_0.png │ │ │ ├── timezone_0_dim.png │ │ │ ├── timezone_1.png │ │ │ ├── timezone_10.5.png │ │ │ ├── timezone_10.5_dim.png │ │ │ ├── timezone_10.png │ │ │ ├── timezone_10_dim.png │ │ │ ├── timezone_11.5.png │ │ │ ├── timezone_11.5_dim.png │ │ │ ├── timezone_11.png │ │ │ ├── timezone_11_dim.png │ │ │ ├── timezone_12.75.png │ │ │ ├── timezone_12.75_dim.png │ │ │ ├── timezone_12.png │ │ │ ├── timezone_12_dim.png │ │ │ ├── timezone_13.png │ │ │ ├── timezone_13_dim.png │ │ │ ├── timezone_14.png │ │ │ ├── timezone_14_dim.png │ │ │ ├── timezone_1_dim.png │ │ │ ├── timezone_2.png │ │ │ ├── timezone_2_dim.png │ │ │ ├── timezone_3.5.png │ │ │ ├── timezone_3.5_dim.png │ │ │ ├── timezone_3.png │ │ │ ├── timezone_3_dim.png │ │ │ ├── timezone_4.5.png │ │ │ ├── timezone_4.5_dim.png │ │ │ ├── timezone_4.png │ │ │ ├── timezone_4_dim.png │ │ │ ├── timezone_5.5.png │ │ │ ├── timezone_5.5_dim.png │ │ │ ├── timezone_5.75.png │ │ │ ├── timezone_5.75_dim.png │ │ │ ├── timezone_5.png │ │ │ ├── timezone_5_dim.png │ │ │ ├── timezone_6.5.png │ │ │ ├── timezone_6.5_dim.png │ │ │ ├── timezone_6.png │ │ │ ├── timezone_6_dim.png │ │ │ ├── timezone_7.png │ │ │ ├── timezone_7_dim.png │ │ │ ├── timezone_8.5.png │ │ │ ├── timezone_8.5_dim.png │ │ │ ├── timezone_8.75.png │ │ │ ├── timezone_8.75_dim.png │ │ │ ├── timezone_8.png │ │ │ ├── timezone_8_dim.png │ │ │ ├── timezone_9.5.png │ │ │ ├── timezone_9.5_dim.png │ │ │ ├── timezone_9.png │ │ │ └── timezone_9_dim.png │ │ ├── mate-time-admin.desktop.in │ │ └── meson.build │ ├── meson.build │ └── src │ │ ├── Makefile.am │ │ ├── main.c │ │ ├── meson.build │ │ ├── org.mate.mcc.ta.gresource.xml │ │ ├── time-admin.ui │ │ ├── time-map.c │ │ ├── time-map.h │ │ ├── time-share.c │ │ ├── time-share.h │ │ ├── time-tool.c │ │ ├── time-tool.h │ │ ├── time-zone.c │ │ ├── time-zone.h │ │ └── time-zones.h └── windows │ ├── Makefile.am │ ├── mate-metacity-support.c │ ├── mate-metacity-support.h │ ├── mate-window-properties.c │ ├── mate-window-properties.desktop.in │ ├── meson.build │ ├── org.mate.mcc.windows.gresource.xml │ └── window-properties.ui ├── configure.ac ├── font-viewer ├── Makefile.am ├── font-model.c ├── font-model.h ├── font-thumbnailer.c ├── font-utils.c ├── font-utils.h ├── font-view.c ├── gd-main-toolbar.c ├── gd-main-toolbar.h ├── mate-font-viewer.desktop.in ├── mate-font-viewer.thumbnailer ├── meson.build ├── sushi-font-loader.c ├── sushi-font-loader.h ├── sushi-font-widget.c ├── sushi-font-widget.h ├── totem-resources.c └── totem-resources.h ├── git.mk ├── gla11y.mk ├── help ├── C │ ├── config-accessibility-keyboard.xml │ ├── config-background.xml │ ├── config-behavior.xml │ ├── config-cds.xml │ ├── config-default-apps.xml │ ├── config-file-type.xml │ ├── config-hints.xml │ ├── config-html.xml │ ├── config-kbd.xml │ ├── config-keybindings.xml │ ├── config-mouse.xml │ ├── config-screensaver.xml │ ├── config-themes.xml │ ├── index.docbook │ └── legal.xml ├── LINGUAS ├── Makefile.am ├── af │ └── af.po ├── am │ └── am.po ├── ar │ └── ar.po ├── as │ └── as.po ├── ast │ └── ast.po ├── az │ └── az.po ├── be │ └── be.po ├── bg │ └── bg.po ├── bn │ └── bn.po ├── bn_IN │ └── bn_IN.po ├── br │ └── br.po ├── bs │ └── bs.po ├── ca │ └── ca.po ├── ca@valencia │ └── ca@valencia.po ├── cmn │ └── cmn.po ├── crh │ └── crh.po ├── cs │ └── cs.po ├── cy │ └── cy.po ├── da │ └── da.po ├── de │ └── de.po ├── dz │ └── dz.po ├── el │ └── el.po ├── en_AU │ └── en_AU.po ├── en_CA │ └── en_CA.po ├── en_GB │ └── en_GB.po ├── eo │ └── eo.po ├── es │ └── es.po ├── es_AR │ └── es_AR.po ├── es_CL │ └── es_CL.po ├── es_CO │ └── es_CO.po ├── es_MX │ └── es_MX.po ├── et │ └── et.po ├── eu │ └── eu.po ├── fa │ └── fa.po ├── fi │ └── fi.po ├── fr │ └── fr.po ├── fr_CA │ └── fr_CA.po ├── frp │ └── frp.po ├── fur │ └── fur.po ├── fy │ └── fy.po ├── ga │ └── ga.po ├── gl │ └── gl.po ├── gu │ └── gu.po ├── ha │ └── ha.po ├── he │ └── he.po ├── hi │ └── hi.po ├── hr │ └── hr.po ├── hu │ └── hu.po ├── hy │ └── hy.po ├── id │ └── id.po ├── ie │ └── ie.po ├── ig │ └── ig.po ├── is │ └── is.po ├── it │ └── it.po ├── ja │ └── ja.po ├── ka │ └── ka.po ├── kab │ └── kab.po ├── kk │ └── kk.po ├── kn │ └── kn.po ├── ko │ └── ko.po ├── ku │ └── ku.po ├── ku_IQ │ └── ku_IQ.po ├── ky │ └── ky.po ├── la │ └── la.po ├── li │ └── li.po ├── lt │ └── lt.po ├── lv │ └── lv.po ├── mai │ └── mai.po ├── mate-control-center.omf.in ├── mate-control-center.pot ├── meson.build ├── mg │ └── mg.po ├── mk │ └── mk.po ├── ml │ └── ml.po ├── mn │ └── mn.po ├── mr │ └── mr.po ├── ms │ └── ms.po ├── nb │ └── nb.po ├── nds │ └── nds.po ├── ne │ └── ne.po ├── nl │ └── nl.po ├── nn │ └── nn.po ├── nso │ └── nso.po ├── oc │ └── oc.po ├── or │ └── or.po ├── pa │ └── pa.po ├── pl │ └── pl.po ├── ps │ └── ps.po ├── pt │ └── pt.po ├── pt_BR │ └── pt_BR.po ├── ro │ └── ro.po ├── ru │ └── ru.po ├── rw │ └── rw.po ├── si │ └── si.po ├── sk │ └── sk.po ├── sl │ └── sl.po ├── sq │ └── sq.po ├── sr │ └── sr.po ├── sr@latin │ └── sr@latin.po ├── sv │ └── sv.po ├── ta │ └── ta.po ├── te │ └── te.po ├── th │ └── th.po ├── tk │ └── tk.po ├── tr │ └── tr.po ├── ug │ └── ug.po ├── uk │ └── uk.po ├── ur │ └── ur.po ├── uz │ └── uz.po ├── vi │ └── vi.po ├── wa │ └── wa.po ├── xh │ └── xh.po ├── yo │ └── yo.po ├── zh_CN │ └── zh_CN.po ├── zh_HK │ └── zh_HK.po ├── zh_TW │ └── zh_TW.po └── zu │ └── zu.po ├── its ├── marco-keybindings.its ├── marco-keybindings.loc ├── mimeinfo.its └── mimeinfo.loc ├── makepot ├── man ├── Makefile.am ├── mate-about-me.1 ├── mate-appearance-properties.1 ├── mate-at-properties.1 ├── mate-control-center.1 ├── mate-default-applications-properties.1 ├── mate-display-properties-install-systemwide.1 ├── mate-display-properties.1 ├── mate-font-viewer.1 ├── mate-keybinding-properties.1 ├── mate-keyboard-properties.1 ├── mate-mouse-properties.1 ├── mate-network-properties.1 ├── mate-thumbnail-font.1 ├── mate-typing-monitor.1 ├── mate-window-properties.1 └── meson.build ├── mate-control-center.pot ├── meson.build ├── meson_options.txt ├── meson_post_install.py ├── org.mate.control-center.gschema.xml.in ├── org.mate.control-center.keybinding.gschema.xml.in ├── po ├── LINGUAS ├── Makevars ├── POTFILES.in ├── POTFILES.skip ├── af.po ├── am.po ├── ar.po ├── as.po ├── ast.po ├── az.po ├── be.po ├── bg.po ├── bn.po ├── bn_IN.po ├── br.po ├── bs.po ├── ca.po ├── ca@valencia.po ├── cmn.po ├── crh.po ├── cs.po ├── csb.po ├── cy.po ├── da.po ├── de.po ├── dz.po ├── el.po ├── en_AU.po ├── en_CA.po ├── en_GB.po ├── eo.po ├── es.po ├── es_AR.po ├── es_CL.po ├── es_CO.po ├── es_CR.po ├── es_DO.po ├── es_EC.po ├── es_ES.po ├── es_MX.po ├── es_NI.po ├── es_PA.po ├── es_PE.po ├── es_PR.po ├── es_SV.po ├── es_UY.po ├── es_VE.po ├── et.po ├── eu.po ├── fa.po ├── fi.po ├── fo.po ├── fr.po ├── fr_CA.po ├── frp.po ├── fur.po ├── fy.po ├── ga.po ├── gd.po ├── gl.po ├── gnome-copyrights.txt ├── gu.po ├── ha.po ├── he.po ├── hi.po ├── hr.po ├── hu.po ├── hy.po ├── ia.po ├── id.po ├── ie.po ├── ig.po ├── is.po ├── it.po ├── ja.po ├── jv.po ├── ka.po ├── kab.po ├── kk.po ├── km.po ├── kn.po ├── ko.po ├── ks.po ├── ku.po ├── ku_IQ.po ├── ky.po ├── lb.po ├── li.po ├── lo.po ├── lt.po ├── lv.po ├── mai.po ├── meson.build ├── mg.po ├── mi.po ├── mk.po ├── ml.po ├── mn.po ├── mr.po ├── ms.po ├── nb.po ├── nds.po ├── ne.po ├── nl.po ├── nn.po ├── nso.po ├── oc.po ├── om.po ├── or.po ├── pa.po ├── pl.po ├── pms.po ├── ps.po ├── pt.po ├── pt_BR.po ├── ro.po ├── ru.po ├── rw.po ├── sc.po ├── si.po ├── sk.po ├── sl.po ├── so.po ├── sq.po ├── sr.po ├── sr@latin.po ├── sv.po ├── ta.po ├── te.po ├── tg.po ├── th.po ├── tk.po ├── tl.po ├── tr.po ├── tt.po ├── ug.po ├── uk.po ├── ur.po ├── uz.po ├── vi.po ├── wa.po ├── xh.po ├── yi.po ├── yo.po ├── zh_CN.po ├── zh_HK.po ├── zh_TW.po └── zu.po ├── shell ├── Makefile.am ├── app-resizer.c ├── app-resizer.h ├── app-shell.c ├── app-shell.h ├── application-tile.c ├── application-tile.h ├── bookmark-agent.c ├── bookmark-agent.h ├── control-center.c ├── double-click-detector.c ├── double-click-detector.h ├── libslab-utils.c ├── libslab-utils.h ├── mate-utils.c ├── mate-utils.h ├── matecc.desktop.in ├── matecc.directory.desktop.in ├── matecc.menu ├── meson.build ├── nameplate-tile.c ├── nameplate-tile.h ├── nld-marshal.list ├── search-bar.c ├── search-bar.h ├── shell-window.c ├── shell-window.h ├── slab-mate-util.c ├── slab-mate-util.h ├── slab-section.c ├── slab-section.h ├── slab.h ├── themed-icon.c ├── themed-icon.h ├── tile-action.c ├── tile.c └── tile.h └── typing-break ├── Makefile.am ├── bar-disabled.png ├── bar-green.png ├── bar-red.png ├── bar.png ├── drw-break-window.c ├── drw-break-window.h ├── drw-monitor.c ├── drw-monitor.h ├── drw-selection.c ├── drw-selection.h ├── drw-timer.c ├── drw-timer.h ├── drw-utils.c ├── drw-utils.h ├── drwright.c ├── drwright.h ├── main.c ├── mate-typing-monitor.png ├── mate-typing-monitor.svg ├── meson.build └── ocean-stripes.png /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | custom: https://mate-desktop.org/donate/ 10 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Enable dependabot to keep our GHA pins automatically 2 | # updated, so we don't fall too far behind in the future 3 | version: 2 4 | updates: 5 | - package-ecosystem: github-actions 6 | directory: "/" 7 | schedule: 8 | interval: weekly 9 | -------------------------------------------------------------------------------- /.github/issue_template.md: -------------------------------------------------------------------------------- 1 | #### Expected behaviour 2 | 3 | 4 | #### Actual behaviour 5 | 6 | 7 | #### Steps to reproduce the behaviour 8 | 9 | 10 | #### MATE general version 11 | 12 | 13 | #### Package version 14 | 15 | 16 | #### Linux Distribution 17 | 18 | 19 | #### Link to bugreport of your Distribution (requirement) 20 | -------------------------------------------------------------------------------- /.github/workflows/archlinux.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | # Use grouped output messages 4 | infobegin() { 5 | echo "::group::${1}" 6 | } 7 | infoend() { 8 | echo "::endgroup::" 9 | } 10 | 11 | # Required packages on Archlinux 12 | requires=( 13 | ccache # Use ccache to speed up build 14 | clang # Build with clang on Archlinux 15 | meson # Used for meson build 16 | ) 17 | 18 | requires+=( 19 | autoconf-archive 20 | file 21 | gcc 22 | git 23 | glib2-devel 24 | gobject-introspection 25 | intltool 26 | itstool 27 | libayatana-appindicator 28 | libxss 29 | libgtop 30 | libmatekbd 31 | make 32 | marco 33 | mate-common 34 | mate-menus 35 | polkit 36 | udisks2 37 | which 38 | yelp-tools 39 | ) 40 | 41 | infobegin "Update system" 42 | pacman --noconfirm -Syu 43 | infoend 44 | 45 | infobegin "Install dependency packages" 46 | pacman --noconfirm -S ${requires[@]} 47 | infoend 48 | -------------------------------------------------------------------------------- /.github/workflows/builds.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | set -e 4 | set -o pipefail 5 | 6 | CPUS=$(grep processor /proc/cpuinfo | wc -l) 7 | 8 | # Use grouped output messages 9 | infobegin() { 10 | echo "::group::${1}" 11 | } 12 | infoend() { 13 | echo "::endgroup::" 14 | } 15 | 16 | # Run meson first, then run autotools 17 | # Because meson dist requires a clean git workspace 18 | # Autotools will modify some files (such as po, etc.), making them dirty. 19 | if [ -f meson.build ]; then 20 | 21 | infobegin "Configure (meson)" 22 | meson setup _build --prefix=/usr 23 | infoend 24 | 25 | infobegin "Build (meson)" 26 | meson compile -C _build 27 | infoend 28 | 29 | infobegin "Test (meson)" 30 | ninja -C _build test 31 | infoend 32 | 33 | infobegin "Dist (meson)" 34 | # Git safedirectory stop ninja dist 35 | # https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 36 | # https://git-scm.com/docs/git-config/2.35.2#Documentation/git-config.txt-safedirectory 37 | git config --global --add safe.directory ${PWD} 38 | ninja -C _build dist 39 | infoend 40 | fi 41 | 42 | if [ -f autogen.sh ]; then 43 | infobegin "Configure (autotools)" 44 | NOCONFIGURE=1 ./autogen.sh 45 | ./configure --prefix=/usr --enable-compile-warnings=maximum || { 46 | cat config.log 47 | exit 1 48 | } 49 | infoend 50 | 51 | infobegin "Build (autotools)" 52 | make -j ${CPUS} 53 | infoend 54 | 55 | infobegin "Check (autotools)" 56 | make -j ${CPUS} check || { 57 | find -name test-suite.log -exec cat {} \; 58 | exit 1 59 | } 60 | infoend 61 | 62 | infobegin "Distcheck (autotools)" 63 | make -j ${CPUS} distcheck 64 | infoend 65 | fi 66 | -------------------------------------------------------------------------------- /.github/workflows/debian.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | # Use grouped output messages 4 | infobegin() { 5 | echo "::group::${1}" 6 | } 7 | infoend() { 8 | echo "::endgroup::" 9 | } 10 | 11 | # Required packages on Debian 12 | requires=( 13 | ccache # Use ccache to speed up build 14 | meson # Used for meson build 15 | ) 16 | 17 | requires+=( 18 | autoconf-archive 19 | autopoint 20 | cppcheck 21 | curl 22 | desktop-file-utils 23 | gettext 24 | git 25 | gobject-introspection 26 | intltool 27 | make 28 | mate-common 29 | pkexec 30 | polkitd 31 | python3-lxml 32 | shared-mime-info 33 | xsltproc 34 | ) 35 | 36 | dev_requires=( 37 | libayatana-appindicator3-dev 38 | libcanberra-gtk3-dev 39 | libdconf-dev 40 | libglib2.0-dev 41 | libgtk-3-dev 42 | libgtop2-dev 43 | libmarco-dev 44 | libmate-desktop-dev 45 | libmate-menu-dev 46 | libmatekbd-dev 47 | libpango1.0-dev 48 | libpolkit-gobject-1-dev 49 | librsvg2-bin 50 | librsvg2-dev 51 | libstartup-notification0-dev 52 | libsystemd-dev 53 | libudisks2-dev 54 | libx11-dev 55 | libxcursor-dev 56 | libxi-dev 57 | libxklavier-dev 58 | libxml2-dev 59 | libxrandr-dev 60 | libxss-dev 61 | libxt-dev 62 | ) 63 | 64 | infobegin "Update system" 65 | apt-get update -qq 66 | infoend 67 | 68 | infobegin "Install dependency packages" 69 | env DEBIAN_FRONTEND=noninteractive \ 70 | apt-get install --assume-yes \ 71 | ${requires[@]} \ 72 | ${dev_requires[@]} 73 | infoend 74 | -------------------------------------------------------------------------------- /.github/workflows/fedora.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | # Use grouped output messages 4 | infobegin() { 5 | echo "::group::${1}" 6 | } 7 | infoend() { 8 | echo "::endgroup::" 9 | } 10 | 11 | # Required packages on Fedora 12 | requires=( 13 | ccache # Use ccache to speed up build 14 | meson # Used for meson build 15 | ) 16 | 17 | requires+=( 18 | autoconf-archive 19 | accountsservice-devel 20 | cairo-gobject-devel 21 | cppcheck-htmlreport 22 | dconf-devel 23 | desktop-file-utils 24 | gcc 25 | git 26 | gobject-introspection-devel 27 | gtk3-devel 28 | iso-codes-devel 29 | itstool 30 | libappindicator-gtk3-devel 31 | libSM-devel 32 | libXScrnSaver-devel 33 | libcanberra-devel 34 | libmatekbd-devel 35 | libgtop2-devel 36 | librsvg2-devel 37 | librsvg2-tools 38 | libudisks2-devel 39 | make 40 | marco-devel 41 | mate-menus-devel 42 | polkit-devel 43 | python3-lxml 44 | mate-common 45 | redhat-rpm-config 46 | startup-notification-devel 47 | systemd-devel 48 | which 49 | ) 50 | 51 | infobegin "Update system" 52 | dnf update -y 53 | infoend 54 | 55 | infobegin "Install dependency packages" 56 | dnf install -y ${requires[@]} 57 | infoend 58 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release Version 2 | on: 3 | push: 4 | tags: 5 | - "v*.*.*" 6 | 7 | env: 8 | MATE_DESKTOP_VERSION: 1.28.2 9 | CACHE_PATH: /tmp/.cache 10 | 11 | jobs: 12 | release: 13 | name: Release New Version 14 | runs-on: ubuntu-latest 15 | steps: 16 | - name: Repository checkout 17 | uses: actions/checkout@v3 18 | with: 19 | submodules: "true" 20 | 21 | - name: Install dependency packages 22 | run: sudo .github/workflows/ubuntu.sh 23 | 24 | - name: Install higher version Mate component packages 25 | run: sudo .github/workflows/mate-desktop.sh ${{env.MATE_DESKTOP_VERSION}} ${{ env.CACHE_PATH }} 26 | 27 | - name: Build the source code 28 | run: .github/workflows/builds.sh 29 | 30 | - name: Install GH CLI 31 | uses: dev-hanz-ops/install-gh-cli-action@v0.1.0 32 | with: 33 | gh-cli-version: 2.39.1 34 | 35 | - name: Create github release 36 | run: | 37 | gh release create ${{ github.ref_name }} --title ${{ github.ref_name }} --generate-notes _build/meson-dist/* 38 | env: 39 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 40 | -------------------------------------------------------------------------------- /.github/workflows/ubuntu.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/bash 2 | 3 | # Use grouped output messages 4 | infobegin() { 5 | echo "::group::${1}" 6 | } 7 | infoend() { 8 | echo "::endgroup::" 9 | } 10 | 11 | # Required packages on Ubuntu 12 | requires=( 13 | ccache # Use ccache to speed up build 14 | meson # Used for meson build 15 | ) 16 | 17 | requires+=( 18 | autoconf-archive 19 | autopoint 20 | clang 21 | clang-tools 22 | cppcheck 23 | curl 24 | desktop-file-utils 25 | gettext 26 | git 27 | gobject-introspection 28 | intltool 29 | make 30 | mate-common 31 | pkexec 32 | polkitd 33 | python3-lxml 34 | shared-mime-info 35 | xsltproc 36 | ) 37 | 38 | dev_requires=( 39 | libayatana-appindicator3-dev 40 | libcanberra-gtk3-dev 41 | libdconf-dev 42 | libglib2.0-dev 43 | libgtk-3-dev 44 | libgtop2-dev 45 | libmarco-dev 46 | libmate-desktop-dev 47 | libmate-menu-dev 48 | libmatekbd-dev 49 | libpango1.0-dev 50 | libpolkit-gobject-1-dev 51 | librsvg2-bin 52 | librsvg2-dev 53 | libstartup-notification0-dev 54 | libsystemd-dev 55 | libudisks2-dev 56 | libx11-dev 57 | libxcursor-dev 58 | libxi-dev 59 | libxklavier-dev 60 | libxml2-dev 61 | libxrandr-dev 62 | libxss-dev 63 | libxt-dev 64 | ) 65 | 66 | infobegin "Update system" 67 | apt-get update -y 68 | infoend 69 | 70 | infobegin "Install dependency packages" 71 | env DEBIAN_FRONTEND=noninteractive \ 72 | apt-get install --assume-yes \ 73 | ${requires[@]} \ 74 | ${dev_requires[@]} 75 | infoend 76 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [o:mate:p:MATE:r:master--mate-control-center] 5 | file_filter = po/.po 6 | source_file = mate-control-center.pot 7 | source_lang = en 8 | type = PO 9 | minimum_perc = 2 10 | 11 | [o:mate:p:MATE:r:master--mate-control-center-user-guide] 12 | file_filter = help//.po 13 | source_file = help/mate-control-center.pot 14 | source_lang = en 15 | type = PO 16 | minimum_perc = 2 17 | 18 | -------------------------------------------------------------------------------- /.tx/config_20221028214813.bak: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [MATE.master--mate-control-center] 5 | file_filter = po/.po 6 | source_file = mate-control-center.pot 7 | source_lang = en 8 | type = PO 9 | minimum_perc = 2 10 | 11 | [MATE.master--mate-control-center-user-guide] 12 | file_filter = help//.po 13 | source_file = help/mate-control-center.pot 14 | source_lang = en 15 | type = PO 16 | minimum_perc = 2 17 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | MATE: 2 | Perberos 3 | Steve Zesch 4 | Stefano Karapetsas 5 | 6 | GNOME: 7 | Jonathan Blandford 8 | -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- 1 | The ChangeLog is auto-generated when releasing. If you are seeing this, use 2 | 'git log' for a detailed list of changes. 3 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | MATE Control Center 2 | ==================== 3 | 4 | About - 5 | 6 | The control center is MATE's main interface for configuration of various 7 | aspects of your desktop. 8 | 9 | Installation - 10 | 11 | ./autogen.sh 12 | make 13 | make install 14 | 15 | How to report bugs - 16 | 17 | Bugs should be reported to the MATE bug tracking system under github: 18 | https://github.com/mate-desktop/mate-control-center/issues 19 | 20 | In the report please include the following information - 21 | 22 | Operating system and version 23 | For Linux, version of the C and glib libraries 24 | How to reproduce the bug if possible 25 | If the bug was a crash, include the exact text that was printed out 26 | A stacktrace where possible [see below] 27 | 28 | How to get a stack trace - 29 | 30 | If the crash is reproducible, it is possible to get a stack trace and 31 | attach it to the bug report. The following steps are used to obtain a 32 | stack trace - 33 | 34 | Run the program in gdb [the GNU debugger] or any other debugger 35 | ie. gdb mate-keyboard-properties 36 | Start the program 37 | ie. (gdb) run 38 | Reproduce the crash and the program will exit to the gdb prompt 39 | Get the back trace 40 | ie. (gdb) bt full 41 | 42 | Once you have the backtrace, copy and paste this either into the 43 | 'Comments' field or attach a file with it included. 44 | 45 | 46 | Patches - 47 | 48 | Patches should be submitted to github as pull requests: 49 | https://github.com/mate-desktop/mate-control-center/pulls 50 | https://help.github.com/articles/fork-a-repo 51 | https://help.github.com/articles/using-pull-requests 52 | -------------------------------------------------------------------------------- /autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Run this to generate all the initial makefiles, etc. 3 | 4 | srcdir=`dirname $0` 5 | test -z "$srcdir" && srcdir=. 6 | 7 | PKG_NAME="mate-control-center" 8 | 9 | (test -f $srcdir/configure.ac) || { 10 | echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" 11 | echo " top-level $PKG_NAME directory" 12 | exit 1 13 | } 14 | 15 | which mate-autogen || { 16 | echo "You need to install mate-common" 17 | exit 1 18 | } 19 | 20 | which yelp-build || { 21 | echo "You need to install yelp-tools" 22 | } 23 | 24 | REQUIRED_AUTOMAKE_VERSION=1.9 25 | USE_COMMON_DOC_BUILD=yes 26 | 27 | . mate-autogen 28 | 29 | -------------------------------------------------------------------------------- /capplets/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = \ 2 | common \ 3 | accessibility \ 4 | appearance \ 5 | default-applications \ 6 | display \ 7 | keyboard \ 8 | keybindings \ 9 | mouse \ 10 | network \ 11 | windows \ 12 | about-me \ 13 | system-info 14 | 15 | if HAVE_SYSTEMD 16 | SUBDIRS += time-admin 17 | endif 18 | 19 | DIST_SUBDIRS = \ 20 | common \ 21 | accessibility \ 22 | appearance \ 23 | default-applications \ 24 | keybindings \ 25 | keyboard \ 26 | mouse \ 27 | network \ 28 | time-admin \ 29 | windows \ 30 | display \ 31 | about-me \ 32 | system-info 33 | 34 | -include $(top_srcdir)/git.mk 35 | -------------------------------------------------------------------------------- /capplets/about-me/AUTHORS: -------------------------------------------------------------------------------- 1 | Diego Gonzalez Gonzalez 2 | Chris Toshok -------------------------------------------------------------------------------- /capplets/about-me/mate-about-me-fingerprint.h: -------------------------------------------------------------------------------- 1 | /* mate-about-me-fingerprint.h 2 | * Copyright (C) 2008 Bastien Nocera 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2, or (at your option) 7 | * any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 17 | * 02110-1301, USA. 18 | */ 19 | 20 | #ifndef __MATE_ABOUT_ME_FINGERPRINT_H__ 21 | #define __MATE_ABOUT_ME_FINGERPRINT_H__ 22 | 23 | #include 24 | 25 | void set_fingerprint_label (GtkWidget *enable, 26 | GtkWidget *disable); 27 | void fingerprint_button_clicked (GtkBuilder *dialog, 28 | GtkWidget *enable, 29 | GtkWidget *disable); 30 | 31 | #endif /* __MATE_ABOUT_ME_FINGERPRINT_H__ */ 32 | -------------------------------------------------------------------------------- /capplets/about-me/mate-about-me-password.h: -------------------------------------------------------------------------------- 1 | #ifndef __MATE_ABOUT_ME_PASSWORD_H__ 2 | #define __MATE_ABOUT_ME_PASSWORD_H__ 3 | 4 | #include 5 | 6 | void 7 | mate_about_me_password (GtkWindow *parent); 8 | 9 | #endif /* __MATE_ABOUT_ME_PASSWORD_H__ */ 10 | -------------------------------------------------------------------------------- /capplets/about-me/mate-about-me.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=About Me 3 | Comment=Set your personal information 4 | Exec=mate-about-me 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=user-info 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;X-MATE-PersonalSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;personal;information; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/about-me/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-about-me.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'e-image-chooser.c', 14 | 'mate-about-me.c', 15 | 'mate-about-me-fingerprint.c', 16 | 'mate-about-me-password.c' 17 | ) 18 | 19 | sources += gnome.compile_resources( 20 | 'mate-about-me-resources', 21 | 'org.mate.mcc.am.gresource.xml', 22 | c_name: 'about_me', 23 | export: true 24 | ) 25 | 26 | cflags += [ 27 | '-DDATADIR="@0@"'.format(mcc_datadir), 28 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 29 | '-DMATECC_PIXMAP_DIR="@0@"'.format(mcc_pixmaps), 30 | '-DMATELOCALEDIR="@0@"'.format(mcc_localedir), 31 | ] 32 | 33 | executable( 34 | 'mate-about-me', 35 | sources : sources, 36 | include_directories: config_inc, 37 | dependencies : [common_deps, libcommon_dep], 38 | c_args : cflags, 39 | install : true, 40 | install_dir : get_option('bindir') 41 | ) 42 | -------------------------------------------------------------------------------- /capplets/about-me/org.mate.mcc.am.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | mate-about-me-dialog.ui 21 | mate-about-me-fingerprint.ui 22 | mate-about-me-password.ui 23 | 24 | 25 | -------------------------------------------------------------------------------- /capplets/about-me/ui-a11y.suppr: -------------------------------------------------------------------------------- 1 | mate-about-me-dialog.ui://GtkLabel[@id='fullname'] orphan-label 2 | mate-about-me-dialog.ui://GtkLabel[@id='label1012'] orphan-label 3 | mate-about-me-dialog.ui://GtkLabel[@id='login'] orphan-label 4 | mate-about-me-fingerprint.ui://GtkImage[@id='image'] no-labelled-by 5 | mate-about-me-fingerprint.ui://GtkLabel[@id='intro-label'] orphan-label 6 | mate-about-me-fingerprint.ui://GtkComboBox[@id='finger_combobox'] no-labelled-by 7 | mate-about-me-fingerprint.ui://GtkLabel[@id='enroll-label'] orphan-label 8 | mate-about-me-fingerprint.ui://GtkImage[@id='image1'] no-labelled-by 9 | mate-about-me-fingerprint.ui://GtkImage[@id='image2'] no-labelled-by 10 | mate-about-me-fingerprint.ui://GtkImage[@id='image3'] no-labelled-by 11 | mate-about-me-fingerprint.ui://GtkImage[@id='image4'] no-labelled-by 12 | mate-about-me-fingerprint.ui://GtkImage[@id='image5'] no-labelled-by 13 | mate-about-me-fingerprint.ui://GtkLabel[@id='status-label'] orphan-label 14 | mate-about-me-fingerprint.ui://GtkLabel[@id='page3'] orphan-label 15 | mate-about-me-password.ui://GtkImage[@id='dialog-image'] no-labelled-by 16 | mate-about-me-password.ui://GtkLabel[@id='header-label'] orphan-label 17 | mate-about-me-password.ui://GtkLabel[@id='description-label'] orphan-label 18 | mate-about-me-password.ui://GtkLabel[@id='status-label'] orphan-label 19 | -------------------------------------------------------------------------------- /capplets/accessibility/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = at-properties 2 | 3 | -include $(top_srcdir)/git.mk 4 | -------------------------------------------------------------------------------- /capplets/accessibility/at-properties/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = mate-at-properties 2 | 3 | ui_files = at-enable-dialog.ui 4 | 5 | BUILT_SOURCES = \ 6 | mate-at-properties-resources.c \ 7 | mate-at-properties-resources.h 8 | nodist_mate_at_properties_SOURCES= $(BUILT_SOURCES) 9 | mate_at_properties_LDADD = $(AT_CAPPLET_LIBS) $(MATECC_CAPPLETS_LIBS) $(top_builddir)/capplets/common/libcommon.la 10 | mate_at_properties_SOURCES = \ 11 | dm-util.h \ 12 | dm-util.c \ 13 | main.c 14 | mate_at_properties_LDFLAGS = -export-dynamic 15 | 16 | desktopdir = $(datadir)/applications 17 | Desktop_in_files = mate-at-properties.desktop.in 18 | desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) 19 | 20 | $(desktop_DATA): $(Desktop_in_files) 21 | if USE_NLS 22 | $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ 23 | else 24 | $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ 25 | endif 26 | 27 | pixmapdir = $(pkgdatadir)/pixmaps 28 | pixmap_DATA = \ 29 | at-startup.png \ 30 | at-support.png 31 | 32 | include $(top_srcdir)/gla11y.mk 33 | 34 | AM_CPPFLAGS = \ 35 | $(WARN_CFLAGS) \ 36 | $(AT_CAPPLET_CFLAGS) \ 37 | $(MATECC_CAPPLETS_CFLAGS) \ 38 | -DPIXMAPDIR=\""$(pixmapdir)"\" \ 39 | -DMATECC_DATA_DIR="\"$(pkgdatadir)\"" 40 | CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) 41 | EXTRA_DIST = \ 42 | $(ui_files) \ 43 | $(pixmap_DATA) \ 44 | $(Desktop_in_files) \ 45 | org.mate.mcc.accessibility.at.gresource.xml \ 46 | ui-a11y.suppr 47 | 48 | # Generate resources 49 | mate-at-properties-resources.h mate-at-properties-resources.c: org.mate.mcc.accessibility.at.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.accessibility.at.gresource.xml) 50 | $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name accessibility $< 51 | 52 | -include $(top_srcdir)/git.mk 53 | -------------------------------------------------------------------------------- /capplets/accessibility/at-properties/at-startup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/accessibility/at-properties/at-startup.png -------------------------------------------------------------------------------- /capplets/accessibility/at-properties/at-support.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/accessibility/at-properties/at-support.png -------------------------------------------------------------------------------- /capplets/accessibility/at-properties/dm-util.h: -------------------------------------------------------------------------------- 1 | /* vi: set sw=4 ts=4 wrap ai: */ 2 | /* 3 | * dm-util.h: This file is part of mate-control-center. 4 | * 5 | * Copyright (C) 2019 Wu Xiaotian 6 | * Copyright (C) 2019-2021 MATE developers 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, see . 20 | * */ 21 | 22 | #ifndef __DM_UTIL_H__ 23 | #define __DM_UTIL_H__ 1 24 | 25 | G_BEGIN_DECLS 26 | 27 | typedef enum 28 | { 29 | DM_TYPE_UNKNOWN, 30 | DM_TYPE_LIGHTDM, 31 | DM_TYPE_GDM, 32 | DM_TYPE_MDM, 33 | } DMType; 34 | 35 | DMType dm_get_type(void); 36 | 37 | G_END_DECLS 38 | 39 | #endif /* __DM_UTIL_H__ */ 40 | -------------------------------------------------------------------------------- /capplets/accessibility/at-properties/mate-at-properties.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Assistive Technologies 3 | Comment=Choose which accessibility features to enable when you log in 4 | Exec=mate-at-properties 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=preferences-desktop-accessibility 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;Accessibility; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;accessibility;features; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/accessibility/at-properties/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-at-properties.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'main.c', 14 | 'dm-util.c' 15 | ) 16 | 17 | sources += gnome.compile_resources( 18 | 'mate-at-properties-resources', 19 | 'org.mate.mcc.accessibility.at.gresource.xml', 20 | c_name: 'accessibility', 21 | export: true 22 | ) 23 | 24 | cflags += [ 25 | '-DDATADIR="@0@"'.format(mcc_datadir), 26 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 27 | '-DPIXMAPDIR="@0@"'.format(mcc_pixmaps), 28 | '-DMATELOCALEDIR="@0@"'.format(mcc_localedir), 29 | ] 30 | 31 | executable( 32 | 'mate-at-properties', 33 | sources : sources, 34 | include_directories: config_inc, 35 | dependencies : [common_deps, libcommon_dep], 36 | c_args : cflags, 37 | install : true, 38 | install_dir : get_option('bindir') 39 | ) 40 | 41 | install_data ( 42 | 'at-startup.png', 43 | install_dir : mcc_pixmaps 44 | ) 45 | 46 | install_data ( 47 | 'at-support.png', 48 | install_dir : mcc_pixmaps 49 | ) 50 | -------------------------------------------------------------------------------- /capplets/accessibility/at-properties/org.mate.mcc.accessibility.at.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | at-enable-dialog.ui 21 | 22 | 23 | -------------------------------------------------------------------------------- /capplets/accessibility/at-properties/ui-a11y.suppr: -------------------------------------------------------------------------------- 1 | at-enable-dialog.ui://GtkLabel[@id='label4'] orphan-label 2 | at-enable-dialog.ui://GtkImage[@id='at_enable_image'] no-labelled-by 3 | at-enable-dialog.ui://GtkLabel[@id='pref_label'] orphan-label 4 | at-enable-dialog.ui://GtkImage[@id='at_applications_image'] no-labelled-by 5 | -------------------------------------------------------------------------------- /capplets/appearance/appearance-desktop.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Denis Washington 4 | * All Rights Reserved 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License along 17 | * with this program; if not, write to the Free Software Foundation, Inc., 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 | */ 20 | 21 | #ifndef __APPEARANCE_DESKTOP_H__ 22 | #define __APPEARANCE_DESKTOP_H__ 23 | 24 | void desktop_init (AppearanceData *data, const gchar **uris); 25 | void desktop_shutdown (AppearanceData *data); 26 | 27 | #endif /* __APPEARANCE_DESKTOP_H__ */ 28 | -------------------------------------------------------------------------------- /capplets/appearance/appearance-font.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Jens Granseuer 4 | * All Rights Reserved 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License along 17 | * with this program; if not, write to the Free Software Foundation, Inc., 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 | */ 20 | 21 | #ifndef __APPEARANCE_FONT_H__ 22 | #define __APPEARANCE_FONT_H__ 23 | 24 | void font_init(AppearanceData* data); 25 | void font_shutdown(AppearanceData* data); 26 | 27 | #endif /* __APPEARANCE_FONT_H__ */ 28 | -------------------------------------------------------------------------------- /capplets/appearance/appearance-style.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Thomas Wood 4 | * All Rights Reserved 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License along 17 | * with this program; if not, write to the Free Software Foundation, Inc., 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 | */ 20 | 21 | #ifndef __APPEARANCE_STYLE_H__ 22 | #define __APPEARANCE_STYLE_H__ 23 | 24 | void style_init (AppearanceData *data); 25 | void style_shutdown (AppearanceData *data); 26 | 27 | #endif /* __APPEARANCE_STYLE_H__ */ 28 | -------------------------------------------------------------------------------- /capplets/appearance/appearance-support.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2012 Stefano Karapetsas 3 | * Copyright (C) 2012-2021 MATE Developers 4 | * Authors: Stefano Karapetsas 5 | * All Rights Reserved 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License along 18 | * with this program; if not, write to the Free Software Foundation, Inc., 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20 | */ 21 | 22 | #ifndef __APPEARANCE_SUPPORT_H__ 23 | #define __APPEARANCE_SUPPORT_H__ 24 | 25 | void support_init(AppearanceData* data); 26 | void support_shutdown(AppearanceData* data); 27 | 28 | #endif /* __APPEARANCE_SUPPORT_H__ */ 29 | -------------------------------------------------------------------------------- /capplets/appearance/appearance-themes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Thomas Wood 4 | * All Rights Reserved 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License along 17 | * with this program; if not, write to the Free Software Foundation, Inc., 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 | */ 20 | 21 | #ifndef __APPEARANCE_THEMES_H__ 22 | #define __APPEARANCE_THEMES_H__ 23 | 24 | void themes_init(AppearanceData* data); 25 | void themes_shutdown(AppearanceData* data); 26 | 27 | #endif /* __APPEARANCE_THEMES_H__ */ 28 | -------------------------------------------------------------------------------- /capplets/appearance/appearance-ui.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Jens Granseuer 4 | * All Rights Reserved 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License along 17 | * with this program; if not, write to the Free Software Foundation, Inc., 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 | */ 20 | 21 | #ifndef __APPEARANCE_UI_H__ 22 | #define __APPEARANCE_UI_H__ 23 | 24 | void ui_init (AppearanceData *data); 25 | 26 | #endif /* __APPEARANCE_UI_H__ */ 27 | -------------------------------------------------------------------------------- /capplets/appearance/data/Makefile.am: -------------------------------------------------------------------------------- 1 | ui_files = appearance.ui 2 | 3 | include $(top_srcdir)/gla11y.mk 4 | 5 | pixmapdir = $(pkgdatadir)/pixmaps 6 | dist_pixmap_DATA = \ 7 | subpixel-bgr.png \ 8 | subpixel-rgb.png \ 9 | subpixel-vbgr.png \ 10 | subpixel-vrgb.png \ 11 | theme-thumbnailing.png \ 12 | gtk-theme-thumbnailing.png \ 13 | window-theme-thumbnailing.png \ 14 | icon-theme-thumbnailing.png \ 15 | mouse-cursor-normal.png \ 16 | mouse-cursor-normal-large.png \ 17 | mouse-cursor-white.png \ 18 | mouse-cursor-white-large.png 19 | 20 | desktopdir = $(datadir)/applications 21 | desktop_in_files = \ 22 | mate-appearance-properties.desktop.in \ 23 | mate-theme-installer.desktop.in 24 | desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 25 | %.desktop: %.desktop.in 26 | if USE_NLS 27 | $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ 28 | else 29 | $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ 30 | endif 31 | 32 | xml_in_files = \ 33 | mate-theme-package.xml.in 34 | 35 | mimedir = $(datadir)/mime/packages 36 | mime_DATA = $(xml_in_files:.xml.in=.xml) 37 | $(mime_DATA): $(xml_in_files) 38 | if USE_NLS 39 | $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ 40 | else 41 | $(AM_V_GEN) cp -f $< $@ 42 | endif 43 | 44 | install-data-hook: 45 | if ENABLE_UPDATE_MIMEDB 46 | $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime" 47 | endif 48 | 49 | uninstall-hook: 50 | if ENABLE_UPDATE_MIMEDB 51 | $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime" 52 | endif 53 | 54 | EXTRA_DIST = \ 55 | $(ui_files) \ 56 | $(xml_in_files) \ 57 | $(desktop_in_files) \ 58 | ui-a11y.suppr 59 | 60 | CLEANFILES = $(desktop_DATA) $(mime_DATA) 61 | 62 | -include $(top_srcdir)/git.mk 63 | -------------------------------------------------------------------------------- /capplets/appearance/data/gtk-theme-thumbnailing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/gtk-theme-thumbnailing.png -------------------------------------------------------------------------------- /capplets/appearance/data/icon-theme-thumbnailing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/icon-theme-thumbnailing.png -------------------------------------------------------------------------------- /capplets/appearance/data/mate-appearance-properties.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Appearance 3 | Comment=Customize the look of the desktop 4 | Exec=mate-appearance-properties %F 5 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 6 | Icon=preferences-desktop-theme 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;DesktopSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;appearance;properties;desktop;customize;look; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/appearance/data/mate-theme-installer.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Theme Installer 3 | Comment=Installs themes packages for various parts of the desktop 4 | Exec=mate-appearance-properties -i %u 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=preferences-desktop-theme 7 | Terminal=false 8 | Type=Application 9 | MimeType=application/x-mate-theme-package; 10 | StartupNotify=true 11 | Categories=GTK;Settings; 12 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 13 | Keywords=mate-control-center;MATE;install;desktop;themes; 14 | NoDisplay=true 15 | OnlyShowIn=MATE; 16 | -------------------------------------------------------------------------------- /capplets/appearance/data/mate-theme-package.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <_comment>Mate Theme Package 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /capplets/appearance/data/meson.build: -------------------------------------------------------------------------------- 1 | desktops = [ 2 | 'mate-appearance-properties.desktop', 3 | 'mate-theme-installer.desktop' 4 | ] 5 | 6 | foreach desktop: desktops 7 | i18n.merge_file( 8 | type: 'desktop', 9 | input: desktop + '.in', 10 | output: desktop, 11 | po_dir: po_dir, 12 | install: true, 13 | install_dir: mcc_desktopdir 14 | ) 15 | endforeach 16 | 17 | icons = [ 18 | 'gtk-theme-thumbnailing.png', 19 | 'icon-theme-thumbnailing.png', 20 | 'mouse-cursor-normal-large.png', 21 | 'mouse-cursor-normal.png', 22 | 'mouse-cursor-white-large.png', 23 | 'mouse-cursor-white.png', 24 | 'subpixel-bgr.png', 25 | 'subpixel-rgb.png', 26 | 'subpixel-vbgr.png', 27 | 'subpixel-vrgb.png', 28 | 'theme-thumbnailing.png', 29 | 'window-theme-thumbnailing.png' 30 | ] 31 | 32 | foreach icon: icons 33 | install_data ( 34 | icon, 35 | install_dir : mcc_pixmaps 36 | ) 37 | endforeach 38 | 39 | i18n.merge_file( 40 | input: 'mate-theme-package.xml.in', 41 | output: 'mate-theme-package.xml', 42 | type: 'xml', 43 | po_dir: po_dir, 44 | install: true, 45 | install_dir: mcc_mime, 46 | ) 47 | -------------------------------------------------------------------------------- /capplets/appearance/data/mouse-cursor-normal-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/mouse-cursor-normal-large.png -------------------------------------------------------------------------------- /capplets/appearance/data/mouse-cursor-normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/mouse-cursor-normal.png -------------------------------------------------------------------------------- /capplets/appearance/data/mouse-cursor-white-large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/mouse-cursor-white-large.png -------------------------------------------------------------------------------- /capplets/appearance/data/mouse-cursor-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/mouse-cursor-white.png -------------------------------------------------------------------------------- /capplets/appearance/data/subpixel-bgr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/subpixel-bgr.png -------------------------------------------------------------------------------- /capplets/appearance/data/subpixel-rgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/subpixel-rgb.png -------------------------------------------------------------------------------- /capplets/appearance/data/subpixel-vbgr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/subpixel-vbgr.png -------------------------------------------------------------------------------- /capplets/appearance/data/subpixel-vrgb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/subpixel-vrgb.png -------------------------------------------------------------------------------- /capplets/appearance/data/theme-thumbnailing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/theme-thumbnailing.png -------------------------------------------------------------------------------- /capplets/appearance/data/window-theme-thumbnailing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/appearance/data/window-theme-thumbnailing.png -------------------------------------------------------------------------------- /capplets/appearance/mate-wp-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Authors: Rodney Dawes 3 | * 4 | * Copyright 2003-2006 Novell, Inc. (www.novell.com) 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of version 2 of the GNU General Public License 8 | * as published by the Free Software Foundation 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Street #330, Boston, MA 02110-1301, USA. 18 | * 19 | */ 20 | 21 | #ifndef _MATE_WP_INFO_H_ 22 | #define _MATE_WP_INFO_H_ 23 | 24 | #include 25 | #include 26 | 27 | typedef struct _MateWPInfo { 28 | char* uri; 29 | char* thumburi; 30 | char* name; 31 | char* mime_type; 32 | 33 | goffset size; 34 | 35 | time_t mtime; 36 | } MateWPInfo; 37 | 38 | MateWPInfo* mate_wp_info_new(const char* uri, MateDesktopThumbnailFactory* thumbs); 39 | void mate_wp_info_free(MateWPInfo* info); 40 | 41 | #endif 42 | 43 | -------------------------------------------------------------------------------- /capplets/appearance/mate-wp-xml.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Authors: Rodney Dawes 3 | * 4 | * Copyright 2003-2006 Novell, Inc. (www.novell.com) 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of version 2 of the GNU General Public License 8 | * as published by the Free Software Foundation 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Street #330, Boston, MA 02110-1301, USA. 18 | * 19 | */ 20 | 21 | #ifndef _MATE_WP_XML_H_ 22 | #define _MATE_WP_XML_H_ 23 | 24 | void mate_wp_xml_load_list(AppearanceData* data); 25 | void mate_wp_xml_save_list(AppearanceData* data); 26 | 27 | #endif 28 | 29 | -------------------------------------------------------------------------------- /capplets/appearance/meson.build: -------------------------------------------------------------------------------- 1 | sources = files( 2 | 'appearance-desktop.c', 3 | 'appearance-font.c', 4 | 'appearance-main.c', 5 | 'appearance-style.c', 6 | 'appearance-support.c', 7 | 'appearance-themes.c', 8 | 'appearance-ui.c', 9 | 'mate-wp-info.c', 10 | 'mate-wp-item.c', 11 | 'mate-wp-xml.c', 12 | 'theme-installer.c', 13 | 'theme-save.c', 14 | 'theme-util.c' 15 | ) 16 | 17 | sources += gnome.compile_resources( 18 | 'mate-appearance-properties-resources', 19 | 'org.mate.mcc.appearance.gresource.xml', 20 | c_name: 'appearance', 21 | export: true 22 | ) 23 | 24 | cflags += [ 25 | '-DDATADIR="@0@"'.format(mcc_datadir), 26 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 27 | '-DMATECC_PIXMAP_DIR="@0@"'.format(mcc_pixmaps), 28 | '-DMATELOCALEDIR="@0@"'.format(mcc_localedir), 29 | '-DBACKGROUND_DATADIR="@0@"'.format(mcc_background), 30 | '-DWALLPAPER_DATADIR="@0@"'.format(mcc_wallpaperdir), 31 | '-DMATE_DESKTOP_USE_UNSTABLE_API', 32 | ] 33 | 34 | deps = [ 35 | common_deps, 36 | libxml_dep, 37 | accounts_dep 38 | ] 39 | 40 | executable( 41 | 'mate-appearance-properties', 42 | sources : sources, 43 | include_directories: config_inc, 44 | dependencies : [deps, libcommon_dep], 45 | c_args : cflags, 46 | install : true, 47 | install_dir : get_option('bindir') 48 | ) 49 | 50 | subdir('data') 51 | -------------------------------------------------------------------------------- /capplets/appearance/org.mate.mcc.appearance.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | data/appearance.ui 21 | 22 | 23 | -------------------------------------------------------------------------------- /capplets/appearance/theme-installer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Thomas Wood 4 | * Jens Granseuer 5 | * All Rights Reserved 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License along 18 | * with this program; if not, write to the Free Software Foundation, Inc., 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20 | */ 21 | 22 | #ifndef THEME_INSTALLER_H 23 | #define THEME_INSTALLER_H 24 | 25 | void mate_theme_install (GFile *file, GtkWindow *parent); 26 | void mate_theme_installer_run (GtkWindow *parent); 27 | 28 | #endif /* THEME_INSTALLER_H */ 29 | -------------------------------------------------------------------------------- /capplets/appearance/theme-save.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Jens Granseuer 4 | * All Rights Reserved 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License along 17 | * with this program; if not, write to the Free Software Foundation, Inc., 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 | */ 20 | 21 | #ifndef __THEME_SAVE_H__ 22 | #define __THEME_SAVE_H__ 23 | 24 | void theme_save_dialog_run (MateThemeMetaInfo *theme_info, 25 | AppearanceData *data); 26 | 27 | #endif /* __THEME_SAVE_H__ */ 28 | -------------------------------------------------------------------------------- /capplets/appearance/theme-util.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Jens Granseuer 4 | * All Rights Reserved 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License along 17 | * with this program; if not, write to the Free Software Foundation, Inc., 18 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 19 | */ 20 | 21 | #ifndef __THEME_UTIL_H__ 22 | #define __THEME_UTIL_H__ 23 | 24 | enum { 25 | COL_THUMBNAIL, 26 | COL_LABEL, 27 | COL_NAME, 28 | NUM_COLS 29 | }; 30 | 31 | typedef enum { 32 | THEME_TYPE_GTK, 33 | THEME_TYPE_WINDOW, 34 | THEME_TYPE_ICON, 35 | THEME_TYPE_META, 36 | THEME_TYPE_CURSOR 37 | } ThemeType; 38 | 39 | gboolean theme_is_writable(const gpointer theme); 40 | gboolean theme_delete(const gchar* name, ThemeType type); 41 | 42 | gboolean theme_model_iter_last(GtkTreeModel* model, GtkTreeIter* iter); 43 | gboolean theme_find_in_model(GtkTreeModel* model, const gchar* name, GtkTreeIter* iter); 44 | 45 | void theme_install_file(GtkWindow* parent, const gchar* path); 46 | gboolean packagekit_available(void); 47 | 48 | #endif /* __THEME_UTIL_H__ */ 49 | -------------------------------------------------------------------------------- /capplets/common/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = 2 | 3 | AM_CPPFLAGS = \ 4 | -DMATECC_DATA_DIR="\"$(pkgdatadir)\"" \ 5 | -DMATELOCALEDIR="\"$(datadir)/locale\"" \ 6 | -DMATEDATADIR="\"$(datadir)\"" \ 7 | -DGTK_ENGINE_DIR="\"$(GTK_ENGINE_DIR)\"" \ 8 | -DG_LOG_DOMAIN=\"capplet-common\" \ 9 | -DINSTALL_PREFIX=\"$(prefix)\" \ 10 | -I$(top_srcdir) \ 11 | -DPIXMAP_DIR=\""$(datadir)/mate-control-center/pixmaps"\" \ 12 | $(WARN_CFLAGS) \ 13 | $(CAPPLET_CFLAGS) \ 14 | $(MATE_DESKTOP_CFLAGS) \ 15 | $(MARCO_CFLAGS) \ 16 | $(GIO_CFLAGS) \ 17 | $(DCONF_CFLAGS) 18 | 19 | 20 | noinst_LTLIBRARIES = libcommon.la 21 | 22 | libcommon_la_SOURCES = \ 23 | activate-settings-daemon.c \ 24 | activate-settings-daemon.h \ 25 | capplet-util.c \ 26 | capplet-util.h \ 27 | dconf-util.c \ 28 | dconf-util.h \ 29 | file-transfer-dialog.c \ 30 | file-transfer-dialog.h \ 31 | mate-theme-apply.c \ 32 | mate-theme-apply.h \ 33 | mate-theme-info.c \ 34 | mate-theme-info.h \ 35 | gtkrc-utils.c \ 36 | gtkrc-utils.h \ 37 | theme-thumbnail.c \ 38 | theme-thumbnail.h \ 39 | wm-common.c \ 40 | wm-common.h 41 | 42 | libcommon_la_LIBADD = \ 43 | $(MARCO_LIBS) \ 44 | $(MATE_DESKTOP_LIBS) \ 45 | $(GIO_LIBS) \ 46 | $(DCONF_LIBS) 47 | 48 | mate_theme_test_SOURCES = \ 49 | mate-theme-test.c 50 | 51 | mate_theme_test_LDADD = \ 52 | libcommon.la \ 53 | $(MATECC_CAPPLETS_LIBS) \ 54 | $(MATECC_LIBS) 55 | 56 | noinst_PROGRAMS = \ 57 | mate-theme-test 58 | 59 | -include $(top_srcdir)/git.mk 60 | -------------------------------------------------------------------------------- /capplets/common/activate-settings-daemon.h: -------------------------------------------------------------------------------- 1 | #ifndef ACTIVATE_SETINGS_DAEMON 2 | #define ACTIVATE_SETINGS_DAEMON 3 | 4 | #include 5 | 6 | /* Returns FALSE if activation failed, else TRUE */ 7 | gboolean activate_settings_daemon (void); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /capplets/common/capplet-util.h: -------------------------------------------------------------------------------- 1 | /* -*- mode: c; style: linux -*- */ 2 | 3 | /* capplet-util.h 4 | * Copyright (C) 2001 Ximian, Inc. 5 | * 6 | * Written by Bradford Hovinen 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2, or (at your option) 11 | * any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 21 | * 02110-1301, USA. 22 | */ 23 | 24 | #ifndef __CAPPLET_UTIL_H 25 | #define __CAPPLET_UTIL_H 26 | 27 | #include 28 | #include 29 | #include 30 | 31 | /* Macros to make certain repetitive tasks a bit easier */ 32 | 33 | /* Retrieve a widget from the UI object */ 34 | 35 | #define WID(s) GTK_WIDGET (gtk_builder_get_object (dialog, s)) 36 | 37 | /* Some miscellaneous functions useful to all capplets */ 38 | 39 | void capplet_help (GtkWindow *parent, char const *section); 40 | void capplet_set_icon (GtkWidget *window, char const *icon_file_name); 41 | gboolean capplet_file_delete_recursive (GFile *directory, GError **error); 42 | gboolean capplet_notebook_scroll_event_cb (GtkWidget *widget, GdkEventScroll *event); 43 | void capplet_init (GOptionContext *context, int *argc, char ***argv); 44 | 45 | #endif /* __CAPPLET_UTIL_H */ 46 | -------------------------------------------------------------------------------- /capplets/common/dconf-util.h: -------------------------------------------------------------------------------- 1 | /* 2 | * dconf-util.h: helper API for dconf 3 | * 4 | * Copyright (C) 2012 Stefano Karapetsas 5 | * Copyright (C) 2012-2021 MATE Developers 6 | * 7 | * This program is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU General Public License as 9 | * published by the Free Software Foundation; either version 2 of the 10 | * License, or (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, but 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 20 | * 02111-1307, USA. 21 | * 22 | * Authors: 23 | * Stefano Karapetsas 24 | * Vincent Untz 25 | */ 26 | 27 | #ifndef __DCONF_UTIL_H__ 28 | #define __DCONF_UTIL_H__ 29 | 30 | #include 31 | 32 | G_BEGIN_DECLS 33 | 34 | gboolean dconf_util_write_sync (const gchar *key, 35 | GVariant *value, 36 | GError **error); 37 | 38 | gboolean dconf_util_recursive_reset (const gchar *dir, 39 | GError **error); 40 | 41 | gchar **dconf_util_list_subdirs (const gchar *dir, 42 | gboolean remove_trailing_slash); 43 | 44 | G_END_DECLS 45 | 46 | #endif /* __DCONF_UTIL_H__ */ 47 | -------------------------------------------------------------------------------- /capplets/common/gtkrc-utils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The GNOME Foundation 3 | * Written by Thomas Wood 4 | * Jens Granseuer 5 | * All Rights Reserved 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2 of the License, or 10 | * (at your option) any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License along 18 | * with this program; if not, write to the Free Software Foundation, Inc., 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20 | */ 21 | 22 | #ifndef __GTKRC_UTILS_H__ 23 | #define __GTKRC_UTILS_H__ 24 | 25 | void gtkrc_get_details (gchar *filename, GSList **engines, GSList **symbolic_colors); 26 | gchar * gtkrc_find_named (const gchar *name); 27 | gchar * gtkrc_get_color_scheme (const gchar *filename); 28 | gchar * gtkrc_get_color_scheme_for_theme (const gchar *theme_name); 29 | 30 | #endif /* __GTKRC_UTILS_H__ */ 31 | -------------------------------------------------------------------------------- /capplets/common/mate-theme-apply.h: -------------------------------------------------------------------------------- 1 | /* mate-theme-info.h - MATE Theme information 2 | 3 | Copyright (C) 2002 Jonathan Blandford 4 | All rights reserved. 5 | 6 | This file is part of the Mate Library. 7 | 8 | The Mate Library is free software; you can redistribute it and/or 9 | modify it under the terms of the GNU Library General Public License as 10 | published by the Free Software Foundation; either version 2 of the 11 | License, or (at your option) any later version. 12 | 13 | The Mate Library is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | Library General Public License for more details. 17 | 18 | You should have received a copy of the GNU Library General Public 19 | License along with the Mate Library; see the file COPYING.LIB. If not, 20 | write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 21 | Boston, MA 02110-1301, USA. */ 22 | /* 23 | @NOTATION@ 24 | */ 25 | 26 | #ifndef THEME_APPLY_H 27 | #define THEME_APPLY_H 28 | 29 | #include "mate-theme-info.h" 30 | 31 | void mate_meta_theme_set (MateThemeMetaInfo *meta_theme_info); 32 | 33 | #endif /* THEME_APPLY_H */ 34 | -------------------------------------------------------------------------------- /capplets/common/meson.build: -------------------------------------------------------------------------------- 1 | common_inc = include_directories('.') 2 | cflags = [ 3 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 4 | '-DMATEDATADIR="@0@"'.format(mcc_datadir), 5 | '-DMATELOCALEDIR="@0@"'.format(mcc_localedir), 6 | '-DGTK_ENGINE_DIR="/usr/lib/gtk-3.0/3.0.0/theming-engines"', 7 | '-DG_LOG_DOMAIN="capplet-common"', 8 | '-DINSTALL_PREFIX="@0@"'.format(mcc_prefix), 9 | '-DPIXMAP_DIR="@0@"'.format(mcc_pixmaps), 10 | ] 11 | 12 | sources = [ 13 | 'activate-settings-daemon.c', 14 | 'capplet-util.c', 15 | 'dconf-util.c', 16 | 'file-transfer-dialog.c', 17 | 'mate-theme-apply.c', 18 | 'mate-theme-info.c', 19 | 'gtkrc-utils.c', 20 | 'theme-thumbnail.c', 21 | 'wm-common.c', 22 | ] 23 | gmodule_dep = cc.find_library('gmodule-2.0') 24 | libcommon = static_library( 25 | 'common', 26 | sources: sources, 27 | include_directories: config_inc, 28 | dependencies: [common_deps,gmodule_dep], 29 | c_args: cflags, 30 | #link_args: ldflags, 31 | install: false, 32 | ) 33 | 34 | libcommon_dep = declare_dependency( 35 | include_directories: common_inc, 36 | link_with: libcommon 37 | ) 38 | 39 | executable( 40 | 'mate-theme-test', 41 | sources : 'mate-theme-test.c', 42 | dependencies : [common_deps, libcommon_dep], 43 | include_directories: config_inc, 44 | c_args : cflags, 45 | install : false, 46 | ) 47 | -------------------------------------------------------------------------------- /capplets/common/wm-common.h: -------------------------------------------------------------------------------- 1 | #ifndef WM_COMMON_H 2 | #define WM_COMMON_H 3 | 4 | #define WM_COMMON_MARCO "Metacity (Marco)" 5 | #define WM_COMMON_SAWFISH "Sawfish" 6 | #define WM_COMMON_METACITY "Metacity" 7 | #define WM_COMMON_COMPIZ "Compiz" 8 | #define WM_COMMON_COMPIZ_OLD "compiz" 9 | #define WM_COMMON_UNKNOWN "Unknown" 10 | 11 | gchar *wm_common_get_current_window_manager (void); 12 | /* Returns a strv of keybinding names for the window manager; 13 | * using _MATE_WM_KEYBINDINGS if available, _NET_WM_NAME otherwise. */ 14 | char **wm_common_get_current_keybindings (void); 15 | 16 | void wm_common_register_window_manager_change (GFunc func, 17 | gpointer data); 18 | void wm_common_update_window (void); 19 | 20 | #endif /* WM_COMMON_H */ 21 | 22 | -------------------------------------------------------------------------------- /capplets/default-applications/icons/16x16/categories/instant-messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/default-applications/icons/16x16/categories/instant-messaging.png -------------------------------------------------------------------------------- /capplets/default-applications/icons/22x22/categories/instant-messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/default-applications/icons/22x22/categories/instant-messaging.png -------------------------------------------------------------------------------- /capplets/default-applications/icons/24x24/categories/instant-messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/default-applications/icons/24x24/categories/instant-messaging.png -------------------------------------------------------------------------------- /capplets/default-applications/icons/256x256/categories/instant-messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/default-applications/icons/256x256/categories/instant-messaging.png -------------------------------------------------------------------------------- /capplets/default-applications/icons/32x32/categories/instant-messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/default-applications/icons/32x32/categories/instant-messaging.png -------------------------------------------------------------------------------- /capplets/default-applications/icons/48x48/categories/instant-messaging.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/default-applications/icons/48x48/categories/instant-messaging.png -------------------------------------------------------------------------------- /capplets/default-applications/icons/Makefile.am: -------------------------------------------------------------------------------- 1 | iconsdir = $(datadir)/icons/hicolor 2 | 3 | nobase_dist_icons_DATA = \ 4 | 16x16/categories/instant-messaging.png \ 5 | 22x22/categories/instant-messaging.png \ 6 | 24x24/categories/instant-messaging.png \ 7 | 32x32/categories/instant-messaging.png \ 8 | 48x48/categories/instant-messaging.png \ 9 | 256x256/categories/instant-messaging.png 10 | 11 | gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir) 12 | 13 | install-data-hook: update-icon-cache 14 | uninstall-hook: update-icon-cache 15 | update-icon-cache: 16 | @-if test -z "$(DESTDIR)"; then \ 17 | echo "Updating Gtk icon cache."; \ 18 | $(gtk_update_icon_cache); \ 19 | else \ 20 | echo "*** Icon cache not updated. After install, run this:"; \ 21 | echo "*** $(gtk_update_icon_cache)"; \ 22 | fi 23 | 24 | -include $(top_srcdir)/git.mk 25 | -------------------------------------------------------------------------------- /capplets/default-applications/icons/meson.build: -------------------------------------------------------------------------------- 1 | categories_icons = [ 2 | ['16x16', 'instant-messaging.png'], 3 | ['22x22', 'instant-messaging.png'], 4 | ['24x24', 'instant-messaging.png'], 5 | ['32x32', 'instant-messaging.png'], 6 | ['48x48', 'instant-messaging.png'], 7 | ['256x256', 'instant-messaging.png'], 8 | ] 9 | 10 | foreach icon: categories_icons 11 | install_data( 12 | join_paths(icon[0], 'categories', icon[1]), 13 | install_dir: join_paths(mcc_icondir, 'hicolor', icon[0], 'categories') 14 | ) 15 | endforeach 16 | -------------------------------------------------------------------------------- /capplets/default-applications/mate-default-applications-properties.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Preferred Applications 3 | Comment=Select your default applications 4 | Exec=mate-default-applications-properties 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=preferences-desktop-default-applications 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;X-MATE-PersonalSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;default;preferred;applications; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/default-applications/mate-default-applications.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | datarootdir=@datarootdir@ 3 | datadir=@datadir@ 4 | pkgdatadir=${datadir}/@PACKAGE@ 5 | defappsdir=${pkgdatadir}/default-apps 6 | 7 | Name: mate-default-applications 8 | Description: Default MATE applications configuration 9 | Version: @VERSION@ 10 | 11 | -------------------------------------------------------------------------------- /capplets/default-applications/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-default-applications-properties.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'mate-da-capplet.c' 14 | ) 15 | 16 | sources += gnome.compile_resources( 17 | 'mate-default-applications-properties-resources', 18 | 'org.mate.mcc.da.gresource.xml', 19 | c_name: 'default_applications', 20 | export: true 21 | ) 22 | 23 | cflags += [ 24 | '-DAPPLICATIONSDIR="@0@"'.format(mcc_desktopdir), 25 | ] 26 | 27 | executable( 28 | 'mate-default-applications-properties', 29 | sources : sources, 30 | include_directories: config_inc, 31 | dependencies : [common_deps, libcommon_dep], 32 | c_args : cflags, 33 | install : true, 34 | install_dir : get_option('bindir') 35 | ) 36 | 37 | pc_conf = configuration_data() 38 | pc_conf.set('prefix', mcc_prefix) 39 | pc_conf.set('datarootdir', mcc_datadir) 40 | pc_conf.set('datadir', mcc_datadir) 41 | pc_conf.set('PACKAGE', meson.project_name()) 42 | pc_conf.set('VERSION', meson.project_version()) 43 | 44 | pc = 'mate-default-applications.pc' 45 | 46 | configure_file( 47 | input: pc + '.in', 48 | output: pc, 49 | install: true, 50 | install_dir: join_paths(mcc_libdir, 'pkgconfig'), 51 | configuration: pc_conf 52 | ) 53 | 54 | subdir('icons') 55 | -------------------------------------------------------------------------------- /capplets/default-applications/org.mate.mcc.da.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | mate-default-applications-properties.ui 21 | 22 | 23 | -------------------------------------------------------------------------------- /capplets/display/foo-marshal.list: -------------------------------------------------------------------------------- 1 | VOID:OBJECT,OBJECT 2 | VOID:UINT,UINT,UINT,UINT 3 | VOID:UINT,UINT 4 | VOID:BOXED,BOXED 5 | VOID:POINTER,BOXED,POINTER 6 | VOID:POINTER,POINTER 7 | -------------------------------------------------------------------------------- /capplets/display/mate-display-properties.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Displays 3 | Comment=Change resolution and position of monitors and projectors 4 | Exec=mate-display-properties 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=preferences-desktop-display 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;HardwareSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;resolution;position;monitors;display;properties; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/display/meson.build: -------------------------------------------------------------------------------- 1 | sources = files( 2 | 'xrandr-capplet.c', 3 | 'scrollarea.c', 4 | ) 5 | 6 | sources += gnome.compile_resources( 7 | 'mate-display-properties-resources', 8 | 'org.mate.mcc.display.gresource.xml', 9 | c_name: 'display', 10 | export: true 11 | ) 12 | 13 | sources += gnome.genmarshal('foo-marshal', prefix : 'foo_marshal', sources : 'foo-marshal.list') 14 | cflags = [ 15 | '-DDATADIR="@0@"'.format(mcc_datadir), 16 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 17 | '-DSBINDIR="@0@"'.format(mcc_sbindir), 18 | '-DMATELOCALEDIR="@0@"'.format(mcc_localedir), 19 | ] 20 | 21 | executable( 22 | 'mate-display-properties', 23 | sources : sources, 24 | include_directories: config_inc, 25 | dependencies : [common_deps, libcommon_dep], 26 | c_args : cflags, 27 | install : true, 28 | install_dir : get_option('bindir') 29 | ) 30 | 31 | executable( 32 | 'mate-display-properties-install-systemwide', 33 | sources : 'mate-display-properties-install-systemwide.c', 34 | include_directories: config_inc, 35 | dependencies : [common_deps, libcommon_dep], 36 | c_args : cflags, 37 | install : true, 38 | install_dir : get_option('sbindir') 39 | ) 40 | 41 | desktop = 'mate-display-properties.desktop' 42 | 43 | i18n.merge_file( 44 | type: 'desktop', 45 | input: desktop + '.in', 46 | output: desktop, 47 | po_dir: po_dir, 48 | install: true, 49 | install_dir: mcc_desktopdir 50 | ) 51 | 52 | policy = 'org.mate.randr.policy' 53 | 54 | i18n.merge_file( 55 | input: policy + '.in', 56 | output: policy, 57 | po_dir: po_dir, 58 | install: true, 59 | install_dir: mcc_policydir, 60 | ) 61 | -------------------------------------------------------------------------------- /capplets/display/org.mate.mcc.display.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | display-capplet.ui 21 | 22 | 23 | -------------------------------------------------------------------------------- /capplets/display/org.mate.randr.policy.in: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 11 | 12 | MATE Monitor Preferences 13 | http://www.mate-desktop.org 14 | mate-display-properties 15 | 16 | 17 | Install multi-monitor settings for the whole system 18 | Authentication is required to install multi-monitor settings for all users 19 | mate-display-properties 20 | 21 | no 22 | no 23 | auth_admin_keep 24 | 25 | /usr/sbin/mate-display-properties-install-systemwide 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /capplets/display/ui-a11y.suppr: -------------------------------------------------------------------------------- 1 | display-capplet.ui://GtkLabel[@id='label8'] orphan-label 2 | display-capplet.ui://GtkLabel[@id='label9'] orphan-label 3 | display-capplet.ui://GtkLabel[@id='current_monitor_label'] orphan-label 4 | -------------------------------------------------------------------------------- /capplets/keybindings/00-multimedia-key.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /capplets/keybindings/01-desktop-key.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /capplets/keybindings/mate-keybinding.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Keyboard Shortcuts 3 | Comment=Assign shortcut keys to commands 4 | Exec=mate-keybinding-properties 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=preferences-desktop-keyboard-shortcuts 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;HardwareSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;assign;keyboard;shortcuts;keybindings; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/keybindings/mate-keybindings.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | datarootdir=@datarootdir@ 3 | datadir=@datadir@ 4 | pkgdatadir=${datadir}/@PACKAGE@ 5 | keysdir=${pkgdatadir}/keybindings 6 | 7 | Name: mate-keybindings 8 | Description: Keybindings configuration for MATE applications 9 | Version: @VERSION@ 10 | 11 | -------------------------------------------------------------------------------- /capplets/keybindings/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-keybinding.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'mate-keybinding-properties.c', 14 | 'eggcellrendererkeys.c', 15 | 'eggaccelerators.c' 16 | ) 17 | 18 | sources += gnome.compile_resources( 19 | 'mate-keybinding-properties-resources', 20 | 'org.mate.mcc.keybindings.gresource.xml', 21 | c_name: 'keybindings', 22 | export: true 23 | ) 24 | 25 | cflags += [ 26 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 27 | ] 28 | 29 | executable( 30 | 'mate-keybinding-properties', 31 | sources : sources, 32 | include_directories: config_inc, 33 | dependencies : [common_deps, libcommon_dep, dconf_dep], 34 | c_args : cflags, 35 | install : true, 36 | install_dir : get_option('bindir') 37 | ) 38 | 39 | pc_conf = configuration_data() 40 | pc_conf.set('prefix', mcc_prefix) 41 | pc_conf.set('datarootdir', mcc_datadir) 42 | pc_conf.set('datadir', mcc_datadir) 43 | pc_conf.set('PACKAGE', meson.project_name()) 44 | pc_conf.set('VERSION', meson.project_version()) 45 | 46 | pc = 'mate-keybindings.pc' 47 | 48 | configure_file( 49 | input: pc + '.in', 50 | output: pc, 51 | install: true, 52 | install_dir: join_paths(mcc_libdir, 'pkgconfig'), 53 | configuration: pc_conf 54 | ) 55 | 56 | xml_files = [ 57 | '00-multimedia-key.xml', 58 | '01-desktop-key.xml' 59 | ] 60 | 61 | foreach file: xml_files 62 | i18n.merge_file( 63 | input: file + '.in', 64 | output: file, 65 | po_dir: po_dir, 66 | data_dirs: its_dir, 67 | install: true, 68 | install_dir: join_paths(mcc_pkgdatadir, 'keybindings') 69 | ) 70 | endforeach 71 | -------------------------------------------------------------------------------- /capplets/keybindings/org.mate.mcc.keybindings.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | mate-keybinding-properties.ui 21 | 22 | 23 | -------------------------------------------------------------------------------- /capplets/keybindings/ui-a11y.suppr: -------------------------------------------------------------------------------- 1 | mate-keybinding-properties.ui://GtkTreeView[@id='shortcut_treeview'] no-labelled-by 2 | mate-keybinding-properties.ui://GtkImage[@id='image1'] no-labelled-by 3 | mate-keybinding-properties.ui://GtkLabel[@id='label-suggest'] orphan-label 4 | -------------------------------------------------------------------------------- /capplets/keyboard/mate-keyboard-properties-a11y.h: -------------------------------------------------------------------------------- 1 | /* -*- mode: c; style: linux -*- */ 2 | 3 | /* accessibility-keyboard.c 4 | * Copyright (C) 2002 Ximian, Inc. 5 | * 6 | * Written by: Jody Goldberg 7 | * 8 | * This program is free software; you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation; either version 2, or (at your option) 11 | * any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 21 | * 02110-1301, USA. 22 | */ 23 | 24 | #ifndef __MATE_KEYBOARD_PROPERTY_A11Y_H 25 | #define __MATE_KEYBOARD_PROPERTY_A11Y_H 26 | 27 | #include 28 | 29 | extern void setup_a11y_tabs (GtkBuilder * dialog); 30 | extern void finalize_a11y_tabs (void); 31 | 32 | #endif /* __MATE_KEYBOARD_PROPERTY_A11Y_H */ 33 | -------------------------------------------------------------------------------- /capplets/keyboard/mate-keyboard.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Keyboard 3 | Comment=Set your keyboard preferences 4 | Exec=mate-keyboard-properties 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=input-keyboard 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;HardwareSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;keyboard;preferences; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/keyboard/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-keyboard.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'mate-keyboard-properties.c', 14 | 'mate-keyboard-properties-a11y.c', 15 | 'mate-keyboard-properties-xkb.c', 16 | 'mate-keyboard-properties-xkbmc.c', 17 | 'mate-keyboard-properties-xkblt.c', 18 | 'mate-keyboard-properties-xkbltadd.c', 19 | 'mate-keyboard-properties-xkbot.c', 20 | 'mate-keyboard-properties-xkbpv.c' 21 | ) 22 | 23 | sources += gnome.compile_resources( 24 | 'mate-keyboard-properties-resources', 25 | 'org.mate.mcc.keyboard.gresource.xml', 26 | c_name: 'keyboard', 27 | export: true 28 | ) 29 | 30 | cflags += [ 31 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 32 | ] 33 | 34 | executable( 35 | 'mate-keyboard-properties', 36 | sources : sources, 37 | include_directories: config_inc, 38 | dependencies : [common_deps, libcommon_dep, xklavier_dep, matekbd_dep, matekbdui_dep], 39 | c_args : cflags, 40 | install : true, 41 | install_dir : get_option('bindir') 42 | ) 43 | -------------------------------------------------------------------------------- /capplets/keyboard/org.mate.mcc.keyboard.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | mate-keyboard-properties-a11y-notifications.ui 21 | mate-keyboard-properties-dialog.ui 22 | mate-keyboard-properties-layout-chooser.ui 23 | mate-keyboard-properties-model-chooser.ui 24 | mate-keyboard-properties-options-dialog.ui 25 | 26 | 27 | -------------------------------------------------------------------------------- /capplets/meson.build: -------------------------------------------------------------------------------- 1 | subdir('common') 2 | subdir('about-me') 3 | subdir('accessibility/at-properties') 4 | subdir('appearance') 5 | subdir('default-applications') 6 | subdir('display') 7 | subdir('keybindings') 8 | subdir('keyboard') 9 | subdir('mouse') 10 | subdir('network') 11 | subdir('system-info') 12 | subdir('time-admin') 13 | subdir('windows') 14 | -------------------------------------------------------------------------------- /capplets/mouse/Makefile.am: -------------------------------------------------------------------------------- 1 | # This is used in MATECC_CAPPLETS_CFLAGS 2 | cappletname = mouse 3 | 4 | ui_files = mate-mouse-properties.ui 5 | 6 | bin_PROGRAMS = mate-mouse-properties 7 | 8 | mate_mouse_properties_LDADD = $(MATECC_CAPPLETS_LIBS) 9 | BUILT_SOURCES = mate-mouse-properties-resources.h mate-mouse-properties-resources.c 10 | nodist_mate_mouse_properties_SOURCES = \ 11 | $(BUILT_SOURCES) 12 | mate_mouse_properties_SOURCES = \ 13 | mate-mouse-properties.c \ 14 | msd-input-helper.c \ 15 | msd-input-helper.h 16 | 17 | include $(top_srcdir)/gla11y.mk 18 | 19 | desktopdir = $(datadir)/applications 20 | Desktop_in_files = mate-settings-mouse.desktop.in 21 | desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) 22 | 23 | $(desktop_DATA): $(Desktop_in_files) 24 | if USE_NLS 25 | $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ 26 | else 27 | $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ 28 | endif 29 | 30 | mate-mouse-properties-resources.h mate-mouse-properties-resources.c: org.mate.mcc.mouse.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.mouse.gresource.xml) 31 | $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name mouse $< 32 | 33 | AM_CPPFLAGS = \ 34 | $(WARN_CFLAGS) \ 35 | $(MATECC_CAPPLETS_CFLAGS) \ 36 | -DMATECC_DATA_DIR="\"$(pkgdatadir)\"" 37 | CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) 38 | EXTRA_DIST = \ 39 | $(ui_files) \ 40 | double-click-on.svg \ 41 | double-click-off.svg \ 42 | double-click-maybe.svg \ 43 | $(Desktop_in_files) \ 44 | org.mate.mcc.mouse.gresource.xml \ 45 | ui-a11y.suppr 46 | 47 | -include $(top_srcdir)/git.mk 48 | -------------------------------------------------------------------------------- /capplets/mouse/mate-settings-mouse.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Mouse 3 | Comment=Set your mouse preferences 4 | Exec=mate-mouse-properties 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=input-mouse 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;HardwareSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;mouse;preferences; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/mouse/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-settings-mouse.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'mate-mouse-properties.c', 14 | 'msd-input-helper.c' 15 | ) 16 | 17 | sources += gnome.compile_resources( 18 | 'mate-mouse-properties-resources', 19 | 'org.mate.mcc.mouse.gresource.xml', 20 | c_name: 'mouse', 21 | export: true 22 | ) 23 | 24 | cflags = [ 25 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 26 | ] 27 | 28 | executable( 29 | 'mate-mouse-properties', 30 | sources : sources, 31 | include_directories: config_inc, 32 | dependencies : [common_deps, libcommon_dep, xi_dep], 33 | c_args : cflags, 34 | install : true, 35 | install_dir : get_option('bindir') 36 | ) 37 | -------------------------------------------------------------------------------- /capplets/mouse/msd-input-helper.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- 2 | * 3 | * Copyright (C) 2010 Bastien Nocera 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | */ 19 | 20 | #ifndef __MSD_INPUT_HELPER_H 21 | #define __MSD_INPUT_HELPER_H 22 | 23 | G_BEGIN_DECLS 24 | 25 | #include 26 | 27 | #include 28 | #include 29 | 30 | gboolean supports_xinput_devices (void); 31 | XDevice *device_is_touchpad (XDeviceInfo *deviceinfo); 32 | gboolean touchpad_is_present (void); 33 | 34 | G_END_DECLS 35 | 36 | #endif /* __MSD_INPUT_HELPER_H */ 37 | -------------------------------------------------------------------------------- /capplets/mouse/org.mate.mcc.mouse.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | mate-mouse-properties.ui 21 | double-click-off.svg 22 | double-click-on.svg 23 | double-click-maybe.svg 24 | 25 | 26 | -------------------------------------------------------------------------------- /capplets/mouse/ui-a11y.suppr: -------------------------------------------------------------------------------- 1 | mate-mouse-properties.ui://GtkLabel[@id='label27'] orphan-label 2 | mate-mouse-properties.ui://GtkLabel[@id='label5'] orphan-label 3 | mate-mouse-properties.ui://GtkLabel[@id='label29'] orphan-label 4 | mate-mouse-properties.ui://GtkLabel[@id='acceleration_slow_label'] orphan-label 5 | mate-mouse-properties.ui://GtkLabel[@id='acceleration_fast_label'] orphan-label 6 | mate-mouse-properties.ui://GtkLabel[@id='sensitivity_low_label'] orphan-label 7 | mate-mouse-properties.ui://GtkLabel[@id='sensitivity_high_label'] orphan-label 8 | mate-mouse-properties.ui://GtkLabel[@id='label8'] orphan-label 9 | mate-mouse-properties.ui://GtkLabel[@id='threshold_small_label'] orphan-label 10 | mate-mouse-properties.ui://GtkLabel[@id='threshold_large_label'] orphan-label 11 | mate-mouse-properties.ui://GtkLabel[@id='label31'] orphan-label 12 | mate-mouse-properties.ui://GtkLabel[@id='timeout_short_label'] orphan-label 13 | mate-mouse-properties.ui://GtkLabel[@id='timeout_long_label'] orphan-label 14 | mate-mouse-properties.ui://GtkLabel[@id='label33'] orphan-label 15 | mate-mouse-properties.ui://GtkImage[@id='double_click_image'] no-labelled-by 16 | mate-mouse-properties.ui://GtkLabel[@id='label18'] orphan-label 17 | mate-mouse-properties.ui://GtkLabel[@id='label6'] orphan-label 18 | mate-mouse-properties.ui://GtkLabel[@id='label9'] orphan-label 19 | mate-mouse-properties.ui://GtkLabel[@id='multi_finger_warning'] orphan-label 20 | mate-mouse-properties.ui://GtkLabel[@id='label34'] orphan-label 21 | mate-mouse-properties.ui://GtkLabel[@id='label40'] orphan-label 22 | mate-mouse-properties.ui://GtkLabel[@id='touchpad_acceleration_slow_label'] orphan-label 23 | mate-mouse-properties.ui://GtkLabel[@id='touchpad_acceleration_fast_label'] orphan-label 24 | mate-mouse-properties.ui://GtkLabel[@id='touchpad_sensitivity_low_label'] orphan-label 25 | mate-mouse-properties.ui://GtkLabel[@id='touchpad_sensitivity_high_label'] orphan-label 26 | -------------------------------------------------------------------------------- /capplets/network/Makefile.am: -------------------------------------------------------------------------------- 1 | # This is used in MATECC_CAPPLETS_CFLAGS 2 | cappletname = network 3 | 4 | ui_files = mate-network-properties.ui 5 | 6 | bin_PROGRAMS = mate-network-properties 7 | 8 | BUILT_SOURCES = mate-network-properties-resources.h mate-network-properties-resources.c 9 | nodist_mate_network_properties_SOURCES = \ 10 | $(BUILT_SOURCES) 11 | mate_network_properties_SOURCES = mate-network-properties.c 12 | mate_network_properties_LDADD = $(MATECC_CAPPLETS_LIBS) 13 | 14 | include $(top_srcdir)/gla11y.mk 15 | 16 | desktopdir = $(datadir)/applications 17 | desktop_in_files = mate-network-properties.desktop.in 18 | desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 19 | 20 | $(desktop_DATA): $(desktop_in_files) 21 | if USE_NLS 22 | $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ 23 | else 24 | $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ 25 | endif 26 | 27 | mate-network-properties-resources.h mate-network-properties-resources.c: org.mate.mcc.network.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.network.gresource.xml) 28 | $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name network $< 29 | 30 | AM_CPPFLAGS = \ 31 | $(WARN_CFLAGS) \ 32 | $(MATECC_CAPPLETS_CFLAGS) 33 | 34 | CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) 35 | EXTRA_DIST = $(ui_files) $(desktop_in_files) org.mate.mcc.network.gresource.xml ui-a11y.suppr 36 | 37 | -include $(top_srcdir)/git.mk 38 | -------------------------------------------------------------------------------- /capplets/network/mate-network-properties.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Network Proxy 3 | Comment=Set your network proxy preferences 4 | Exec=mate-network-properties 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=network-server 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;X-MATE-NetworkSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;network;http;socks;proxy; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/network/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-network-properties.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'mate-network-properties.c', 14 | ) 15 | 16 | sources += gnome.compile_resources( 17 | 'mate-network-properties-resources', 18 | 'org.mate.mcc.network.gresource.xml', 19 | c_name: 'network', 20 | export: true 21 | ) 22 | 23 | cflags += [ 24 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 25 | ] 26 | 27 | executable( 28 | 'mate-network-properties', 29 | sources : sources, 30 | include_directories: config_inc, 31 | dependencies : [common_deps, libcommon_dep], 32 | c_args : cflags, 33 | install : true, 34 | install_dir : get_option('bindir') 35 | ) 36 | -------------------------------------------------------------------------------- /capplets/network/org.mate.mcc.network.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | mate-network-properties.ui 21 | 22 | 23 | -------------------------------------------------------------------------------- /capplets/network/ui-a11y.suppr: -------------------------------------------------------------------------------- 1 | mate-network-properties.ui://GtkLabel[@id='label2'] orphan-label 2 | mate-network-properties.ui://GtkLabel[@id='label17'] orphan-label 3 | mate-network-properties.ui://GtkLabel[@id='label_ignore_host'] orphan-label 4 | mate-network-properties.ui://GtkLabel[@id='label22'] orphan-label 5 | mate-network-properties.ui://GtkEntry[@id='entry_url'] no-labelled-by 6 | mate-network-properties.ui://GtkTreeView[@id='treeview_ignore_host'] no-labelled-by 7 | mate-network-properties.ui://GtkLabel[@id='label19'] orphan-label 8 | -------------------------------------------------------------------------------- /capplets/system-info/Makefile.am: -------------------------------------------------------------------------------- 1 | # This is used in MATECC_CAPPLETS_CFLAGS 2 | cappletname = system-info 3 | 4 | ui_files = mate-system-info.ui 5 | 6 | bin_PROGRAMS = mate-system-info 7 | 8 | mate_system_info_LDADD = $(MATECC_CAPPLETS_LIBS) 9 | BUILT_SOURCES = mate-system-info-resources.h mate-system-info-resources.c 10 | nodist_mate_system_info_SOURCES = \ 11 | $(BUILT_SOURCES) 12 | mate_system_info_SOURCES = \ 13 | mate-system-info.c \ 14 | mate-system-info.h \ 15 | info-cleanup.c \ 16 | info-cleanup.h \ 17 | main.c 18 | 19 | include $(top_srcdir)/gla11y.mk 20 | 21 | desktopdir = $(datadir)/applications 22 | Desktop_in_files = mate-system-info.desktop.in 23 | desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) 24 | 25 | $(desktop_DATA): $(Desktop_in_files) 26 | if USE_NLS 27 | $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ 28 | else 29 | $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ 30 | endif 31 | 32 | mate-system-info-resources.h mate-system-info-resources.c: system-info.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/system-info.gresource.xml) 33 | $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name mate_system_info $< 34 | 35 | AM_CPPFLAGS = \ 36 | $(WARN_CFLAGS) \ 37 | $(MATECC_CAPPLETS_CFLAGS) \ 38 | -DMATECC_DATA_DIR="\"$(pkgdatadir)\"" 39 | CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) 40 | EXTRA_DIST = \ 41 | $(ui_files) \ 42 | $(Desktop_in_files) \ 43 | system-info.gresource.xml 44 | 45 | -include $(top_srcdir)/git.mk 46 | -------------------------------------------------------------------------------- /capplets/system-info/info-cleanup.h: -------------------------------------------------------------------------------- 1 | /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- 2 | * 3 | * Copyright (C) 2010 Red Hat, Inc 4 | * Copyright (C) 2008 William Jon McCann 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program; if not, see . 18 | * 19 | */ 20 | 21 | #include 22 | 23 | char *info_cleanup (const char *input); 24 | -------------------------------------------------------------------------------- /capplets/system-info/main.c: -------------------------------------------------------------------------------- 1 | /************************************************************************* 2 | File Name: main.c 3 | Copyright (C) 2023 MATE Developers 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation, either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . 16 | 17 | ************************************************************************/ 18 | #include "mate-system-info.h" 19 | #include "capplet-util.h" 20 | 21 | int main (int argc, char *argv[]) 22 | { 23 | GtkWidget *dialog; 24 | 25 | capplet_init (NULL, &argc, &argv); 26 | 27 | dialog = mate_system_info_new (); 28 | mate_system_info_setup (MATE_SYSTEM_INFO (dialog)); 29 | g_signal_connect (dialog, "response", G_CALLBACK (gtk_main_quit), NULL); 30 | gtk_widget_show (dialog); 31 | 32 | gtk_main (); 33 | 34 | return 0; 35 | } 36 | -------------------------------------------------------------------------------- /capplets/system-info/mate-system-info.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=system-info 3 | Comment=View mate desktop system info 4 | Exec=mate-system-info 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=mate-desktop 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;HardwareSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;system;preferences; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/system-info/mate-system-info.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2023 MATE Developers 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2, or (at your option) 7 | * any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 17 | * 02110-1301, USA. 18 | */ 19 | 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | #ifndef __MATE_SYSTEM_INFO_H__ 28 | #define __MATE_SYSTEM_INFO_H__ 1 29 | 30 | G_BEGIN_DECLS 31 | 32 | #define MATE_TYPE_SYSTEM_INFO (mate_system_info_get_type ()) 33 | G_DECLARE_FINAL_TYPE (MateSystemInfo, mate_system_info, MATE, SYSTEM_INFO, GtkDialog) 34 | 35 | GtkWidget *mate_system_info_new (void); 36 | 37 | void mate_system_info_setup (MateSystemInfo *info); 38 | 39 | G_END_DECLS 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /capplets/system-info/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-system-info.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'main.c', 14 | 'mate-system-info.c', 15 | 'info-cleanup.c' 16 | ) 17 | 18 | sources += gnome.compile_resources( 19 | 'mate-system-info-resources', 20 | 'system-info.gresource.xml', 21 | c_name: 'mate_system_info', 22 | export: true 23 | ) 24 | 25 | cflags += [ 26 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 27 | ] 28 | 29 | executable( 30 | 'mate-system-info', 31 | sources : sources, 32 | include_directories: config_inc, 33 | dependencies : [common_deps, libcommon_dep, gtop_dep, udisks2_dep], 34 | c_args : cflags, 35 | install : true, 36 | install_dir : get_option('bindir') 37 | ) 38 | -------------------------------------------------------------------------------- /capplets/system-info/system-info.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | mate-system-info.ui 5 | 6 | 7 | -------------------------------------------------------------------------------- /capplets/time-admin/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = data src 2 | 3 | -include $(top_srcdir)/git.mk 4 | -------------------------------------------------------------------------------- /capplets/time-admin/data/map/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/bg.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/bg_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/bg_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/cc.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/pin.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-1.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-10.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-10_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-10_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-11.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-11_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-11_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-1_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-1_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-2.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-2_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-2_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-3.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-3.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-3.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-3.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-3.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-3_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-3_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-4.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-4.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-4.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-4.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-4.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-4_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-4_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-5.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-5.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-5.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-5.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-6.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-6_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-6_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-7.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-7_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-7_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-8.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-8_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-8_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-9.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-9.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-9.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-9.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-9.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_-9_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_-9_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_0.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_0_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_0_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_1.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_10.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_10.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_10.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_10.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_10.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_10_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_10_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_11.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_11.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_11.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_11.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_11.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_11_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_11_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_12.75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_12.75.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_12.75_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_12.75_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_12.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_12_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_12_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_13.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_13_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_13_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_14.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_14_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_14_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_1_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_1_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_2.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_2_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_2_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_3.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_3.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_3.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_3.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_3.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_3_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_3_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_4.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_4.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_4.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_4.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_4.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_4_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_4_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_5.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_5.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_5.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_5.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_5.75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_5.75.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_5.75_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_5.75_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_6.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_6.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_6.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_6.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_6.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_6_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_6_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_7.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_7_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_7_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_8.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_8.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_8.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_8.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_8.75.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_8.75.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_8.75_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_8.75_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_8.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_8_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_8_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_9.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_9.5.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_9.5_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_9.5_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_9.png -------------------------------------------------------------------------------- /capplets/time-admin/data/map/timezone_9_dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/capplets/time-admin/data/map/timezone_9_dim.png -------------------------------------------------------------------------------- /capplets/time-admin/data/mate-time-admin.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Time And Date Manager 3 | Comment=Setting the time and date of the local system 4 | Terminal=false 5 | Type=Application 6 | Exec=mate-time-admin 7 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 8 | Icon=preferences-system-time 9 | StartupNotify=true 10 | Categories=GTK;Settings;HardwareSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;clock;date;time;preferences; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/time-admin/data/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-time-admin.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | install_subdir( 13 | 'map', 14 | install_dir: join_paths(mcc_datadir, 'mate-time-admin') 15 | ) 16 | -------------------------------------------------------------------------------- /capplets/time-admin/meson.build: -------------------------------------------------------------------------------- 1 | subdir('src') 2 | subdir('data') 3 | -------------------------------------------------------------------------------- /capplets/time-admin/src/Makefile.am: -------------------------------------------------------------------------------- 1 | cappletname = time-admin 2 | 3 | bin_PROGRAMS = mate-time-admin 4 | 5 | BUILT_SOURCES = mate-time-admin-resources.h mate-time-admin-resources.c 6 | nodist_mate_time_admin_SOURCES = $(BUILT_SOURCES) 7 | mate_time_admin_SOURCES = \ 8 | main.c time-map.c time-share.c time-tool.c time-zone.c \ 9 | time-map.h time-share.h time-tool.h time-zone.h 10 | 11 | mate-time-admin-resources.h mate-time-admin-resources.c: org.mate.mcc.ta.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.ta.gresource.xml) 12 | $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name time_admin $< 13 | 14 | mate_time_admin_LDADD = $(MATECC_CAPPLETS_LIBS) 15 | mate_time_admin_LDFLAGS = -export-dynamic 16 | 17 | AM_CPPFLAGS = \ 18 | $(WARN_CFLAGS) \ 19 | $(MATECC_CAPPLETS_CFLAGS) \ 20 | -DTIMPZONEDIR="\"$(datadir)/mate-time-admin/map/\"" 21 | 22 | 23 | CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(BUILT_SOURCES) 24 | 25 | EXTRA_DIST = time-admin.ui time-zones.h org.mate.mcc.ta.gresource.xml 26 | 27 | -include $(top_srcdir)/git.mk 28 | -------------------------------------------------------------------------------- /capplets/time-admin/src/meson.build: -------------------------------------------------------------------------------- 1 | sources = files( 2 | 'main.c', 3 | 'time-map.c', 4 | 'time-share.c', 5 | 'time-tool.c', 6 | 'time-zone.c' 7 | ) 8 | 9 | sources += gnome.compile_resources( 10 | 'mate-time-admin-resources', 11 | 'org.mate.mcc.ta.gresource.xml', 12 | c_name: 'time_admin', 13 | export: true 14 | ) 15 | 16 | cflags += [ 17 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 18 | '-DTIMPZONEDIR="@0@""/"'.format(mcc_timezonedir), 19 | ] 20 | 21 | executable( 22 | 'mate-time-admin', 23 | sources : sources, 24 | include_directories: config_inc, 25 | dependencies : [common_deps, libcommon_dep, polkit_dep, m_dep], 26 | c_args : cflags, 27 | install : true, 28 | install_dir : get_option('bindir') 29 | ) 30 | -------------------------------------------------------------------------------- /capplets/time-admin/src/org.mate.mcc.ta.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | time-admin.ui 21 | 22 | 23 | -------------------------------------------------------------------------------- /capplets/time-admin/src/time-share.c: -------------------------------------------------------------------------------- 1 | /* time-admin 2 | * Copyright (C) 2018 zhuyaliang https://github.com/zhuyaliang/ 3 | * 4 | * This program is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #ifdef HAVE_CONFIG_H 19 | #include "config.h" 20 | #endif 21 | #include "time-share.h" 22 | #include 23 | 24 | int TimeoutFlag; 25 | 26 | int ErrorMessage (const char *Title, 27 | const char *Msg) 28 | { 29 | int nRet; 30 | GtkWidget *dialog; 31 | 32 | dialog = gtk_message_dialog_new (NULL, 33 | GTK_DIALOG_MODAL, 34 | GTK_MESSAGE_ERROR, 35 | GTK_BUTTONS_OK, 36 | "%s", Title); 37 | 38 | gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), 39 | "%s", Msg); 40 | 41 | nRet = gtk_dialog_run (GTK_DIALOG (dialog)); 42 | gtk_widget_destroy (dialog); 43 | 44 | return nRet; 45 | } 46 | 47 | void SetTooltip(GtkWidget *box, gboolean mode) 48 | { 49 | gchar *text = mode ? NULL : _("Network time synchronization has been set up. Manual time/date setting is disabled."); 50 | gtk_widget_set_tooltip_text (box, text); 51 | } 52 | -------------------------------------------------------------------------------- /capplets/time-admin/src/time-tool.h: -------------------------------------------------------------------------------- 1 | /* time-admin 2 | * Copyright (C) 2018 zhuyaliang https://github.com/zhuyaliang/ 3 | * 4 | * This program is free software: you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation, either version 3 of the License, or 7 | * (at your option) any later version. 8 | 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #ifndef __TIME_TOOL_H__ 19 | #define __TIME_TOOL_H__ 20 | 21 | #include "time-share.h" 22 | struct tm *GetCurrentTime (void); 23 | void Update_Clock_Start(TimeAdmin *ta); 24 | 25 | void ta_refresh_time (TimeAdmin *ta, 26 | struct tm *LocalTime); 27 | 28 | void ta_refresh_date (TimeAdmin *ta, 29 | struct tm *LocalTime); 30 | 31 | void Update_Clock_Stop (TimeAdmin *ta); 32 | 33 | gboolean ChangeNtpSync (GtkSwitch *widget, 34 | gboolean state, 35 | gpointer data); 36 | 37 | void SelectDate (GtkCalendar *calendar, 38 | gpointer data); 39 | 40 | void SaveModifyTime (GtkButton *button, 41 | gpointer data); 42 | 43 | gboolean GetNtpState (TimeAdmin *ta); 44 | 45 | const gchar *GetTimeZone (TimeAdmin *ta); 46 | 47 | void SetTimeZone (GDBusProxy *proxy, 48 | const char *zone); 49 | #endif 50 | -------------------------------------------------------------------------------- /capplets/windows/Makefile.am: -------------------------------------------------------------------------------- 1 | # This is used in MATECC_CAPPLETS_CFLAGS 2 | cappletname = window 3 | 4 | bin_PROGRAMS = mate-window-properties 5 | 6 | mate_window_properties_LDADD = $(MATECC_CAPPLETS_LIBS) 7 | 8 | BUILT_SOURCES = mate-window-properties-resources.h mate-window-properties-resources.c 9 | nodist_mate_window_properties_SOURCES = $(BUILT_SOURCES) 10 | mate_window_properties_SOURCES = \ 11 | mate-metacity-support.h \ 12 | mate-metacity-support.c \ 13 | mate-window-properties.c 14 | 15 | desktopdir = $(datadir)/applications 16 | Desktop_in_files = mate-window-properties.desktop.in 17 | desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) 18 | 19 | mate-window-properties-resources.h mate-window-properties-resources.c: org.mate.mcc.windows.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.windows.gresource.xml) 20 | $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name window_properties $< 21 | 22 | $(desktop_DATA): $(Desktop_in_files) 23 | if USE_NLS 24 | $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ 25 | else 26 | $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ 27 | endif 28 | 29 | AM_CPPFLAGS = \ 30 | $(WARN_CFLAGS) \ 31 | $(MATECC_CAPPLETS_CFLAGS) 32 | 33 | CLEANFILES = $(BUILT_SOURCES) $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) 34 | EXTRA_DIST = $(Desktop_in_files) org.mate.mcc.windows.gresource.xml window-properties.ui 35 | 36 | -include $(top_srcdir)/git.mk 37 | -------------------------------------------------------------------------------- /capplets/windows/mate-metacity-support.h: -------------------------------------------------------------------------------- 1 | /* metacity.h 2 | * Copyright (C) 2014 Stefano Karapetsas 3 | * Copyright (C) 2019-2021 MATE Developers 4 | * 5 | * Written by: Stefano Karapetsas 6 | * 7 | * This program is free software; you can redistribute it and/or modify 8 | * it under the terms of the GNU General Public License as published by 9 | * the Free Software Foundation; either version 2, or (at your option) 10 | * any later version. 11 | * 12 | * This program is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | * GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License 18 | * along with this program; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301, USA. 21 | */ 22 | 23 | #ifndef MATE_METACITY_SUPPORT_H 24 | #define MATE_METACITY_SUPPORT_H 25 | 26 | void mate_metacity_config_tool (void); 27 | 28 | #endif /* MATE_METACITY_SUPPORT_H */ 29 | -------------------------------------------------------------------------------- /capplets/windows/mate-window-properties.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Windows 3 | Comment=Set your window properties 4 | Exec=mate-window-properties 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=preferences-system-windows 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Settings;DesktopSettings; 11 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 12 | Keywords=mate-control-center;MATE;window;manager;properties;marco;preferences; 13 | OnlyShowIn=MATE; 14 | -------------------------------------------------------------------------------- /capplets/windows/meson.build: -------------------------------------------------------------------------------- 1 | desktop = 'mate-window-properties.desktop' 2 | 3 | i18n.merge_file( 4 | type: 'desktop', 5 | input: desktop + '.in', 6 | output: desktop, 7 | po_dir: po_dir, 8 | install: true, 9 | install_dir: mcc_desktopdir 10 | ) 11 | 12 | sources = files( 13 | 'mate-metacity-support.c', 14 | 'mate-window-properties.c' 15 | ) 16 | 17 | sources += gnome.compile_resources( 18 | 'mate-window-properties-resources', 19 | 'org.mate.mcc.windows.gresource.xml', 20 | c_name: 'window_properties', 21 | export: true 22 | ) 23 | 24 | cflags += [ 25 | '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), 26 | ] 27 | 28 | executable( 29 | 'mate-window-properties', 30 | sources : sources, 31 | include_directories: config_inc, 32 | dependencies : [common_deps, libcommon_dep], 33 | c_args : cflags, 34 | install : true, 35 | install_dir : get_option('bindir') 36 | ) 37 | -------------------------------------------------------------------------------- /capplets/windows/org.mate.mcc.windows.gresource.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | window-properties.ui 21 | 22 | 23 | -------------------------------------------------------------------------------- /font-viewer/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | AM_CPPFLAGS = $(WARN_CFLAGS) $(FONT_VIEWER_CFLAGS) $(MATECC_CAPPLETS_CFLAGS) -DDIRECTORY_DIR=\"$(directorydir)\" \ 3 | -DMATELOCALEDIR=\"$(datadir)/locale\" 4 | 5 | bin_PROGRAMS = mate-thumbnail-font mate-font-viewer 6 | 7 | font_loader_SOURCES = \ 8 | sushi-font-loader.h \ 9 | sushi-font-loader.c 10 | 11 | mate_thumbnail_font_LDADD = $(MATECC_CAPPLETS_LIBS) -lm $(FONT_VIEWER_LIBS) 12 | mate_thumbnail_font_SOURCES = \ 13 | $(font_loader_SOURCES) \ 14 | font-thumbnailer.c \ 15 | totem-resources.c \ 16 | totem-resources.h 17 | 18 | mate_font_viewer_LDADD = $(MATECC_CAPPLETS_LIBS) -lm $(FONT_VIEWER_LIBS) 19 | mate_font_viewer_SOURCES = \ 20 | $(font_loader_SOURCES) \ 21 | font-model.h \ 22 | font-model.c \ 23 | font-utils.h \ 24 | font-utils.c \ 25 | gd-main-toolbar.h \ 26 | gd-main-toolbar.c \ 27 | sushi-font-widget.h \ 28 | sushi-font-widget.c \ 29 | font-view.c 30 | 31 | thumbnailerdir = $(datadir)/thumbnailers 32 | thumbnailer_DATA = mate-font-viewer.thumbnailer 33 | 34 | desktopdir = $(datadir)/applications 35 | desktop_in_files = mate-font-viewer.desktop.in 36 | desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 37 | $(desktop_DATA): $(desktop_in_files) 38 | if USE_NLS 39 | $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ 40 | else 41 | $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ 42 | endif 43 | 44 | install-data-local: install-desktop-database 45 | 46 | install-desktop-database: install-desktopDATA 47 | update-desktop-database $(DESTDIR)$(desktopdir) 48 | 49 | uninstall-local: 50 | rm -f $(DESTDIR)$(desktopdir)/mimeinfo.cache 51 | 52 | CLEANFILES = \ 53 | $(desktop_DATA) \ 54 | $(schemas_DATA) \ 55 | $(directory_DATA) 56 | 57 | EXTRA_DIST = \ 58 | $(desktop_in_files) \ 59 | $(thumbnailer_DATA) 60 | 61 | -include $(top_srcdir)/git.mk 62 | -------------------------------------------------------------------------------- /font-viewer/font-utils.h: -------------------------------------------------------------------------------- 1 | /* -*- mode: C; c-basic-offset: 4 -*- 2 | * mate-font-viewer: 3 | * 4 | * Copyright (C) 2012 Cosimo Cecchi 5 | * Copyright (C) 2013-2021 MATE Developers 6 | * 7 | * This library is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * This library is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this library; if not, write to the Free Software 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 | */ 21 | 22 | #ifndef __FONT_UTILS_H__ 23 | #define __FONT_UTILS_H__ 24 | 25 | #include 26 | #include FT_FREETYPE_H 27 | #include 28 | 29 | gchar * font_utils_get_font_name (FT_Face face); 30 | gchar * font_utils_get_font_name_for_file (FT_Library library, 31 | const gchar *path, 32 | gint face_index); 33 | 34 | #endif /* __FONT_UTILS_H__ */ 35 | 36 | -------------------------------------------------------------------------------- /font-viewer/mate-font-viewer.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=MATE Font Viewer 3 | Comment=View fonts on your system 4 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 5 | Icon=preferences-desktop-font 6 | Exec=mate-font-viewer %u 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | Categories=GTK;Utility; 11 | MimeType=application/x-font-ttf;application/x-font-pcf;application/x-font-type1;application/x-font-otf; 12 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 13 | Keywords=mate-control-center;MATE;font;viewer;preview;desktop;preferences; 14 | -------------------------------------------------------------------------------- /font-viewer/mate-font-viewer.thumbnailer: -------------------------------------------------------------------------------- 1 | [Thumbnailer Entry] 2 | TryExec=mate-thumbnail-font 3 | Exec=mate-thumbnail-font --size %s %u %o 4 | MimeType=application/x-font-ttf;application/x-font-type1;application/x-font-pcf;application/x-font-otf;font/ttf;font/otf;font/collection; 5 | -------------------------------------------------------------------------------- /font-viewer/meson.build: -------------------------------------------------------------------------------- 1 | cflags = [ 2 | '-DDIRECTORY_DIR="@0@"'.format(mcc_directorydir), 3 | '-DMATELOCALEDIR="@0@"'.format(mcc_localedir), 4 | ] 5 | 6 | libm = cc.find_library('libm', required: false) 7 | deps = [ 8 | common_deps, 9 | pango_dep, 10 | fontconfig_dep, 11 | freetype_dep, 12 | libm, 13 | ] 14 | executable( 15 | 'mate-font-viewer', 16 | sources : [ 17 | 'sushi-font-loader.c', 18 | 'font-model.c', 19 | 'font-utils.c', 20 | 'gd-main-toolbar.c', 21 | 'sushi-font-widget.c', 22 | 'font-view.c' 23 | ], 24 | include_directories : config_inc, 25 | dependencies : deps, 26 | c_args : cflags, 27 | install : true, 28 | install_dir : get_option('bindir') 29 | ) 30 | 31 | executable( 32 | 'mate-thumbnail-font', 33 | sources : [ 34 | 'sushi-font-loader.c', 35 | 'font-thumbnailer.c', 36 | 'totem-resources.c', 37 | ], 38 | include_directories : config_inc, 39 | dependencies : deps, 40 | c_args : cflags, 41 | install : true, 42 | ) 43 | 44 | i18n.merge_file( 45 | input: 'mate-font-viewer.desktop.in', 46 | output: 'mate-font-viewer.desktop', 47 | type: 'desktop', 48 | po_dir: join_paths(meson.project_source_root(), 'po'), 49 | install: true, 50 | install_dir: mcc_desktopdir, 51 | ) 52 | 53 | install_data('mate-font-viewer.thumbnailer', 54 | install_dir : join_paths(mcc_datadir, 'thumbnailers'), 55 | ) 56 | -------------------------------------------------------------------------------- /font-viewer/totem-resources.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 Bastien Nocera 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 17 | * 18 | * The Totem project hereby grant permission for non-gpl compatible GStreamer 19 | * plugins to be used and distributed together with GStreamer and Totem. This 20 | * permission are above and beyond the permissions granted by the GPL license 21 | * Totem is covered by. 22 | * 23 | * Monday 7th February 2005: Christian Schaller: Add exception clause. 24 | * See license_change file for details. 25 | * 26 | */ 27 | 28 | #ifndef __TOTEM_RESOURCES_H__ 29 | #define __TOTEM_RESOURCES_H__ 30 | 31 | #include 32 | 33 | void totem_resources_monitor_start (const char *input, 34 | gint wall_clock_time); 35 | void totem_resources_monitor_stop (void); 36 | 37 | #endif /* __TOTEM_RESOURCES_H__ */ 38 | -------------------------------------------------------------------------------- /gla11y.mk: -------------------------------------------------------------------------------- 1 | GLA11Y_OUTPUT = ui-a11y.err 2 | GLA11Y_SUPPR = ui-a11y.suppr 3 | GLA11Y_FALSE = ui-a11y.false 4 | 5 | a11y_verbose = $(a11y_verbose_@AM_V@) 6 | a11y_verbose_ = $(a11y_verbose_@AM_DEFAULT_V@) 7 | a11y_verbose_0 = @echo " A11Y " $@; 8 | a11y_verbose_1 = 9 | 10 | 11 | all-local: $(GLA11Y_OUTPUT) 12 | $(GLA11Y_OUTPUT): $(ui_files) 13 | $(a11y_verbose) $(GLA11Y) -P $(srcdir)/ -f $(srcdir)/$(GLA11Y_FALSE) -s $(srcdir)/$(GLA11Y_SUPPR) -o $@ $(ui_files:%=$(srcdir)/%) 14 | 15 | clean-local: clean-local-check 16 | clean-local-check: 17 | -rm -f $(GLA11Y_OUTPUT) 18 | 19 | .PHONY: clean-local-check 20 | -------------------------------------------------------------------------------- /help/C/config-accessibility-keyboard.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Adjusts the extended keyboard capabilities, in order to facilitate the use of the keyboard by those users with additional needs. 4 | 5 | Keyboard Accessibility (AccessX) 6 | 7 | 8 | -------------------------------------------------------------------------------- /help/C/config-file-type.xml: -------------------------------------------------------------------------------- 1 | 2 | File Types & Services 3 | 4 | -------------------------------------------------------------------------------- /help/C/config-keybindings.xml: -------------------------------------------------------------------------------- 1 | 2 | Keybindings 3 | 4 | Keybindings allow you to use keystroke combinations on the 5 | keyboard to help make your navigation in your desktop environment 6 | faster and easier. Using keybindings, you can sometimes get your 7 | computer usage to be so fast and efficient, that your friends are 8 | impressed while watching you work. 9 | 10 | 11 | The most common and well-known keybindings are the Save and Quit 12 | keybindings: Ctrl + S and Ctrl + Q in Microsoft 13 | Windows respectively. 14 | 15 | 16 | Mate allows you to configure what 17 | keybindings are used in numerous places in your desktop. 18 | 19 | 20 | The Keybindings Interface 21 | 22 | The keybindings interface is quite simple. It has one option to 23 | set the keybinding scheme to use in applications. You have two 24 | options: Default and emacs. 25 | 26 | 27 | Default uses Control S and other bindings which are familiar to 28 | most users from the Microsoft Windows 29 | operating system. 30 | 31 | 32 | emacs is a popular text editor for Linux and Unix based 33 | systems. emacs uses different keybindings than that of 34 | default. For example, save is Control X S. 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /help/C/config-themes.xml: -------------------------------------------------------------------------------- 1 | 2 | Gtk+ Theme Selector 3 | 4 | The Mate environment is run by 5 | Gtk+. Gtk+ 6 | allows most elements in your desktop to be themed to the look you 7 | want. The Gtk+ Theme Selector lets you 8 | select the theme to use. 9 | 10 | 11 | Setting Your Theme 12 | 13 | The top of the Gtk+ Theme Selector 14 | has a list of installed themes. Simply click on a theme and 15 | your changes will be made. 16 | 17 | 18 | You can interactively demo all the widgets available in your 19 | selected theme in the lower half of the window. 20 | 21 | 22 | 23 | Adding a Theme 24 | 25 | To add a theme to use: 26 | 27 | 28 | 29 | Click the Install new theme button. 30 | 31 | 32 | 33 | 34 | Navigate to the directory your theme is installed in. 35 | 36 | 37 | 38 | 39 | Open the gtkrc file which contains the specifications of 40 | your theme. 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /help/LINGUAS: -------------------------------------------------------------------------------- 1 | af 2 | am 3 | ar 4 | as 5 | ast 6 | az 7 | be 8 | bg 9 | bn 10 | bn_IN 11 | br 12 | bs 13 | ca 14 | ca@valencia 15 | cmn 16 | crh 17 | cs 18 | cy 19 | da 20 | de 21 | dz 22 | el 23 | en_AU 24 | en_CA 25 | en_GB 26 | eo 27 | es 28 | es_AR 29 | es_CL 30 | es_CO 31 | es_MX 32 | et 33 | eu 34 | fa 35 | fi 36 | fr 37 | fr_CA 38 | frp 39 | fur 40 | fy 41 | ga 42 | gl 43 | gu 44 | ha 45 | he 46 | hi 47 | hr 48 | hu 49 | hy 50 | id 51 | ie 52 | ig 53 | is 54 | it 55 | ja 56 | ka 57 | kab 58 | kk 59 | kn 60 | ko 61 | ku 62 | ku_IQ 63 | ky 64 | li 65 | lt 66 | lv 67 | mai 68 | mg 69 | mk 70 | ml 71 | mn 72 | mr 73 | ms 74 | nb 75 | nds 76 | ne 77 | nl 78 | nn 79 | nso 80 | oc 81 | or 82 | pa 83 | pl 84 | ps 85 | pt 86 | pt_BR 87 | ro 88 | ru 89 | rw 90 | si 91 | sk 92 | sl 93 | sq 94 | sr 95 | sr@latin 96 | sv 97 | ta 98 | te 99 | th 100 | tk 101 | tr 102 | ug 103 | uk 104 | ur 105 | uz 106 | vi 107 | wa 108 | xh 109 | yo 110 | zh_CN 111 | zh_HK 112 | zh_TW 113 | zu 114 | -------------------------------------------------------------------------------- /help/Makefile.am: -------------------------------------------------------------------------------- 1 | @YELP_HELP_RULES@ 2 | 3 | HELP_ID = mate-control-center 4 | HELP_FILES = \ 5 | index.docbook \ 6 | config-accessibility-keyboard.xml \ 7 | config-background.xml \ 8 | config-behavior.xml \ 9 | config-cds.xml \ 10 | config-default-apps.xml \ 11 | config-file-type.xml \ 12 | config-hints.xml \ 13 | config-html.xml \ 14 | config-kbd.xml \ 15 | config-keybindings.xml \ 16 | config-mouse.xml \ 17 | config-screensaver.xml \ 18 | config-themes.xml \ 19 | legal.xml 20 | 21 | if USE_NLS 22 | # Add linguas to be ignored, e.g. IGNORE_HELP_LINGUAS = ca de es fr 23 | IGNORE_HELP_LINGUAS = 24 | HELP_LINGUAS = $(if $(IGNORE_HELP_LINGUAS), \ 25 | $(filter-out $(IGNORE_HELP_LINGUAS),$(subst /,,$(dir $(wildcard */*.po)))), \ 26 | $(subst /,,$(dir $(wildcard */*.po))) ) 27 | else 28 | HELP_LINGUAS = 29 | endif 30 | 31 | -include $(top_srcdir)/git.mk 32 | -------------------------------------------------------------------------------- /help/mate-control-center.omf.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | user's guide 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /help/meson.build: -------------------------------------------------------------------------------- 1 | mcc_help_sources = [ 2 | 'config-accessibility-keyboard.xml', 3 | 'config-background.xml', 4 | 'config-behavior.xml', 5 | 'config-cds.xml', 6 | 'config-default-apps.xml', 7 | 'config-file-type.xml', 8 | 'config-hints.xml', 9 | 'config-html.xml', 10 | 'config-kbd.xml', 11 | 'config-keybindings.xml', 12 | 'config-mouse.xml', 13 | 'config-screensaver.xml', 14 | 'config-themes.xml', 15 | 'index.docbook', 16 | 'legal.xml', 17 | ] 18 | 19 | gnome.yelp( 20 | 'mate-control-center', 21 | sources: mcc_help_sources, 22 | ) 23 | -------------------------------------------------------------------------------- /its/marco-keybindings.its: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /its/marco-keybindings.loc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /its/mimeinfo.its: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /its/mimeinfo.loc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /makepot: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | PACKAGE=mate-control-center; 4 | 5 | # normal translations 6 | make -C po $PACKAGE.pot && mv po/$PACKAGE.pot . 7 | sed -i "/#, fuzzy/d" $PACKAGE.pot 8 | sed -i 's/charset=CHARSET/charset=UTF-8/g' $PACKAGE.pot 9 | 10 | # translations for user-quide 11 | rm -f help/$PACKAGE.pot && 12 | make -C help $PACKAGE.pot 13 | -------------------------------------------------------------------------------- /man/Makefile.am: -------------------------------------------------------------------------------- 1 | man_MANS = \ 2 | mate-about-me.1 \ 3 | mate-appearance-properties.1 \ 4 | mate-at-properties.1 \ 5 | mate-control-center.1 \ 6 | mate-default-applications-properties.1 \ 7 | mate-display-properties.1 \ 8 | mate-display-properties-install-systemwide.1 \ 9 | mate-font-viewer.1 \ 10 | mate-keybinding-properties.1 \ 11 | mate-keyboard-properties.1 \ 12 | mate-mouse-properties.1 \ 13 | mate-network-properties.1 \ 14 | mate-thumbnail-font.1 \ 15 | mate-typing-monitor.1 \ 16 | mate-window-properties.1 17 | 18 | EXTRA_DIST = $(man_MANS) 19 | 20 | -include $(top_srcdir)/git.mk 21 | -------------------------------------------------------------------------------- /man/mate-about-me.1: -------------------------------------------------------------------------------- 1 | .TH "mate-about-me" "1" 2 | 3 | .SH "NAME" 4 | mate-about-me \(em is a control center applet. 5 | 6 | .SH "SYNOPSIS" 7 | .PP 8 | \fBmate-about-me\fR 9 | 10 | .SH "DESCRIPTION" 11 | .PP 12 | MATE About Me is a control center applet to set user information. 13 | .PP 14 | It allows one to change user password and set user avatar image (~/.face file). 15 | 16 | .SH "AUTHOR" 17 | .PP 18 | This manual page was written by Stefano Karapetsas . 19 | -------------------------------------------------------------------------------- /man/mate-appearance-properties.1: -------------------------------------------------------------------------------- 1 | .TH "mate-appearance-properties" "1" 2 | 3 | .SH "NAME" 4 | mate-appearance-properties \(em is a control center applet. 5 | 6 | .SH "SYNOPSIS" 7 | .PP 8 | \fBmate-appearance-properties\fR [\fIOPTIONS\fR]... [\fIWALLPAPER\fR]... 9 | 10 | .SH "DESCRIPTION" 11 | .PP 12 | MATE Appearance Properties is a control center applet to edit appearance 13 | settings. 14 | .PP 15 | It allows one to change: GTK theme, window manager theme, icon theme, cursor 16 | theme, desktop background and font settings. 17 | 18 | .SH "OPTIONS" 19 | .PP 20 | .IP "\fB-i,\fP \fB\-\-install-theme=\fIFILENAME\fR\fP " 10 21 | Specify the filename of a theme to install 22 | .PP 23 | .IP "\fB-p,\fP \fB\-\-show-page=\fIPAGE\fR\fP " 10 24 | Specify the name of the page to show (theme|background|fonts|interface) 25 | 26 | .SH "AUTHOR" 27 | .PP 28 | This manual page was written by Stefano Karapetsas . 29 | -------------------------------------------------------------------------------- /man/mate-at-properties.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Mike Gabriel 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH "mate\-at\-properties" "1" "2014\-05\-02" "MATE" 17 | .\" 18 | .SH "NAME" 19 | mate-at-properties \- configure MATE Assistive Technologies 20 | .SH "SYNOPSIS" 21 | .B mate-at-properties 22 | .RI [ OPTIONS...] 23 | .SH "DESCRIPTION" 24 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 25 | .PP 26 | The MATE Assistive Technology preference is used to enable assistive technologies in your 27 | desktop. You can use gnome-at-properties to specify that the following assistive technology 28 | applications start automatically when you log in: 29 | .PP 30 | o Screenreader 31 | 32 | o Magnifier 33 | 34 | o On-screen Keyboard 35 | .SH OPTIONS 36 | This program accepts the standard MATE and GTK options. 37 | .SH "SEE ALSO" 38 | .PP 39 | Latest version of the MATE Desktop User Guide for your platform. 40 | .PP 41 | .BR "mate-control-center" (1), 42 | .BR "gtk-options" (7), 43 | -------------------------------------------------------------------------------- /man/mate-default-applications-properties.1: -------------------------------------------------------------------------------- 1 | .TH "mate-default-applications-properties" "1" 2 | 3 | .SH "NAME" 4 | mate-default-applications-properties \(em is a control center applet. 5 | 6 | .SH "SYNOPSIS" 7 | .PP 8 | \fBmate-default-applications-properties\fR [\fIOPTIONS\fR]... 9 | 10 | .SH "DESCRIPTION" 11 | .PP 12 | MATE Default Applications Properties is a control center applet to edit 13 | default applications. 14 | .PP 15 | It allows one to set default file manager, email client, web browser, etc. 16 | 17 | .SH "OPTIONS" 18 | .PP 19 | .IP "\fB-p,\fP \fB\-\-show-page=\fIPAGE\fR\fP " 10 20 | Specify the name of the page to show (internet|multimedia|system|a11y) 21 | 22 | .SH "AUTHOR" 23 | .PP 24 | This manual page was written by Stefano Karapetsas . 25 | -------------------------------------------------------------------------------- /man/mate-display-properties.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Vangelis Mouhtsis 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH mate-display-properties 1 "2014\-05\-02" "MATE" 17 | .\" 18 | .SH "NAME" 19 | mate-display-properties \- customize MATE display behavor 20 | .SH "SYNOPSIS" 21 | .B mate-display-properties 22 | .RI [ OPTIONS... ] 23 | .SH "DESCRIPTION" 24 | .PP 25 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 26 | .PP 27 | The MATE display preference tool enables you to customize the screen resolution 28 | and refresh rate for your desktop\&. 29 | .SH OPTIONS 30 | This program accepts the standard MATE and GTK options. 31 | .SH AUTHORS 32 | This manual page was writtenby Mike Gabriel 33 | for the Debian project (but may be used by others). 34 | .SH "SEE ALSO" 35 | .PP 36 | Latest version of the MATE Desktop User Guide for your platform. 37 | .PP 38 | .BR "mate-control-center" (1), 39 | .BR "gtk-options" (7), 40 | .PP 41 | -------------------------------------------------------------------------------- /man/mate-font-viewer.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Vangelis Mouhtsis 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH mate-font-viewer 1 "2014\-05\-02" "MATE" 17 | .SH "NAME" 18 | \fBmate-font-viewer\fR \- preview fonts 19 | .SH "SYNOPSIS" 20 | .B mate-font-viewer 21 | .RI [ OPTIONS... ]\ 22 | .SH "DESCRIPTION" 23 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 24 | .PP 25 | Use \fBmate\-font\-viewer\fR 26 | , the MATE Font Viewer, to preview fonts and display information about a 27 | specified font. You can use the Font Viewer to display the name, style, type, size, ver- 28 | sion, and copyright of the font. 29 | .PP 30 | To browse the fonts installed on your system, open a file manager window and enter the 31 | following URI in the location bar: 32 | .PP 33 | \fIfonts://\fR 34 | .PP 35 | Double-click on an icon to display a preview of the font. 36 | .SH AUTHORS 37 | This manual page was writtenby Mike Gabriel 38 | for the Debian project (but may be used by others). 39 | .SH OPTIONS 40 | This program accepts the standard MATE and GTK options. 41 | .SH "SEE ALSO" 42 | Latest version of the MATE Desktop User Guide for your platform. 43 | .PP 44 | .BR "mate-control-center" (1), 45 | .BR "caja" (1), 46 | .BR "gtk-options" (7) 47 | -------------------------------------------------------------------------------- /man/mate-keybinding-properties.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Mike Gabriel 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH mate-keybinding-properties 1 "2014\-05\-02" "MATE" 17 | .SH NAME 18 | \fBmate-keybinding-properties \fP- configure MATE keybindings 19 | .SH SYNOPSIS 20 | .B mate-keybinding-properties 21 | .RI [ OPTIONS...] 22 | .SH DESCRIPTION 23 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 24 | .PP 25 | The MATE keybindings preference tool enables you to display the default keyboard shortcuts 26 | and customize them to your requirements. 27 | .PP 28 | You can also create hot keys. Hot keys are 29 | keyboard shortcuts that start applications or perform other useful actions. 30 | .SH OPTIONS 31 | This program accepts the standard MATE and GTK options. 32 | .SH AUTHORS 33 | This manual page was writtenby Mike Gabriel 34 | for the Debian project (but may be used by others). 35 | .SH SEE ALSO 36 | Latest version of the MATE Desktop User Guide for your platform. 37 | .PP 38 | .BR "mate-control-center" (1), 39 | .BR "gtk-options" (7) 40 | .PP 41 | -------------------------------------------------------------------------------- /man/mate-mouse-properties.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Vangelis Mouhtsis 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH mate-mouse-properties 1 "2014\-05\-02" "MATE" 17 | .SH NAME 18 | \fBmate-mouse-properties \fP- configure MATE mouse preferences 19 | .SH SYNOPSIS 20 | .B mate-mouse-properties 21 | .RI [--get-legacy] 22 | .SH DESCRIPTION 23 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 24 | .PP 25 | The MATE mouse preference tool enables you to configure your mouse for right-hand or 26 | left-hand use. It is also used to specify the speed and sensitivity of mouse movement 27 | and mouse button press events. 28 | .SH OPTIONS 29 | The following options are supported: 30 | .TP 31 | .B 32 | \fB--get-legacy\fP 33 | Retrieve and store legacy settings 34 | .PP 35 | This program also accepts the standard MATE and GTK options. 36 | .SH AUTHORS 37 | This manual page has been adopted for MATE by Vangelis Mouhtsis . 38 | .SH SEE ALSO 39 | Latest version of the MATE Desktop User Guide for your platform. 40 | .PP 41 | .BR "mate-control-center" (1), 42 | .BR "gtk-options" (7) 43 | -------------------------------------------------------------------------------- /man/mate-network-properties.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Mike Gabriel 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH mate-network-properties 1 "2014\-05\-02" "MATE" 17 | .SH NAME 18 | mate-network-properties \- configure MATE network proxy 19 | .SH SYNOPSIS 20 | .B mate-network-properties 21 | .RI [ OPTIONS... ] 22 | .SH DESCRIPTION 23 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 24 | .PP 25 | The MATE network proxy preference tool enables you to configure how 26 | your system connects to networks. You can configure the desktop to 27 | connect to a proxy server, and specify the details of the proxy server. 28 | .PP 29 | A proxy server is a server that intercepts requests to another server, 30 | and fulfills the request itself, if it can. You can enter the Domain 31 | Name Service (DNS) name or the Internet Protocol (IP) address of the 32 | proxy server. 33 | .SH OPTIONS 34 | This program accepts the standard MATE and GTK options. 35 | .SH AUTHORS 36 | .B mate-network-properties 37 | This manual page was writtenby Mike Gabriel 38 | for the Debian project (but may be used by others). 39 | .SH SEE ALSO 40 | Latest version of the MATE Desktop User Guide for your platform. 41 | .PP 42 | .BR "mate-control-center" (1), 43 | .BR "gtk-options" (7) 44 | -------------------------------------------------------------------------------- /man/mate-thumbnail-font.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Mike Gabriel 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH mate-thumbnail-font 1 "2014\-05\-02" "MATE" 17 | .SH NAME 18 | mate-thumbnail-font \- create font thumbnails 19 | .SH SYNOPSIS 20 | .B mate-thumbnail-font 21 | [\fI\-h\fR|\fI\-t \-s \fR] \fI \fR 22 | .SH DESCRIPTION 23 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 24 | .PP 25 | \fBmate-thumbnail-font\fR is a command\-line tool for creating thumbnails of PCF fonts. 26 | .SH OPTIONS 27 | .TP 28 | \fB\-h\fR|\fB\-\-help\fR 29 | Show some help text. 30 | .TP 31 | \fB\-t\fR \fI\fR, \fB\-\-text\fR \fI\fR 32 | Text to thumbnail (default: Aa). 33 | .TP 34 | \fB\-s\fR \fI\fR, \fB\-\-size\fR \fI\fR 35 | Font size (default: 64). 36 | .SH AUTHORS 37 | This manual page was writtenby Mike Gabriel 38 | for the Debian project (but may be used by others). 39 | .SH SEE ALSO 40 | Latest version of the MATE Desktop User Guide for your platform. 41 | .PP 42 | .BR "mate-control-center" (1), 43 | .BR "mate-font-viewer" (1) 44 | -------------------------------------------------------------------------------- /man/mate-typing-monitor.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Mike Gabriel 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH mate-typing-monitor 1 "2014\-05\-02" "MATE" 17 | .SH NAME 18 | mate-typing-monitor \- take a break from typing 19 | .SH SYNOPSIS 20 | .B mate-typing-monitor 21 | .RI [ OPTIONS... ] 22 | .SH DESCRIPTION 23 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 24 | .PP 25 | If you use too much computer you may be risking your health. Use this tool for 26 | reminding yourself to take little (typing) breaks in regular intervals. 27 | .PP 28 | During the break, you can: 29 | .PP 30 | o Stretch arms and legs 31 | 32 | o Open the window and breathe in 33 | 34 | o Juggle with balls or clubs 35 | 36 | o Close and rub your eyes 37 | 38 | o Have some fine green or herbal tea 39 | .SH OPTIONS 40 | This program accepts the standard MATE and GTK options. 41 | .SH AUTHORS 42 | This manual page was writtenby Mike Gabriel 43 | for the Debian project (but may be used by others). 44 | .SH SEE ALSO 45 | Latest version of the MATE Desktop User Guide for your platform. 46 | .PP 47 | .BR "mate-control-center" (1), 48 | .BR "gtk-options" (7) 49 | -------------------------------------------------------------------------------- /man/mate-window-properties.1: -------------------------------------------------------------------------------- 1 | .\" Copyright (C) 2014 Mike Gabriel 2 | .\" 3 | .\" This is free software; you may redistribute it and/or modify 4 | .\" it under the terms of the GNU General Public License as 5 | .\" published by the Free Software Foundation; either version 2, 6 | .\" or (at your option) any later version. 7 | .\" 8 | .\" This is distributed in the hope that it will be useful, but 9 | .\" WITHOUT ANY WARRANTY; without even the implied warranty of 10 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | .\" GNU General Public License for more details. 12 | .\" 13 | .\"You should have received a copy of the GNU General Public License along 14 | .\"with this program; if not, write to the Free Software Foundation, Inc., 15 | .\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 16 | .TH mate-window-properties 1 "2014\-05\-02" "MATE" 17 | .SH NAME 18 | mate-window-properties \- configure MATE window manager preferences 19 | .SH SYNOPSIS 20 | .B mate-window-properties 21 | .RI [ OPTIONS... ] 22 | .SH DESCRIPTION 23 | This executable is part of the package 'mate\-control\-center': The MATE Control Center. 24 | .PP 25 | The MATE window preference tool enables you to customize window behaviour 26 | such as focus behaviour, titlebar actions, compositing, etc. for your desktop. 27 | .SH OPTIONS 28 | This program accepts the standard MATE and GTK options. 29 | .SH AUTHORS 30 | This manual page was writtenby Mike Gabriel 31 | for the Debian project (but may be used by others). 32 | .SH SEE ALSO 33 | Latest version of the MATE Desktop User Guide for your platform. 34 | .PP 35 | .BR "mate-control-center" (1), 36 | .BR "gtk-options" (7) 37 | -------------------------------------------------------------------------------- /man/meson.build: -------------------------------------------------------------------------------- 1 | install_man([ 2 | 'mate-about-me.1', 3 | 'mate-appearance-properties.1', 4 | 'mate-at-properties.1', 5 | 'mate-control-center.1', 6 | 'mate-default-applications-properties.1', 7 | 'mate-display-properties.1', 8 | 'mate-display-properties-install-systemwide.1', 9 | 'mate-font-viewer.1', 10 | 'mate-keybinding-properties.1', 11 | 'mate-keyboard-properties.1', 12 | 'mate-mouse-properties.1', 13 | 'mate-network-properties.1', 14 | 'mate-thumbnail-font.1', 15 | 'mate-typing-monitor.1', 16 | 'mate-window-properties.1', 17 | ]) 18 | -------------------------------------------------------------------------------- /meson_options.txt: -------------------------------------------------------------------------------- 1 | option('accountsservice', type: 'feature', value: 'auto', description: 'enable accountsservice') 2 | option('libappindicator', type: 'string', value: 'auto', description: 'enable libappindicator') 3 | -------------------------------------------------------------------------------- /meson_post_install.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import os 4 | import subprocess 5 | import sys 6 | 7 | gsettingsschemadir = os.path.join(sys.argv[1], 'glib-2.0', 'schemas') 8 | icondir = os.path.join(sys.argv[1], 'icons', 'hicolor') 9 | mimedir = os.path.join(sys.argv[1], 'mime') 10 | 11 | if not os.environ.get('DESTDIR'): 12 | print('Compiling gsettings schemas...') 13 | subprocess.call(['glib-compile-schemas', gsettingsschemadir]) 14 | 15 | print('Update icon cache...') 16 | subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir]) 17 | 18 | print('Update mime database...') 19 | subprocess.call(['update-mime-database', '-V', mimedir]) 20 | -------------------------------------------------------------------------------- /org.mate.control-center.keybinding.gschema.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | '' 5 | Keybinding 6 | Keybinding associated with a custom shortcut. 7 | 8 | 9 | '' 10 | Command 11 | Command associated with a custom keybinding. 12 | 13 | 14 | '' 15 | Name 16 | Description associated with a custom keybinding. 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /po/LINGUAS: -------------------------------------------------------------------------------- 1 | # please keep this list sorted alphabetically 2 | # 3 | af 4 | am 5 | ar 6 | as 7 | ast 8 | az 9 | be 10 | bg 11 | bn 12 | bn_IN 13 | br 14 | bs 15 | ca 16 | ca@valencia 17 | cmn 18 | crh 19 | cs 20 | csb 21 | cy 22 | da 23 | de 24 | dz 25 | el 26 | en_AU 27 | en_CA 28 | en_GB 29 | eo 30 | es 31 | es_AR 32 | es_CL 33 | es_CO 34 | es_CR 35 | es_DO 36 | es_EC 37 | es_ES 38 | es_MX 39 | es_NI 40 | es_PA 41 | es_PE 42 | es_PR 43 | es_SV 44 | es_UY 45 | es_VE 46 | et 47 | eu 48 | fa 49 | fi 50 | fo 51 | fr 52 | fr_CA 53 | frp 54 | fur 55 | fy 56 | ga 57 | gd 58 | gl 59 | gu 60 | ha 61 | he 62 | hi 63 | hr 64 | hu 65 | hy 66 | ia 67 | id 68 | ie 69 | ig 70 | is 71 | it 72 | ja 73 | jv 74 | ka 75 | kab 76 | kk 77 | km 78 | kn 79 | ko 80 | ks 81 | ku 82 | ku_IQ 83 | ky 84 | lb 85 | li 86 | lo 87 | lt 88 | lv 89 | mai 90 | mg 91 | mi 92 | mk 93 | ml 94 | mn 95 | mr 96 | ms 97 | nb 98 | nds 99 | ne 100 | nl 101 | nn 102 | nso 103 | oc 104 | om 105 | or 106 | pa 107 | pl 108 | pms 109 | ps 110 | pt 111 | pt_BR 112 | ro 113 | ru 114 | rw 115 | sc 116 | si 117 | sk 118 | so 119 | sl 120 | sq 121 | sr 122 | sr@latin 123 | sv 124 | ta 125 | te 126 | tg 127 | th 128 | tk 129 | tl 130 | tr 131 | tt 132 | ug 133 | uk 134 | ur 135 | uz 136 | vi 137 | wa 138 | xh 139 | yi 140 | yo 141 | zh_CN 142 | zh_HK 143 | zh_TW 144 | zu 145 | -------------------------------------------------------------------------------- /po/POTFILES.skip: -------------------------------------------------------------------------------- 1 | capplets/about-me/fingerprint-strings.h 2 | capplets/appearance/data/mate-theme-package.xml 3 | -------------------------------------------------------------------------------- /po/meson.build: -------------------------------------------------------------------------------- 1 | i18n.gettext(meson.project_name(), 2 | preset : 'glib', 3 | args: [ 4 | '--default-domain=' + meson.project_name() 5 | ] 6 | ) 7 | -------------------------------------------------------------------------------- /shell/libslab-utils.c: -------------------------------------------------------------------------------- 1 | #include "libslab-utils.h" 2 | 3 | #ifdef HAVE_CONFIG_H 4 | # include 5 | #endif 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | 16 | MateDesktopItem * 17 | libslab_mate_desktop_item_new_from_unknown_id (const gchar *id) 18 | { 19 | MateDesktopItem *item; 20 | gchar *basename; 21 | 22 | GError *error = NULL; 23 | 24 | if (! id) 25 | return NULL; 26 | 27 | item = mate_desktop_item_new_from_uri (id, 0, & error); 28 | 29 | if (! error) 30 | return item; 31 | else { 32 | g_error_free (error); 33 | error = NULL; 34 | } 35 | 36 | item = mate_desktop_item_new_from_file (id, 0, & error); 37 | 38 | if (! error) 39 | return item; 40 | else { 41 | g_error_free (error); 42 | error = NULL; 43 | } 44 | 45 | item = mate_desktop_item_new_from_basename (id, 0, & error); 46 | 47 | if (! error) 48 | return item; 49 | else { 50 | g_error_free (error); 51 | error = NULL; 52 | } 53 | 54 | basename = g_strrstr (id, "/"); 55 | 56 | if (basename) { 57 | basename++; 58 | 59 | item = mate_desktop_item_new_from_basename (basename, 0, &error); 60 | 61 | if (! error) 62 | return item; 63 | else { 64 | g_error_free (error); 65 | error = NULL; 66 | } 67 | } 68 | 69 | return NULL; 70 | } 71 | -------------------------------------------------------------------------------- /shell/libslab-utils.h: -------------------------------------------------------------------------------- 1 | #ifndef __LIBSLAB_UTILS_H__ 2 | #define __LIBSLAB_UTILS_H__ 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | G_BEGIN_DECLS 9 | 10 | MateDesktopItem *libslab_mate_desktop_item_new_from_unknown_id (const gchar *id); 11 | 12 | G_END_DECLS 13 | 14 | #endif /* __LIBSLAB_UTILS_H__ */ 15 | -------------------------------------------------------------------------------- /shell/mate-utils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of libslab. 3 | * 4 | * Copyright (c) 2006 Novell, Inc. 5 | * 6 | * Libslab is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free 8 | * Software Foundation; either version 2 of the License, or (at your option) 9 | * any later version. 10 | * 11 | * Libslab is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for 14 | * more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with libslab; if not, write to the Free Software Foundation, Inc., 51 18 | * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef __MATE_UTILS_H__ 22 | #define __MATE_UTILS_H__ 23 | 24 | #include 25 | #include 26 | 27 | G_BEGIN_DECLS 28 | 29 | gboolean load_image_by_id (GtkImage * image, GtkIconSize size, 30 | const gchar * image_id); 31 | 32 | G_END_DECLS 33 | 34 | #endif /* __MATE_UTILS_H__ */ 35 | -------------------------------------------------------------------------------- /shell/matecc.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Control Center 3 | GenericName=The MATE configuration tool 4 | Comment=Configure MATE settings 5 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 6 | Icon=preferences-desktop 7 | Exec=mate-control-center 8 | Terminal=false 9 | Type=Application 10 | StartupNotify=false 11 | Categories=GTK;Settings; 12 | # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! 13 | Keywords=MATE;control;center;configuration;tool;desktop;preferences; 14 | OnlyShowIn=MATE; 15 | -------------------------------------------------------------------------------- /shell/matecc.directory.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=Control Center 3 | # Translators: Do NOT translate or transliterate this text (this is an icon file name)! 4 | Icon=mate-settings 5 | Type=Directory 6 | 7 | -------------------------------------------------------------------------------- /shell/meson.build: -------------------------------------------------------------------------------- 1 | directory_desktop = 'matecc.directory' 2 | desktop = 'matecc.desktop' 3 | 4 | i18n.merge_file( 5 | type: 'desktop', 6 | input: desktop + '.in', 7 | output: desktop, 8 | po_dir: po_dir, 9 | install: true, 10 | install_dir: mcc_desktopdir 11 | ) 12 | 13 | i18n.merge_file( 14 | type: 'desktop', 15 | input: directory_desktop + '.desktop.in', 16 | output: directory_desktop, 17 | po_dir: po_dir, 18 | install: true, 19 | install_dir: join_paths(mcc_datadir, 'desktop-directories') 20 | ) 21 | 22 | sources = files( 23 | 'application-tile.c', 24 | 'app-resizer.c', 25 | 'app-shell.c', 26 | 'bookmark-agent.c', 27 | 'control-center.c', 28 | 'double-click-detector.c', 29 | 'libslab-utils.c', 30 | 'mate-utils.c', 31 | 'nameplate-tile.c', 32 | 'search-bar.c', 33 | 'shell-window.c', 34 | 'slab-mate-util.c', 35 | 'slab-section.c', 36 | 'themed-icon.c', 37 | 'tile-action.c', 38 | 'tile.c' 39 | ) 40 | 41 | sources += gnome.genmarshal('nld-marshal', prefix : 'nld_marshal', sources : 'nld-marshal.list' ) 42 | cflags = [ 43 | '-DDATADIR="@0@"'.format(mcc_datadir), 44 | '-DMATELOCALEDIR="@0@"'.format(mcc_localedir), 45 | ] 46 | 47 | executable( 48 | 'mate-control-center', 49 | sources : sources, 50 | include_directories: config_inc, 51 | dependencies : [common_deps, menu_dep], 52 | c_args : cflags, 53 | install : true, 54 | install_dir : get_option('bindir') 55 | ) 56 | 57 | install_data ( 58 | 'matecc.menu', 59 | install_dir : join_paths(get_option('sysconfdir'), 'xdg', 'menus') 60 | ) 61 | -------------------------------------------------------------------------------- /shell/nld-marshal.list: -------------------------------------------------------------------------------- 1 | VOID:STRING 2 | -------------------------------------------------------------------------------- /shell/slab-mate-util.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of libslab. 3 | * 4 | * Copyright (c) 2006 Novell, Inc. 5 | * 6 | * Libslab is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free 8 | * Software Foundation; either version 2 of the License, or (at your option) 9 | * any later version. 10 | * 11 | * Libslab is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for 14 | * more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with libslab; if not, write to the Free Software Foundation, Inc., 51 18 | * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef __SLAB_MATE_UTIL_H__ 22 | #define __SLAB_MATE_UTIL_H__ 23 | 24 | #include 25 | #include 26 | #include 27 | 28 | G_BEGIN_DECLS 29 | 30 | MateDesktopItem *load_desktop_item_from_unknown (const gchar * id); 31 | 32 | gboolean open_desktop_item_exec (MateDesktopItem * desktop_item); 33 | gboolean open_desktop_item_help (MateDesktopItem * desktop_item); 34 | 35 | void copy_file (const gchar * src_uri, const gchar * dst_uri); 36 | 37 | G_END_DECLS 38 | 39 | #endif /* __SLAB_MATE_UTIL_H__ */ 40 | -------------------------------------------------------------------------------- /shell/slab.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of libslab. 3 | * 4 | * Copyright (c) 2006 Novell, Inc. 5 | * 6 | * Libslab is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free 8 | * Software Foundation; either version 2 of the License, or (at your option) 9 | * any later version. 10 | * 11 | * Libslab is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for 14 | * more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with libslab; if not, write to the Free Software Foundation, Inc., 51 18 | * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | 22 | #ifndef __SLAB_H__ 23 | #define __SLAB_H__ 24 | 25 | #include "app-resizer.h" 26 | #include "app-shell.h" 27 | #include "application-tile.h" 28 | #include "bookmark-agent.h" 29 | #include "double-click-detector.h" 30 | #include "mate-utils.h" 31 | #include "libslab-utils.h" 32 | #include "nameplate-tile.h" 33 | #include "search-bar.h" 34 | #include "shell-window.h" 35 | #include "slab-mate-util.h" 36 | #include "slab-section.h" 37 | #include "tile.h" 38 | 39 | #endif /* __SLAB_H__ */ 40 | 41 | -------------------------------------------------------------------------------- /shell/themed-icon.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of libslab. 3 | * 4 | * Copyright (c) 2006 Novell, Inc. 5 | * 6 | * Libslab is free software; you can redistribute it and/or modify it under the 7 | * terms of the GNU Lesser General Public License as published by the Free 8 | * Software Foundation; either version 2 of the License, or (at your option) 9 | * any later version. 10 | * 11 | * Libslab is distributed in the hope that it will be useful, but WITHOUT ANY 12 | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 | * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for 14 | * more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public License 17 | * along with libslab; if not, write to the Free Software Foundation, Inc., 51 18 | * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef __THEMED_ICON_H__ 22 | #define __THEMED_ICON_H__ 23 | 24 | #include 25 | #include 26 | 27 | G_BEGIN_DECLS 28 | 29 | #define THEMED_ICON_TYPE (themed_icon_get_type ()) 30 | #define THEMED_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), THEMED_ICON_TYPE, ThemedIcon)) 31 | #define THEMED_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), THEMED_ICON_TYPE, ThemedIconClass)) 32 | #define IS_THEMED_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), THEMED_ICON_TYPE)) 33 | #define IS_THEMED_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), THEMED_ICON_TYPE)) 34 | #define THEMED_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), THEMED_ICON_TYPE, ThemedIconClass)) 35 | 36 | typedef struct 37 | { 38 | GtkImage parent; 39 | 40 | GtkIconSize size; 41 | gchar *id; 42 | } ThemedIcon; 43 | 44 | typedef struct 45 | { 46 | GtkImageClass parent_class; 47 | } ThemedIconClass; 48 | 49 | GType themed_icon_get_type (void); 50 | GtkWidget *themed_icon_new (const gchar * id, GtkIconSize size); 51 | 52 | G_END_DECLS 53 | 54 | #endif /* __THEMED_ICON_H__ */ 55 | -------------------------------------------------------------------------------- /typing-break/Makefile.am: -------------------------------------------------------------------------------- 1 | bin_PROGRAMS = mate-typing-monitor 2 | 3 | mate_typing_monitor_SOURCES = \ 4 | main.c \ 5 | drwright.c \ 6 | drwright.h \ 7 | drw-break-window.c \ 8 | drw-break-window.h \ 9 | drw-monitor.c \ 10 | drw-monitor.h \ 11 | drw-utils.c \ 12 | drw-utils.h \ 13 | drw-selection.c \ 14 | drw-selection.h \ 15 | drw-timer.c \ 16 | drw-timer.h 17 | 18 | mate_typing_monitor_CPPFLAGS = \ 19 | -DMATELOCALEDIR="\"$(datadir)/locale\"" \ 20 | -DIMAGEDIR=\"$(pkgdatadir)/pixmaps\" \ 21 | $(AM_CPPFLAGS) 22 | mate_typing_monitor_CFLAGS = \ 23 | @TYPING_CFLAGS@ \ 24 | @APPINDICATOR_CFLAGS@ \ 25 | @MATE_DESKTOP_CFLAGS@ \ 26 | $(WARN_CFLAGS) \ 27 | $(AM_CFLAGS) 28 | 29 | mate_typing_monitor_LDADD = @TYPING_LIBS@ @APPINDICATOR_LIBS@ @MATE_DESKTOP_LIBS@ @SCREENSAVER_LIBS@ 30 | 31 | if HAVE_LIBCANBERRA_GTK 32 | mate_typing_monitor_CFLAGS += -DHAVE_CANBERRA_GTK @LIBCANBERRA_GTK_CFLAGS@ 33 | mate_typing_monitor_LDADD += @LIBCANBERRA_GTK_LIBS@ 34 | endif 35 | 36 | imagedir = $(pkgdatadir)/pixmaps 37 | dist_image_DATA = bar.png bar-red.png bar-green.png bar-disabled.png ocean-stripes.png 38 | 39 | # Themeable application icon 40 | icondir = $(datadir)/icons/hicolor/48x48/apps 41 | dist_icon_DATA = mate-typing-monitor.png 42 | svgicondir = $(datadir)/icons/hicolor/scalable/apps 43 | dist_svgicon_DATA = mate-typing-monitor.svg 44 | gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor 45 | install-data-hook: update-icon-cache 46 | uninstall-hook: update-icon-cache 47 | update-icon-cache: 48 | @-if test -z "$(DESTDIR)"; then \ 49 | echo "Updating Gtk icon cache."; \ 50 | $(gtk_update_icon_cache); \ 51 | else \ 52 | echo "*** Icon cache not updated. After (un)install, run this:"; \ 53 | echo "*** $(gtk_update_icon_cache)"; \ 54 | fi 55 | 56 | -include $(top_srcdir)/git.mk 57 | -------------------------------------------------------------------------------- /typing-break/bar-disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/typing-break/bar-disabled.png -------------------------------------------------------------------------------- /typing-break/bar-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/typing-break/bar-green.png -------------------------------------------------------------------------------- /typing-break/bar-red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/typing-break/bar-red.png -------------------------------------------------------------------------------- /typing-break/bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/typing-break/bar.png -------------------------------------------------------------------------------- /typing-break/drw-selection.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 | /* Copyright © 2002 Red Hat, Inc. 3 | * 4 | * Permission to use, copy, modify, distribute, and sell this software and its 5 | * documentation for any purpose is hereby granted without fee, provided that 6 | * the above copyright notice appear in all copies and that both that 7 | * copyright notice and this permission notice appear in supporting 8 | * documentation, and that the name of Red Hat not be used in advertising or 9 | * publicity pertaining to distribution of the software without specific, 10 | * written prior permission. Red Hat makes no representations about the 11 | * suitability of this software for any purpose. It is provided "as is" 12 | * without express or implied warranty. 13 | * 14 | * RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL 15 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT 16 | * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 17 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 18 | * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 19 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 20 | * 21 | * Author: Owen Taylor, Red Hat, Inc. 22 | */ 23 | 24 | #ifndef __DRW_SELECTION_H__ 25 | #define __DRW_SELECTION_H__ 26 | 27 | typedef struct _DrwSelection DrwSelection; 28 | 29 | DrwSelection * drw_selection_start (void); 30 | void drw_selection_stop (DrwSelection *drw_selection); 31 | gboolean drw_selection_is_master (DrwSelection *drw_selection); 32 | 33 | #endif /* __DRW_SELECTION_H__ */ 34 | -------------------------------------------------------------------------------- /typing-break/drw-timer.c: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 | /* 3 | * Copyright (C) 2009 Nathaniel Smith 4 | * 5 | * This program is free software; you can redistribute it and/or 6 | * modify it under the terms of the GNU General Public License as 7 | * published by the Free Software Foundation; either version 2 of the 8 | * License, or (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public 16 | * License along with this program; if not, write to the 17 | * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 18 | * Boston, MA 02110-1301, USA. 19 | */ 20 | 21 | #include 22 | #include "drw-timer.h" 23 | 24 | struct _DrwTimer 25 | { 26 | gint64 start_time; 27 | }; 28 | 29 | DrwTimer * drw_timer_new (void) 30 | { 31 | DrwTimer * timer = g_new0 (DrwTimer, 1); 32 | drw_timer_start (timer); 33 | return timer; 34 | } 35 | 36 | void drw_timer_start (DrwTimer *timer) 37 | { 38 | timer->start_time = g_get_real_time (); 39 | } 40 | 41 | gint drw_timer_elapsed (DrwTimer *timer) 42 | { 43 | return (g_get_real_time () - timer->start_time) / G_USEC_PER_SEC; 44 | } 45 | 46 | void drw_timer_destroy (DrwTimer *timer) 47 | { 48 | g_free (timer); 49 | } 50 | 51 | -------------------------------------------------------------------------------- /typing-break/drw-timer.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 | /* 3 | * Copyright (C) 2009 Nathaniel Smith 4 | * 5 | * This program is free software; you can redistribute it and/or 6 | * modify it under the terms of the GNU General Public License as 7 | * published by the Free Software Foundation; either version 2 of the 8 | * License, or (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public 16 | * License along with this program; if not, write to the 17 | * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 18 | * Boston, MA 02110-1301, USA. 19 | */ 20 | 21 | #ifndef __DRW_TIMER_H__ 22 | #define __DRW_TIMER_H__ 23 | 24 | /* 25 | * This file defines a timer interface similar to GTimer, but defined in real 26 | * wall-clock time. A GTimer may stop counting while the computer is suspended 27 | * or the process is stopped: 28 | * https://bugzilla.gnome.org/show_bug.cgi?id=552994 29 | * but a DrwTimer keeps counting regardless. 30 | * 31 | * Currently this only provides second resolution as compared to GTimer's 32 | * microsecond resolution, but a typing break program doesn't really need 33 | * microsecond resolution anyway. 34 | */ 35 | 36 | typedef struct _DrwTimer DrwTimer; 37 | DrwTimer * drw_timer_new (void); 38 | void drw_timer_start (DrwTimer *timer); 39 | gint drw_timer_elapsed (DrwTimer *timer); 40 | void drw_timer_destroy (DrwTimer *timer); 41 | 42 | #endif /* __DRW_TIMER_H__ */ 43 | -------------------------------------------------------------------------------- /typing-break/drw-utils.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 | /* 3 | * Copyright (C) 2003 Richard Hult 4 | * 5 | * This program is free software; you can redistribute it and/or 6 | * modify it under the terms of the GNU General Public License as 7 | * published by the Free Software Foundation; either version 2 of the 8 | * License, or (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public 16 | * License along with this program; if not, write to the 17 | * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 18 | * Boston, MA 02110-1301, USA. 19 | */ 20 | 21 | #ifndef __DRW_UTILS_H__ 22 | #define __DRW_UTILS_H__ 23 | 24 | #include 25 | 26 | void drw_setup_background (GtkWidget *window); 27 | 28 | 29 | #endif /* __DRW_UTILS_H__ */ 30 | -------------------------------------------------------------------------------- /typing-break/drwright.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 | /* 3 | * Copyright (C) 2002 Richard Hult 4 | * 5 | * This program is free software; you can redistribute it and/or 6 | * modify it under the terms of the GNU General Public License as 7 | * published by the Free Software Foundation; either version 2 of the 8 | * License, or (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public 16 | * License along with this program; if not, write to the 17 | * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 18 | * Boston, MA 02110-1301, USA. 19 | */ 20 | 21 | #ifndef __DR_WRIGHT_H__ 22 | #define __DR_WRIGHT_H__ 23 | 24 | #define TYPING_BREAK_SCHEMA "org.mate.typing-break" 25 | 26 | typedef struct _DrWright DrWright; 27 | 28 | DrWright *drwright_new (void); 29 | 30 | #endif /* __DR_WRIGHT_H__ */ 31 | -------------------------------------------------------------------------------- /typing-break/mate-typing-monitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/typing-break/mate-typing-monitor.png -------------------------------------------------------------------------------- /typing-break/meson.build: -------------------------------------------------------------------------------- 1 | cflags = [ 2 | '-DIMAGEDIR="@0@"'.format(mcc_directorydir), 3 | '-DMATELOCALEDIR="@0@"'.format(mcc_pixmaps), 4 | ] 5 | 6 | deps = [ 7 | gtk_dep, 8 | glib_dep, 9 | mate_desktop_dep, 10 | x11_dep, 11 | xext_dep, 12 | xscrnsaver_dep, 13 | m_dep 14 | ] 15 | deps += [appindicator_dep,ayatana_dep] 16 | executable( 17 | 'mate-typing-monitor', 18 | sources : [ 19 | 'drw-break-window.c', 20 | 'drw-monitor.c', 21 | 'drwright.c', 22 | 'drw-selection.c', 23 | 'drw-timer.c', 24 | 'drw-utils.c', 25 | 'main.c' 26 | ], 27 | include_directories : config_inc, 28 | dependencies : deps, 29 | c_args : cflags, 30 | install : true, 31 | install_dir : get_option('bindir') 32 | ) 33 | 34 | install_data( 35 | 'mate-typing-monitor.png', 36 | install_dir: join_paths(mcc_icondir, 'hicolor', '48x48', 'apps') 37 | ) 38 | 39 | install_data( 40 | 'mate-typing-monitor.svg', 41 | install_dir: join_paths(mcc_icondir, 'hicolor', 'scalable', 'apps') 42 | ) 43 | 44 | icons = [ 45 | 'bar-disabled.png', 46 | 'bar-green.png', 47 | 'bar.png', 48 | 'bar-red.png', 49 | 'ocean-stripes.png' 50 | ] 51 | 52 | foreach icon: icons 53 | install_data( 54 | icon, 55 | install_dir : mcc_pixmaps 56 | ) 57 | endforeach 58 | -------------------------------------------------------------------------------- /typing-break/ocean-stripes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mate-desktop/mate-control-center/5ebedfa80a795da9e7a785bfa19250120426acf9/typing-break/ocean-stripes.png --------------------------------------------------------------------------------