Skip to content

Commit 9d2cf36

Browse files
committed
Switch to XApp symbolic icons
1 parent 553eaf7 commit 9d2cf36

7 files changed

Lines changed: 17 additions & 17 deletions

File tree

nemo-fileroller/src/nemo-fileroller.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ nemo_fr_get_file_items (NemoMenuProvider *provider,
335335
_("Extract Here"),
336336
/* Translators: the current position is the current folder */
337337
_("Extract the selected archive to the current position"),
338-
"extract-archive-symbolic");
338+
"xapp-extract-archive-symbolic");
339339
g_signal_connect (item,
340340
"activate",
341341
G_CALLBACK (extract_here_callback),
@@ -354,7 +354,7 @@ nemo_fr_get_file_items (NemoMenuProvider *provider,
354354
item = nemo_menu_item_new ("NemoFr::extract_to",
355355
_("Extract To..."),
356356
_("Extract the selected archive"),
357-
"extract-archive-symbolic");
357+
"xapp-extract-archive-symbolic");
358358
g_signal_connect (item,
359359
"activate",
360360
G_CALLBACK (extract_to_callback),
@@ -374,7 +374,7 @@ nemo_fr_get_file_items (NemoMenuProvider *provider,
374374
item = nemo_menu_item_new ("NemoFr::add",
375375
_("Compress..."),
376376
_("Create a compressed archive with the selected objects"),
377-
"add-files-to-archive-symbolic");
377+
"xapp-add-files-to-archive-symbolic");
378378
g_signal_connect (item,
379379
"activate",
380380
G_CALLBACK (add_callback),

nemo-preview/src/js/ui/mainWindow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ MainWindow.prototype = {
600600

601601
this._quitButton =
602602
new Gtk.Button({ image: new Gtk.Image ({ icon_size: Gtk.IconSize.MENU,
603-
icon_name: 'window-close-symbolic' })});
603+
icon_name: 'xapp-window-close-symbolic' })});
604604
this._quitButton.get_style_context().add_class('np-decoration');
605605
this._quitButton.show();
606606

nemo-preview/src/js/ui/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ function createToolButton(iconName, callback) {
109109
}
110110

111111
function createFullScreenButton(mainWindow) {
112-
return createToolButton('view-fullscreen-symbolic', Lang.bind(this, function() {
112+
return createToolButton('xapp-view-fullscreen-symbolic', Lang.bind(this, function() {
113113
mainWindow.toggleFullScreen();
114114
}));
115115
}
116116

117117
function createOpenButton(file, mainWindow) {
118-
return createToolButton('document-open-symbolic', Lang.bind(this, function(widget) {
118+
return createToolButton('xapp-document-open-symbolic', Lang.bind(this, function(widget) {
119119
let timestamp = Gtk.get_current_event_time();
120120
try {
121121
Gtk.show_uri(widget.get_screen(),

nemo-preview/src/js/viewers/audio.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ AudioRenderer.prototype = {
6363

6464
this._box = new Gtk.Box({ orientation: Gtk.Orientation.HORIZONTAL,
6565
spacing: 6 });
66-
this._image = new Gtk.Image({ icon_name: 'media-optical-symbolic',
66+
this._image = new Gtk.Image({ icon_name: 'xapp-media-optical-symbolic',
6767
pixel_size: 256 });
6868
this._box.pack_start(this._image, false, false, 0);
6969

@@ -154,7 +154,7 @@ AudioRenderer.prototype = {
154154

155155
_onCoverArtChanged : function() {
156156
if (!this._artFetcher.cover) {
157-
this._image.set_from_icon_name('media-optical-symbolic');
157+
this._image.set_from_icon_name('xapp-media-optical-symbolic');
158158
return;
159159
}
160160

@@ -240,10 +240,10 @@ AudioRenderer.prototype = {
240240
_onPlayerStateChanged : function() {
241241
switch(this._player.state) {
242242
case NemoPreview.SoundPlayerState.PLAYING:
243-
this._toolbarPlay.set_icon_name('media-playback-pause-symbolic');
243+
this._toolbarPlay.set_icon_name('xapp-media-playback-pause-symbolic');
244244
break;
245245
default:
246-
this._toolbarPlay.set_icon_name('media-playback-start-symbolic');
246+
this._toolbarPlay.set_icon_name('xapp-media-playback-start-symbolic');
247247
}
248248
},
249249

@@ -270,7 +270,7 @@ AudioRenderer.prototype = {
270270
opacity: 0,
271271
x_expand: true });
272272

273-
this._toolbarPlay = new Gtk.ToolButton({ icon_name: 'media-playback-pause-symbolic' });
273+
this._toolbarPlay = new Gtk.ToolButton({ icon_name: 'xapp-media-playback-pause-symbolic' });
274274
this._toolbarPlay.show();
275275
this._mainToolbar.insert(this._toolbarPlay, 0);
276276

nemo-preview/src/js/viewers/gst.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ GstRenderer.prototype = {
134134

135135
_onVideoPlayingChange : function() {
136136
if (this._player.playing)
137-
this._toolbarPlay.set_icon_name('media-playback-pause-symbolic');
137+
this._toolbarPlay.set_icon_name('xapp-media-playback-pause-symbolic');
138138
else
139-
this._toolbarPlay.set_icon_name('media-playback-start-symbolic');
139+
this._toolbarPlay.set_icon_name('xapp-media-playback-start-symbolic');
140140
},
141141

142142
getSizeForAllocation : function(allocation) {
@@ -160,7 +160,7 @@ GstRenderer.prototype = {
160160
opacity: 0,
161161
x_expand: true });
162162

163-
this._toolbarPlay = new Gtk.ToolButton({ icon_name: 'media-playback-pause-symbolic' });
163+
this._toolbarPlay = new Gtk.ToolButton({ icon_name: 'xapp-media-playback-pause-symbolic' });
164164
this._toolbarPlay.show();
165165
this._mainToolbar.insert(this._toolbarPlay, 0);
166166

nemo-preview/src/js/viewers/xreader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ XreaderRenderer.prototype = {
137137
this._toolbarActor = new GtkClutter.Actor({ contents: this._mainToolbar });
138138

139139
this._toolbarBack = new Gtk.ToolButton({ expand: false,
140-
icon_name: 'go-previous-symbolic' });
140+
icon_name: 'xapp-go-previous-symbolic' });
141141
this._toolbarBack.show();
142142
this._mainToolbar.insert(this._toolbarBack, -1);
143143

@@ -150,7 +150,7 @@ XreaderRenderer.prototype = {
150150
this._mainToolbar.insert(labelItem, -1);
151151

152152
this._toolbarForward = new Gtk.ToolButton({ expand: false,
153-
icon_name: 'go-next-symbolic' });
153+
icon_name: 'xapp-go-next-symbolic' });
154154
this._toolbarForward.show();
155155
this._mainToolbar.insert(this._toolbarForward, -1);
156156

nemo-share/interfaces/share-dialog.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
<object class="GtkImage" id="image_status">
308308
<property name="can_focus">False</property>
309309
<property name="halign">end</property>
310-
<property name="icon_name">dialog-warning-symbolic</property>
310+
<property name="icon_name">xapp-dialog-warning-symbolic</property>
311311
</object>
312312
<packing>
313313
<property name="expand">False</property>

0 commit comments

Comments
 (0)