[gedit] Add a couple of css classes that could be useful
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Add a couple of css classes that could be useful
- Date: Tue, 18 Feb 2014 18:56:59 +0000 (UTC)
commit a46cfb002924e03f200e90367635e2c7b24338f7
Author: Paolo Borelli <pborelli gnome org>
Date: Tue Feb 18 17:00:48 2014 +0100
Add a couple of css classes that could be useful
gedit/gedit-menu-stack-switcher.c | 2 +-
gedit/gedit-style.css | 10 +++++-----
gedit/gedit-window.ui | 8 +++++++-
3 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/gedit/gedit-menu-stack-switcher.c b/gedit/gedit-menu-stack-switcher.c
index ec8fc88..06242b3 100644
--- a/gedit/gedit-menu-stack-switcher.c
+++ b/gedit/gedit-menu-stack-switcher.c
@@ -70,7 +70,7 @@ gedit_menu_stack_switcher_init (GeditMenuStackSwitcher *switcher)
priv->popover = gtk_popover_new (GTK_WIDGET (switcher));
gtk_popover_set_position (GTK_POPOVER (priv->popover), GTK_POS_BOTTOM);
context = gtk_widget_get_style_context (priv->popover);
- gtk_style_context_add_class (context, "gedit-stack-switcher");
+ gtk_style_context_add_class (context, "gedit-menu-stack-switcher");
priv->button_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
diff --git a/gedit/gedit-style.css b/gedit/gedit-style.css
index 5d0770a..6dafc6f 100644
--- a/gedit/gedit-style.css
+++ b/gedit/gedit-style.css
@@ -14,8 +14,8 @@
border-width: 0 1px 1px 0;
}
-.gedit-sidepanel-paned.pane-separator:dir(ltr),
-.gedit-sidepanel-paned.pane-separator:hover:dir(ltr) {
+.gedit-side-panel-paned.pane-separator:dir(ltr),
+.gedit-side-panel-paned.pane-separator:hover:dir(ltr) {
border-radius: 0;
border-width: 0 1px 0 0;
}
@@ -26,12 +26,12 @@
border-width: 0 0 1px 1px;
}
-.gedit-sidepanel-paned.pane-separator:dir(rtl),
-.gedit-sidepanel-paned.pane-separator:hover:dir(rtl) {
+.gedit-side-panel-paned.pane-separator:dir(rtl),
+.gedit-side-panel-paned.pane-separator:hover:dir(rtl) {
border-radius: 0;
border-width: 0 0 0 1px;
}
-.gedit-stack-switcher {
+.gedit-menu-stack-switcher {
padding: 12px;
}
diff --git a/gedit/gedit-window.ui b/gedit/gedit-window.ui
index 6661443..fa751cb 100644
--- a/gedit/gedit-window.ui
+++ b/gedit/gedit-window.ui
@@ -148,7 +148,7 @@
<property name="has_focus">False</property>
<property name="is_focus">False</property>
<style>
- <class name="gedit-sidepanel-paned"/>
+ <class name="gedit-side-panel-paned"/>
</style>
<child>
<object class="GtkStack" id="side_panel">
@@ -170,6 +170,9 @@
<property name="has_focus">False</property>
<property name="is_focus">False</property>
<property name="orientation">vertical</property>
+ <style>
+ <class name="gedit-bottom-panel-paned"/>
+ </style>
<child>
<object class="GeditMultiNotebook" id="multi_notebook">
<property name="visible">True</property>
@@ -183,6 +186,9 @@
<object class="GtkBox" id="bottom_panel_box">
<property name="visible">False</property>
<property name="orientation">horizontal</property>
+ <style>
+ <class name="gedit-bottom-panel"/>
+ </style>
<child>
<object class="GtkBox" id="bottom_panel_stack_box">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]