[brisk-menu] 01/01: debian/patches: Add 1006_session_buttons_style_class.patch. Add style class for session buttons.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Wed Apr 4 10:49:14 UTC 2018


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch master
in repository brisk-menu.

commit c39696e1f272d4388f93c1888c14b73a51d4cc11
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date:   Tue Apr 3 23:23:45 2018 +0100

    debian/patches: Add 1006_session_buttons_style_class.patch. Add style class for session buttons.
---
 .../patches/1006_session_buttons_style_class.patch | 28 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/1006_session_buttons_style_class.patch b/debian/patches/1006_session_buttons_style_class.patch
new file mode 100644
index 0000000..0696227
--- /dev/null
+++ b/debian/patches/1006_session_buttons_style_class.patch
@@ -0,0 +1,28 @@
+diff --git a/src/frontend/classic/classic-window.c b/src/frontend/classic/classic-window.c
+index aab40c7..29d437a 100644
+--- a/src/frontend/classic/classic-window.c
++++ b/src/frontend/classic/classic-window.c
+@@ -661,6 +661,7 @@ static void brisk_classic_window_setup_session_controls(BriskClassicWindow *self
+         gtk_container_add(GTK_CONTAINER(box), widget);
+         style = gtk_widget_get_style_context(widget);
+         gtk_style_context_add_class(style, GTK_STYLE_CLASS_FLAT);
++        gtk_style_context_add_class (style, "session-button");
+ 
+         /* Lock */
+         widget = gtk_button_new_from_icon_name("system-lock-screen-symbolic",
+@@ -672,6 +673,7 @@ static void brisk_classic_window_setup_session_controls(BriskClassicWindow *self
+         gtk_container_add(GTK_CONTAINER(box), widget);
+         style = gtk_widget_get_style_context(widget);
+         gtk_style_context_add_class(style, GTK_STYLE_CLASS_FLAT);
++        gtk_style_context_add_class (style, "session-button");
+ 
+         /* Shutdown */
+         widget =
+@@ -683,6 +685,7 @@ static void brisk_classic_window_setup_session_controls(BriskClassicWindow *self
+         gtk_container_add(GTK_CONTAINER(box), widget);
+         style = gtk_widget_get_style_context(widget);
+         gtk_style_context_add_class(style, GTK_STYLE_CLASS_FLAT);
++        gtk_style_context_add_class (style, "session-button");
+ }
+ 
+ /**
diff --git a/debian/patches/series b/debian/patches/series
index ab5d0b4..8121f58 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 1003_dash_launcher.patch
 1004_fix_dash_styling_for_some_light_themes.patch
 1005_prevent_super_key_swallows_on_compiz.patch
+1006_session_buttons_style_class.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/brisk-menu.git



More information about the pkg-mate-commits mailing list