DocsWidget -> RecentDocsWidget
Rename DocsWidget to RecentDocsWidget (as widgets for most used docs, docs related to the currently open documents, etc. may be added in the future), and change the title so that it doesn't abbreviate 'Docs' (for consistency with the overlay).
This commit is contained in:
parent
96cf9c739e
commit
ff6ee2c0c2
@ -64,7 +64,7 @@
|
|||||||
<owner>gnome-shell</owner>
|
<owner>gnome-shell</owner>
|
||||||
<type>list</type>
|
<type>list</type>
|
||||||
<list_type>string</list_type>
|
<list_type>string</list_type>
|
||||||
<default>[imports.ui.widget.ClockWidget,imports.ui.widget.AppsWidget,imports.ui.widget.DocsWidget]</default>
|
<default>[imports.ui.widget.ClockWidget,imports.ui.widget.AppsWidget,imports.ui.widget.RecentDocsWidget]</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>The widgets to display in the sidebar</short>
|
<short>The widgets to display in the sidebar</short>
|
||||||
<long>
|
<long>
|
||||||
|
@ -327,17 +327,17 @@ AppsWidget.prototype = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function DocsWidget() {
|
function RecentDocsWidget() {
|
||||||
this._init.apply(this, arguments);
|
this._init.apply(this, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
DocsWidget.prototype = {
|
RecentDocsWidget.prototype = {
|
||||||
__proto__ : LauncherWidget.prototype,
|
__proto__ : LauncherWidget.prototype,
|
||||||
|
|
||||||
_init : function() {
|
_init : function() {
|
||||||
Widget.prototype._init.apply(this, arguments);
|
Widget.prototype._init.apply(this, arguments);
|
||||||
|
|
||||||
this.title = "Recent Docs";
|
this.title = "Recent Documents";
|
||||||
this.actor = new Big.Box({ spacing: 2 });
|
this.actor = new Big.Box({ spacing: 2 });
|
||||||
|
|
||||||
this._recentManager = Gtk.RecentManager.get_default();
|
this._recentManager = Gtk.RecentManager.get_default();
|
||||||
|
Loading…
Reference in New Issue
Block a user