Commit be6b3e66 authored by Scott Reeves's avatar Scott Reeves

Fix background color, bold section headings

parent ecca8fbe
2006-12-07 Scott Reeves <sreeves@novell.com>
* libslab/app-shell.c
* libslab/shell-window.c
* libslab/slab-section.c:
Part of a patch from Thomas Wood <thos@gnome.org> to fix background color
and bold section headings for a better default GNOME look.
Still working on the layout part of the patch with design team...
2006-12-04 Rodrigo Moya <rodrigo@novell.com>
* libslab/Makefile.am:
......
......@@ -665,7 +665,7 @@ create_application_category_sections (AppShellData * app_data)
G_CALLBACK (handle_group_clicked), app_data);
gchar *markup =
g_markup_printf_escaped ("<span size=\"x-large\">%s</span>",
g_markup_printf_escaped ("<span size=\"x-large\" weight=\"bold\">%s</span>",
data->category);
data->section = SLAB_SECTION (slab_section_new_with_markup (markup, Style2));
......
......@@ -181,7 +181,7 @@ shell_window_paint_window (GtkWidget * widget, GdkEventExpose * event, gpointer
right_pane = SHELL_WINDOW (widget)->_right_pane;
/* draw left pane background */
gdk_draw_rectangle (widget->window, widget->style->bg_gc[GTK_STATE_ACTIVE], TRUE,
gtk_paint_flat_box (widget->style, widget->window, widget->state, GTK_SHADOW_NONE, NULL, widget, "",
left_pane->allocation.x, left_pane->allocation.y, left_pane->allocation.width,
left_pane->allocation.height);
......
......@@ -169,7 +169,7 @@ slab_section_new (const gchar * title, SlabStyle style)
GtkWidget *section;
gchar *markup;
markup = g_strdup_printf ("<span size=\"large\">%s</span>", title);
markup = g_strdup_printf ("<span size=\"large\" weight=\"bold\">%s</span>", title);
section = slab_section_new_with_markup (markup, style);
g_free (markup);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment