Skip to content

Commit d67a6e6

Browse files
committed
snapshots.c: Minor button style adjustment (non-flat).
1 parent a300edf commit d67a6e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libs/snapshots.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,8 @@ static void _init_snapshot_entry(dt_lib_module_t *self, dt_lib_snapshot_t *s)
554554
g_signal_connect(G_OBJECT(s->entry), "activate",
555555
G_CALLBACK(_entry_activated_callback), self);
556556

557-
s->restore_button = dtgtk_button_new(dtgtk_cairo_paint_snapshots_restore, 0, NULL);
557+
s->restore_button = dtgtk_button_new(dtgtk_cairo_paint_snapshots_restore, CPF_NONE, NULL);
558+
gtk_widget_set_name(s->restore_button, "non-flat");
558559
gtk_widget_set_tooltip_text(s->restore_button,
559560
_("restore snapshot into current history"));
560561
g_signal_connect(G_OBJECT(s->restore_button), "clicked",

0 commit comments

Comments
 (0)