[gitg] Add destructive-action class to dash delete button
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Add destructive-action class to dash delete button
- Date: Mon, 3 Aug 2015 07:08:32 +0000 (UTC)
commit ee8c80e6d7738996831f45cebefed06c1e8f09ab
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Mon Aug 3 09:08:03 2015 +0200
Add destructive-action class to dash delete button
gitg/gitg-dash-view.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-dash-view.vala b/gitg/gitg-dash-view.vala
index da05642..91d239c 100644
--- a/gitg/gitg-dash-view.vala
+++ b/gitg/gitg-dash-view.vala
@@ -145,6 +145,7 @@ class DashView : RepositoryListBox, GitgExt.UIElement, GitgExt.Activity, GitgExt
var ab = new Gtk.ActionBar();
var del = new Gtk.Button.with_mnemonic(_("_Delete"));
+ del.get_style_context().add_class(Gtk.STYLE_CLASS_DESTRUCTIVE_ACTION);
del.sensitive = false;
del.show();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]