[latexila] Rename to GNOME LaTeX: adwaita.css



commit 79e82a7081c113c6990adecfc437b3eb2e37206e
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Dec 27 07:45:41 2017 +0100

    Rename to GNOME LaTeX: adwaita.css

 src/latexila.gresource.xml     |    2 +-
 src/latexila_app.vala          |    2 +-
 src/main_window.vala           |    2 +-
 src/ui/Makefile.am             |    2 +-
 src/ui/gnome-latex.adwaita.css |    3 +++
 src/ui/latexila.adwaita.css    |    3 ---
 6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/latexila.gresource.xml b/src/latexila.gresource.xml
index cdad80d..cf51ec8 100644
--- a/src/latexila.gresource.xml
+++ b/src/latexila.gresource.xml
@@ -2,7 +2,7 @@
 
 <gresources>
   <gresource prefix="/org/gnome/gnome-latex">
-    <file>ui/latexila.adwaita.css</file>
+    <file>ui/gnome-latex.adwaita.css</file>
   </gresource>
 
   <gresource prefix="/org/gnome/gnome-latex/gtk">
diff --git a/src/latexila_app.vala b/src/latexila_app.vala
index 0435882..0794d3b 100644
--- a/src/latexila_app.vala
+++ b/src/latexila_app.vala
@@ -284,7 +284,7 @@ public class LatexilaApp : Gtk.Application
             if (_provider == null)
             {
                 _provider = new Gtk.CssProvider ();
-                File file = File.new_for_uri ("resource:///org/gnome/gnome-latex/ui/latexila.adwaita.css");
+                File file = File.new_for_uri 
("resource:///org/gnome/gnome-latex/ui/gnome-latex.adwaita.css");
                 try
                 {
                     _provider.load_from_file (file);
diff --git a/src/main_window.vala b/src/main_window.vala
index f5a78b3..a9aad57 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -421,7 +421,7 @@ public class MainWindow : ApplicationWindow
         edit_toolbar.set_style (ToolbarStyle.ICONS);
 
         StyleContext context = edit_toolbar.get_style_context ();
-        context.add_class ("latexila-edit-toolbar");
+        context.add_class ("gnome-latex-edit-toolbar");
 
         edit_toolbar.show_all ();
 
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index 90753da..68b4ef4 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -5,7 +5,7 @@ dist_ui_DATA =                  \
        ui.xml
 
 EXTRA_DIST =                   \
-       latexila.adwaita.css    \
+       gnome-latex.adwaita.css \
        menus.ui
 
 -include $(top_srcdir)/git.mk
diff --git a/src/ui/gnome-latex.adwaita.css b/src/ui/gnome-latex.adwaita.css
new file mode 100644
index 0000000..5ef9471
--- /dev/null
+++ b/src/ui/gnome-latex.adwaita.css
@@ -0,0 +1,3 @@
+.primary-toolbar button, .gnome-latex-edit-toolbar button {
+    padding: 2px;
+}


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