theme: Replace calendar arrow images with symbolic icons and CSS
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/301
This commit is contained in:

committed by
Florian Müllner

parent
264050742b
commit
3217c10ff2
@ -446,6 +446,7 @@ var Calendar = new Lang.Class({
|
||||
this._backButton = new St.Button({ style_class: 'calendar-change-month-back pager-button',
|
||||
accessible_name: _("Previous month"),
|
||||
can_focus: true });
|
||||
this._backButton.add_actor(new St.Icon({ icon_name: 'pan-start-symbolic' }));
|
||||
this._topBox.add(this._backButton);
|
||||
this._backButton.connect('clicked', this._onPrevMonthButtonClicked.bind(this));
|
||||
|
||||
@ -456,6 +457,7 @@ var Calendar = new Lang.Class({
|
||||
this._forwardButton = new St.Button({ style_class: 'calendar-change-month-forward pager-button',
|
||||
accessible_name: _("Next month"),
|
||||
can_focus: true });
|
||||
this._forwardButton.add_actor(new St.Icon({ icon_name: 'pan-end-symbolic' }));
|
||||
this._topBox.add(this._forwardButton);
|
||||
this._forwardButton.connect('clicked', this._onNextMonthButtonClicked.bind(this));
|
||||
|
||||
|
Reference in New Issue
Block a user