[gnumeric] Cleanup.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Cleanup.
- Date: Wed, 27 Mar 2013 02:06:37 +0000 (UTC)
commit e24091dc1c50fe87c21089ec5fd9411922a92155
Author: Morten Welinder <terra gnome org>
Date: Tue Mar 26 22:06:25 2013 -0400
Cleanup.
src/gnumeric.css | 5 +++--
src/sheet-control-gui.c | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/gnumeric.css b/src/gnumeric.css
index b08aef5..0a49f71 100644
--- a/src/gnumeric.css
+++ b/src/gnumeric.css
@@ -4,6 +4,7 @@
GnmItemGrid, GnmPreviewGrid {
/* The background must be solid and rectangular since we cheat and print
only parts of it. */
+ background-image: none;
background-color: white;
padding: 0;
border-style: none;
@@ -35,7 +36,7 @@ GnmItemCursor.normal {
}
/* The anted cursor. We clearly should be using an animation, but neither
- we not gtk are ready for that. */
+ we nor gtk are ready for that. */
GnmItemCursor.ant {
color: #333333;
background-color: #c7c7c7;
@@ -98,7 +99,7 @@ GnmItemBar:hover {
/* ------------------------------------------------------------------------- */
/* This GtkDrawingArea is the select-all button above the row buttons. */
-GtkDrawingArea#all-button {
+GtkDrawingArea.button.all {
}
/* ------------------------------------------------------------------------- */
diff --git a/src/sheet-control-gui.c b/src/sheet-control-gui.c
index 5880918..b644638 100644
--- a/src/sheet-control-gui.c
+++ b/src/sheet-control-gui.c
@@ -1572,7 +1572,8 @@ sheet_control_gui_new (SheetView *sv, WBCGtk *wbcg)
scg->select_all_btn = gtk_drawing_area_new ();
gtk_style_context_add_class (gtk_widget_get_style_context (scg->select_all_btn),
GTK_STYLE_CLASS_BUTTON);
- gtk_widget_set_name (scg->select_all_btn, "all-button");
+ gtk_style_context_add_class (gtk_widget_get_style_context (scg->select_all_btn),
+ "all");
gtk_widget_add_events (scg->select_all_btn, GDK_BUTTON_PRESS_MASK);
g_signal_connect (G_OBJECT (scg->select_all_btn), "draw",
G_CALLBACK (cb_select_all_btn_draw), scg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]