This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Applet = imports.ui.applet; | |
const Lang = imports.lang; | |
const Util = imports.misc.util; | |
function MyApplet(orientation, panel_height, instance_id) { | |
this._init(orientation, panel_height, instance_id); | |
} | |
MyApplet.prototype = { | |
__proto__: Applet.IconApplet.prototype, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== startup ======= | |
Cjs-Message: JS WARNING: [/home/exor/.local/share/cinnamon/applets/cinnamem@exor/applet.js 90]: reference to undefined property this.maxMem | |
Cjs-Message: JS WARNING: [/usr/share/cinnamon/applets/trash@cinnamon.org/applet.js 37]: Too many arguments to method Gio.File.monitor_directory: expected 2, got 3 | |
Cjs-Message: JS WARNING: [resource:///org/cinnamon/cjs/modules/tweener/tweener.js 545]: reference to undefined property properties[istr].arrayIndex | |
Cjs-Message: JS WARNING: [/usr/share/cinnamon/applets/trash@cinnamon.org/applet.js 80]: Too many arguments to method Gio.FileEnumerator.next_file: expected 1, got 2 | |
Cjs-Message: JS WARNING: [/usr/share/cinnamon/js/ui/panel.js 2393]: reference to undefined property this._focusWindow | |
===== trash applet -> empty trash ======= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* isError: | |
* @obj (Object): the object to be tested | |
* | |
* Tests whether @obj is an error object. If the object | |
* is a GLib.Error then we add a stack trace to it. | |
* | |
* Returns (boolean): whether @obj is an error object | |
*/ | |
function isError(obj) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* FILE:cinnamonShortcutsDialog.js | |
* @short_description: A dialog that shows common cinnamon shortcuts. | |
* | |
* Shows a dialog with the current common shortcuts. | |
*/ | |
const Lang = imports.lang; | |
const Gio = imports.gi.Gio; | |
const St = imports.gi.St; | |
const Cinnamon = imports.gi.Cinnamon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Lang = imports.lang; | |
const Signals = imports.signals; | |
const Applet = imports.ui.applet; | |
const Mainloop = imports.mainloop; | |
const Main = imports.ui.main; | |
const Tooltips = imports.ui.tooltips; | |
const Clutter = imports.gi.Clutter; | |
const GTop = imports.gi.GTop; | |
const Cinnamon = imports.gi.Cinnamon; | |
const St = imports.gi.St; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "Searches open windows", | |
"uuid": "open-windows@exor", | |
"name": "Open Windows Search Provider" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ShortcutDisplay(Gtk.Box): | |
def __init__(self, accel_string): | |
Gtk.Box.__init__(self, Gtk.Orientation.HORIZONTAL, 2) | |
def get_label(text, style_class=None): | |
label = Gtk.Label(text) | |
if style_class is not None: | |
label.get_style_context().add_class(style_class) | |
return label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_pkgname=cjs | |
pkgname=${_pkgname}-g | |
pkgver=r2301.b52a8550 | |
pkgrel=1 | |
pkgdesc="Javascript Bindings for Cinnamon" | |
arch=(i686 x86_64) | |
url="https://github.com/linuxmint/cjs" | |
license=(GPL) | |
depends=(gtk3 gobject-introspection-runtime js52 dbus-glib) | |
makedepends=(autoconf-archive gobject-introspection) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Applet = imports.ui.applet; | |
const PopupMenu = imports.ui.popupMenu; | |
const Meta = imports.gi.Meta; | |
const TOPICS = [ | |
[Meta.DebugTopic.VERBOSE, "Verbose"], | |
[Meta.DebugTopic.COMPOSITOR, "Compositor"], | |
[Meta.DebugTopic.EDGE_RESISTANCE, "Edge Resistance"], | |
[Meta.DebugTopic.ERRORS, "Errors"], |