Skip to content

Commit

Permalink
gnome3.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
olebowle committed Nov 3, 2012
1 parent bde3fd2 commit 0961748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions timer@olebowle.gmx.com/extension.js
Expand Up @@ -36,8 +36,6 @@ const Gettext = imports.gettext.domain('gnome-shell-timer');
const Util = imports.misc.util;
const _ = Gettext.gettext;

const Format = imports.misc.format;

function getSettings(schema) {
if (Gio.Settings.list_schemas().indexOf(schema) == -1)
throw _("Schema \"%s\" not found.").format(schema);
Expand All @@ -53,7 +51,6 @@ Indicator.prototype = {

_init: function() {
PanelMenu.Button.prototype._init.call(this, 0.0);
String.prototype.format = Format.format;

// Load settings
this._settings = getSettings('org.gnome.shell.extensions.timer');
Expand Down Expand Up @@ -108,9 +105,8 @@ Indicator.prototype = {
load_settings();

//Set Logo
this._logo = new St.Icon({ icon_name: 'utilities-timer',
style_class: 'system-status-icon',
icon_type: St.IconType.SYMBOLIC});
this._logo = new St.Icon({ icon_name: 'utilities-timer-symbolic',
style_class: 'system-status-icon'});
this.actor.add_actor(this._logo);

//Toggle timer state button
Expand Down
2 changes: 1 addition & 1 deletion timer@olebowle.gmx.com/metadata.json
@@ -1,5 +1,5 @@
{
"shell-version": ["3.2", "3.4"],
"shell-version": ["3.2", "3.4", "3.6"],
"uuid": "timer@olebowle.gmx.com",
"name": "Timer",
"url": "https://github.com/olebowle/gnome-shell-timer",
Expand Down

0 comments on commit 0961748

Please sign in to comment.