brasero/gtk-build.patch

71 lines
2.5 KiB
Diff
Raw Normal View History

2010-09-22 14:24:33 +00:00
--- brasero-2.31.92/libbrasero-utils/brasero-jacket-buffer.c 2010-09-13 18:27:15.000000000 -0400
+++ hacked/libbrasero-utils/brasero-jacket-buffer.c 2010-09-22 09:31:27.139998002 -0400
@@ -76,16 +76,12 @@
guint left_margin_accumulative = 0;
guint right_margin_accumulative = 0;
- g_return_if_fail (!dest->realized);
-
for (; tags; tags = tags->next) {
GtkTextTag *tag;
gboolean accumulative_margin;
gboolean background_set;
gboolean fg_color_set;
gboolean pg_bg_color_set;
- gboolean bg_stipple_set;
- gboolean fg_stipple_set;
gboolean scale_set;
gboolean left_margin_set;
gboolean justification_set;
@@ -113,8 +109,6 @@
"background-set", &background_set,
"foreground-set", &fg_color_set,
"paragraph-background-set", &pg_bg_color_set,
- "background-stipple-set", &bg_stipple_set,
- "foreground-stipple-set", &fg_stipple_set,
"scale-set", &scale_set,
"left-margin-set", &left_margin_set,
"justification-set", &justification_set,
@@ -161,20 +155,6 @@
g_object_get (tag, "paragraph-background-gdk", &dest->pg_bg_color, NULL);
}
- if (bg_stipple_set) {
- if (dest->appearance.bg_stipple)
- g_object_unref (dest->appearance.bg_stipple);
- g_object_get (tag, "background-stipple", &dest->appearance.bg_stipple, NULL);
-
- dest->appearance.draw_bg = TRUE;
- }
-
- if (fg_stipple_set) {
- if (dest->appearance.fg_stipple)
- g_object_unref (dest->appearance.fg_stipple);
- g_object_get (tag, "foreground-stipple", &dest->appearance.fg_stipple, NULL);
- }
-
if (font_desc) {
if (dest->font) {
pango_font_description_merge (dest->font, font_desc, TRUE);
@@ -187,7 +167,7 @@
/* multiply all the scales together to get a composite */
if (scale_set) {
gdouble font_scale;
- g_object_get (tag, "foreground-stipple", &font_scale, NULL);
+ g_object_get (tag, "font-scale", &font_scale, NULL);
dest->font_scale *= font_scale;
}
--- brasero-2.31.92/libbrasero-utils/brasero-jacket-edit.c 2010-09-13 18:27:15.000000000 -0400
+++ hacked/libbrasero-utils/brasero-jacket-edit.c 2010-09-22 09:33:13.807998006 -0400
@@ -837,8 +837,7 @@
window = gtk_dialog_new_with_buttons (_("Cover Editor"),
GTK_WINDOW (toplevel),
GTK_DIALOG_MODAL|
- GTK_DIALOG_DESTROY_WITH_PARENT|
- GTK_DIALOG_NO_SEPARATOR,
+ GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);