Skip to content

Commit aa65074

Browse files
committed
Explicitly use -symbolic in icon reference names (for old gtk3 versions)
1 parent 51284d7 commit aa65074

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main-window.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ static GtkWidget* create_action_bar(GtkNotebook *notebook)
283283

284284
/*** Read */
285285

286-
Closure->readButton = wid = create_button(_("button|Read"), "read", scale);
286+
Closure->readButton = wid = create_button(_("button|Read"), "read-symbolic", scale);
287287
g_signal_connect(G_OBJECT(wid), "clicked", G_CALLBACK(action_cb), (gpointer)ACTION_READ);
288288
gtk_box_pack_start(GTK_BOX(vbox), wid, FALSE, FALSE, 0);
289289
GuiAttachTooltip(wid, _("tooltip|Read Image"),
@@ -309,23 +309,23 @@ static GtkWidget* create_action_bar(GtkNotebook *notebook)
309309

310310
/*** Scan */
311311

312-
Closure->scanButton = wid = create_button(_("button|Scan"), "scan", scale);
312+
Closure->scanButton = wid = create_button(_("button|Scan"), "scan-symbolic", scale);
313313
g_signal_connect(G_OBJECT(wid), "clicked", G_CALLBACK(action_cb), (gpointer)ACTION_SCAN);
314314
gtk_box_pack_start(GTK_BOX(vbox), wid, FALSE, FALSE, 0);
315315
GuiAttachTooltip(wid, _("tooltip|Scan medium"),
316316
_("Scans medium for unreadable sectors."));
317317

318318
/*** Fix */
319319

320-
Closure->fixButton = wid = create_button(_("button|Fix"), "fix", scale);
320+
Closure->fixButton = wid = create_button(_("button|Fix"), "fix-symbolic", scale);
321321
g_signal_connect(G_OBJECT(wid), "clicked", G_CALLBACK(action_cb), (gpointer)ACTION_FIX);
322322
gtk_box_pack_start(GTK_BOX(vbox), wid, FALSE, FALSE, 0);
323323
GuiAttachTooltip(wid, _("tooltip|Repair image"),
324324
_("Repairs an image. Requires an image file and error correction data."));
325325

326326
/*** Verify */
327327

328-
Closure->testButton = wid = create_button(_("button|Verify"), "verify", scale);
328+
Closure->testButton = wid = create_button(_("button|Verify"), "verify-symbolic", scale);
329329
g_signal_connect(G_OBJECT(wid), "clicked", G_CALLBACK(action_cb), (gpointer)ACTION_VERIFY);
330330
gtk_box_pack_start(GTK_BOX(vbox), wid, FALSE, FALSE, 0);
331331
GuiAttachTooltip(wid, _("tooltip|Consistency check"),

0 commit comments

Comments
 (0)