[gnome-flashback] input-sources: add widget name for GfInputSourcePopup



commit eb9cd9eee4b43e54d222b4771ef999def35af6c9
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Jan 19 14:43:37 2016 +0200

    input-sources: add widget name for GfInputSourcePopup
    
    We don't add any custom style to this window, but other themes
    might want to do it.

 data/theme/Adwaita/gnome-flashback-dark.css        |    3 +++
 data/theme/Adwaita/gnome-flashback.css             |    3 +++
 data/theme/HighContrast/gnome-flashback.css        |    3 +++
 .../libinput-sources/gf-input-source-popup.c       |    1 +
 4 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/theme/Adwaita/gnome-flashback-dark.css b/data/theme/Adwaita/gnome-flashback-dark.css
index ab45eef..8a06101 100644
--- a/data/theme/Adwaita/gnome-flashback-dark.css
+++ b/data/theme/Adwaita/gnome-flashback-dark.css
@@ -11,6 +11,9 @@ gf-popup-window.solid {
   border-radius: 0px;
 }
 
+#gf-input-source-popup {
+}
+
 #gf-label-window {
   font-size: 40px;
 }
diff --git a/data/theme/Adwaita/gnome-flashback.css b/data/theme/Adwaita/gnome-flashback.css
index 6f59b83..0d89002 100644
--- a/data/theme/Adwaita/gnome-flashback.css
+++ b/data/theme/Adwaita/gnome-flashback.css
@@ -11,6 +11,9 @@ gf-popup-window.solid {
   border-radius: 0px;
 }
 
+#gf-input-source-popup {
+}
+
 #gf-label-window {
   font-size: 40px;
 }
diff --git a/data/theme/HighContrast/gnome-flashback.css b/data/theme/HighContrast/gnome-flashback.css
index 192dd00..21ac68e 100644
--- a/data/theme/HighContrast/gnome-flashback.css
+++ b/data/theme/HighContrast/gnome-flashback.css
@@ -11,6 +11,9 @@ gf-popup-window.solid {
   border-radius: 0px;
 }
 
+#gf-input-source-popup {
+}
+
 #gf-label-window {
   font-size: 40px;
 }
diff --git a/gnome-flashback/libinput-sources/gf-input-source-popup.c 
b/gnome-flashback/libinput-sources/gf-input-source-popup.c
index b072a7b..4077e7b 100644
--- a/gnome-flashback/libinput-sources/gf-input-source-popup.c
+++ b/gnome-flashback/libinput-sources/gf-input-source-popup.c
@@ -465,6 +465,7 @@ gf_input_source_popup_init (GfInputSourcePopup *popup)
   gtk_window_set_position (window, GTK_WIN_POS_CENTER_ALWAYS);
 
   gtk_widget_add_events (widget, events);
+  gtk_widget_set_name (widget, "gf-input-source-popup");
 }
 
 GtkWidget *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]