Coder Social home page Coder Social logo

f-i-f / weeks-start-on-monday Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 9.0 260 KB

The Gnome Shell Calendar week can start on Monday or any other day of the week.

License: GNU General Public License v3.0

JavaScript 100.00%
calendar gnome-shell gnome-shell-extension monday

weeks-start-on-monday's People

Contributors

etamuk avatar f-i-f avatar vistaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

weeks-start-on-monday's Issues

Any way for this to apply to gnome.calendar.desktop?

Thank you for the extension! It works great for the calendar that appears when you click the time in the top menu (notifications), but doesn't seem to have any effect on the Calendar (org.gnome.calendar.desktop) application itself.

image

Gnome 41 support

According to the gnome-extensions-app, the this extension (as download from extensions.gnome.org) is incompatible with the current GNOME version running on my laptop:

$ gnome-shell --version
GNOME Shell 41.0

GNOME 44 compatibility

When running the extension on GNOME 44 I got the following error:

TypeError: method Gtk.CssProvider.load_from_data: At least 2 arguments required, but only 1 passed

I added an argument to line 101 of prefs.js, which fixed the compatibility issue:

css.load_from_data('label { min-width: 12ex; } trough { margin-right: 10ex; }', -1);

However, I'm not really sure if I understand the docs, so it might break something down the line. Anyways, the extension works for me again. I hope this helps. Thanks a lot for this extension!

Doesn't work in GNOME 40

Error: No property margin on GtkScale

Stack trace:
  _init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:45:40
  setup@/var/home/phil/.local/share/gnome-shell/extensions/[email protected]/prefs.js:86:25
  buildPrefsWidget@/var/home/phil/.local/share/gnome-shell/extensions/[email protected]/prefs.js:130:12
  _init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:209:40
  OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
  asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
  run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
  main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  start@resource:///org/gnome/gjs/modules/script/package.js:190:8
  @/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
  

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.