brasero/gtk-build.patch

256 lines
12 KiB
Diff
Raw Normal View History

2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/libbrasero-burn/brasero-burn-dialog.c.gtk-build brasero-2.31.92/libbrasero-burn/brasero-burn-dialog.c
2010-09-22 16:47:04 +00:00
--- brasero-2.31.92/libbrasero-burn/brasero-burn-dialog.c.gtk-build 2010-09-13 17:43:12.000000000 -0400
+++ brasero-2.31.92/libbrasero-burn/brasero-burn-dialog.c 2010-09-22 12:37:50.779998000 -0400
2010-09-22 15:35:16 +00:00
@@ -2561,8 +2561,6 @@ brasero_burn_dialog_init (BraseroBurnDia
gtk_window_set_default_size (GTK_WINDOW (obj), 500, 0);
- gtk_dialog_set_has_separator (GTK_DIALOG (obj), FALSE);
-
priv->tray = brasero_tray_icon_new ();
g_signal_connect (priv->tray,
"cancel",
diff -up brasero-2.31.92/libbrasero-burn/brasero-burn-options.c.gtk-build brasero-2.31.92/libbrasero-burn/brasero-burn-options.c
2010-09-22 16:47:04 +00:00
--- brasero-2.31.92/libbrasero-burn/brasero-burn-options.c.gtk-build 2010-09-13 17:43:12.000000000 -0400
+++ brasero-2.31.92/libbrasero-burn/brasero-burn-options.c 2010-09-22 12:37:50.780998000 -0400
2010-09-22 15:35:16 +00:00
@@ -588,7 +588,6 @@ brasero_burn_options_valid_cb (BraseroSe
static void
brasero_burn_options_init (BraseroBurnOptions *object)
{
- gtk_dialog_set_has_separator (GTK_DIALOG (object), FALSE);
}
/**
diff -up brasero-2.31.92/libbrasero-burn/brasero-image-properties.c.gtk-build brasero-2.31.92/libbrasero-burn/brasero-image-properties.c
2010-09-22 16:47:04 +00:00
--- brasero-2.31.92/libbrasero-burn/brasero-image-properties.c.gtk-build 2010-09-13 17:42:52.000000000 -0400
+++ brasero-2.31.92/libbrasero-burn/brasero-image-properties.c 2010-09-22 12:37:51.170998001 -0400
2010-09-22 15:35:16 +00:00
@@ -474,8 +474,6 @@ brasero_image_properties_init (BraseroIm
priv = BRASERO_IMAGE_PROPERTIES_PRIVATE (object);
gtk_window_set_title (GTK_WINDOW (object), _("Location for Image File"));
- gtk_dialog_set_has_separator (GTK_DIALOG (object), FALSE);
-
box = gtk_dialog_get_content_area (GTK_DIALOG (object));
gtk_container_set_border_width (GTK_CONTAINER (box), 10);
2010-09-22 15:49:04 +00:00
diff -up brasero-2.31.92/libbrasero-burn/brasero-medium-properties.c.gtk-build brasero-2.31.92/libbrasero-burn/brasero-medium-properties.c
2010-09-22 16:47:04 +00:00
--- brasero-2.31.92/libbrasero-burn/brasero-medium-properties.c.gtk-build 2010-09-13 17:42:52.000000000 -0400
+++ brasero-2.31.92/libbrasero-burn/brasero-medium-properties.c 2010-09-22 12:37:51.355998000 -0400
2010-09-22 15:49:04 +00:00
@@ -97,7 +97,6 @@ brasero_medium_properties_drive_properti
dialog = gtk_dialog_new_with_buttons (header,
GTK_WINDOW (toplevel),
GTK_DIALOG_MODAL|
- GTK_DIALOG_NO_SEPARATOR|
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/libbrasero-burn/brasero-tool-dialog.c.gtk-build brasero-2.31.92/libbrasero-burn/brasero-tool-dialog.c
2010-09-22 16:47:04 +00:00
--- brasero-2.31.92/libbrasero-burn/brasero-tool-dialog.c.gtk-build 2010-09-13 17:42:52.000000000 -0400
+++ brasero-2.31.92/libbrasero-burn/brasero-tool-dialog.c 2010-09-22 12:37:51.543998000 -0400
2010-09-22 15:35:16 +00:00
@@ -529,8 +529,6 @@ brasero_tool_dialog_init (BraseroToolDia
priv = BRASERO_TOOL_DIALOG_PRIVATE (obj);
- gtk_dialog_set_has_separator (GTK_DIALOG (obj), FALSE);
-
/* upper part */
priv->upper_box = gtk_vbox_new (FALSE, 0);
gtk_widget_show (GTK_WIDGET (priv->upper_box));
diff -up brasero-2.31.92/libbrasero-utils/brasero-jacket-buffer.c.gtk-build brasero-2.31.92/libbrasero-utils/brasero-jacket-buffer.c
--- brasero-2.31.92/libbrasero-utils/brasero-jacket-buffer.c.gtk-build 2010-09-13 18:27:15.000000000 -0400
2010-09-22 16:47:04 +00:00
+++ brasero-2.31.92/libbrasero-utils/brasero-jacket-buffer.c 2010-09-22 12:37:51.747997998 -0400
2010-09-22 15:35:16 +00:00
@@ -76,16 +76,12 @@ _gtk_text_attributes_fill_from_tags (Gtk
2010-09-22 14:24:33 +00:00
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;
2010-09-22 15:35:16 +00:00
@@ -113,8 +109,6 @@ _gtk_text_attributes_fill_from_tags (Gtk
2010-09-22 14:24:33 +00:00
"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,
2010-09-22 15:35:16 +00:00
@@ -161,20 +155,6 @@ _gtk_text_attributes_fill_from_tags (Gtk
2010-09-22 14:24:33 +00:00
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);
2010-09-22 15:35:16 +00:00
@@ -187,7 +167,7 @@ _gtk_text_attributes_fill_from_tags (Gtk
2010-09-22 14:24:33 +00:00
/* 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;
}
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/libbrasero-utils/brasero-jacket-edit.c.gtk-build brasero-2.31.92/libbrasero-utils/brasero-jacket-edit.c
--- brasero-2.31.92/libbrasero-utils/brasero-jacket-edit.c.gtk-build 2010-09-13 18:27:15.000000000 -0400
2010-09-22 16:47:04 +00:00
+++ brasero-2.31.92/libbrasero-utils/brasero-jacket-edit.c 2010-09-22 12:37:52.265997999 -0400
2010-09-22 15:35:16 +00:00
@@ -837,8 +837,7 @@ brasero_jacket_edit_dialog_new (GtkWidge
2010-09-22 14:24:33 +00:00
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);
2010-09-22 16:47:04 +00:00
diff -up brasero-2.31.92/src/brasero-audio-disc.c.gtk-build brasero-2.31.92/src/brasero-audio-disc.c
--- brasero-2.31.92/src/brasero-audio-disc.c.gtk-build 2010-09-22 12:40:55.561998000 -0400
+++ brasero-2.31.92/src/brasero-audio-disc.c 2010-09-22 12:41:37.999998004 -0400
@@ -1974,10 +1974,10 @@ brasero_audio_disc_key_released_cb (GtkT
if (disc->priv->editing)
return FALSE;
- if (event->keyval == GDK_KP_Delete || event->keyval == GDK_Delete) {
+ if (event->keyval == GDK_KEY_KP_Delete || event->keyval == GDK_KEY_Delete) {
brasero_audio_disc_delete_selected (BRASERO_DISC (disc));
}
- else if (event->keyval == GDK_F2)
+ else if (event->keyval == GDK_KEY_F2)
brasero_audio_disc_rename_activated (disc);
return FALSE;
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/src/brasero-data-disc.c.gtk-build brasero-2.31.92/src/brasero-data-disc.c
2010-09-22 16:47:04 +00:00
--- brasero-2.31.92/src/brasero-data-disc.c.gtk-build 2010-09-22 12:42:33.543997999 -0400
+++ brasero-2.31.92/src/brasero-data-disc.c 2010-09-22 12:42:53.798997998 -0400
@@ -2242,9 +2242,9 @@ brasero_data_disc_key_released_cb (GtkTr
if (priv->editing)
return FALSE;
- if (event->keyval == GDK_KP_Delete || event->keyval == GDK_Delete)
+ if (event->keyval == GDK_KEY_KP_Delete || event->keyval == GDK_KEY_Delete)
brasero_data_disc_delete_selected (BRASERO_DISC (self));
- else if (event->keyval == GDK_F2)
+ else if (event->keyval == GDK_KEY_F2)
brasero_data_disc_rename_activated (self);
return FALSE;
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/src/brasero-eject-dialog.c.gtk-build brasero-2.31.92/src/brasero-eject-dialog.c
--- brasero-2.31.92/src/brasero-eject-dialog.c.gtk-build 2010-09-13 17:42:52.000000000 -0400
2010-09-22 16:47:04 +00:00
+++ brasero-2.31.92/src/brasero-eject-dialog.c 2010-09-22 12:37:52.699997999 -0400
2010-09-22 15:35:16 +00:00
@@ -156,7 +156,6 @@ brasero_eject_dialog_init (BraseroEjectD
2010-09-22 15:01:10 +00:00
priv = BRASERO_EJECT_DIALOG_PRIVATE (obj);
- gtk_dialog_set_has_separator (GTK_DIALOG (obj), FALSE);
box = gtk_dialog_get_content_area (GTK_DIALOG (obj));
priv->selector = brasero_drive_selection_new ();
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/src/brasero-multi-song-props.c.gtk-build brasero-2.31.92/src/brasero-multi-song-props.c
--- brasero-2.31.92/src/brasero-multi-song-props.c.gtk-build 2010-09-13 17:42:52.000000000 -0400
2010-09-22 16:47:04 +00:00
+++ brasero-2.31.92/src/brasero-multi-song-props.c 2010-09-22 12:37:52.885998000 -0400
2010-09-22 15:35:16 +00:00
@@ -201,7 +201,6 @@ brasero_multi_song_props_init (BraseroMu
2010-09-22 15:01:10 +00:00
priv = BRASERO_MULTI_SONG_PROPS_PRIVATE (object);
- gtk_dialog_set_has_separator (GTK_DIALOG (object), FALSE);
content_area = gtk_dialog_get_content_area (GTK_DIALOG (object));
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (object))), 0);
gtk_window_set_default_size (GTK_WINDOW (object), 400, 200);
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/src/brasero-plugin-option.c.gtk-build brasero-2.31.92/src/brasero-plugin-option.c
--- brasero-2.31.92/src/brasero-plugin-option.c.gtk-build 2010-09-13 17:43:12.000000000 -0400
2010-09-22 16:47:04 +00:00
+++ brasero-2.31.92/src/brasero-plugin-option.c 2010-09-22 12:37:53.082997999 -0400
2010-09-22 15:35:16 +00:00
@@ -296,7 +296,6 @@ brasero_plugin_option_init (BraseroPlugi
2010-09-22 15:01:10 +00:00
FALSE,
0);
- gtk_dialog_set_has_separator (GTK_DIALOG (object), FALSE);
gtk_dialog_add_button (GTK_DIALOG (object),
GTK_STOCK_CLOSE, GTK_RESPONSE_OK);
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/src/brasero-pref.c.gtk-build brasero-2.31.92/src/brasero-pref.c
--- brasero-2.31.92/src/brasero-pref.c.gtk-build 2010-09-13 17:42:52.000000000 -0400
2010-09-22 16:47:04 +00:00
+++ brasero-2.31.92/src/brasero-pref.c 2010-09-22 12:37:53.288997999 -0400
2010-09-22 15:35:16 +00:00
@@ -59,7 +59,6 @@ brasero_pref_init (BraseroPref *object)
2010-09-22 15:01:10 +00:00
priv = BRASERO_PREF_PRIVATE (object);
gtk_dialog_add_button (GTK_DIALOG (object), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
- gtk_dialog_set_has_separator (GTK_DIALOG (object), FALSE);
gtk_window_set_default_size (GTK_WINDOW (object), 600, 400);
gtk_window_set_title (GTK_WINDOW (object), _("Brasero Plugins"));
2010-09-22 16:47:04 +00:00
diff -up brasero-2.31.92/src/brasero-project.c.gtk-build brasero-2.31.92/src/brasero-project.c
--- brasero-2.31.92/src/brasero-project.c.gtk-build 2010-09-22 12:41:52.806998000 -0400
+++ brasero-2.31.92/src/brasero-project.c 2010-09-22 12:42:03.539998000 -0400
@@ -1496,7 +1496,6 @@ brasero_project_drive_properties (Braser
dialog = gtk_dialog_new_with_buttons (header,
NULL,
GTK_DIALOG_MODAL|
- GTK_DIALOG_NO_SEPARATOR|
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
NULL);
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/src/brasero-song-properties.c.gtk-build brasero-2.31.92/src/brasero-song-properties.c
--- brasero-2.31.92/src/brasero-song-properties.c.gtk-build 2010-09-13 17:42:52.000000000 -0400
2010-09-22 16:47:04 +00:00
+++ brasero-2.31.92/src/brasero-song-properties.c 2010-09-22 12:37:53.539997999 -0400
2010-09-22 15:35:16 +00:00
@@ -153,7 +153,6 @@ brasero_song_props_init (BraseroSongProp
2010-09-22 15:01:10 +00:00
GtkWidget *content_area;
obj->priv = g_new0 (BraseroSongPropsPrivate, 1);
- gtk_dialog_set_has_separator (GTK_DIALOG (obj), FALSE);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (obj))), 0);
gtk_window_set_default_size (GTK_WINDOW (obj), 400, 300);
2010-09-22 15:35:16 +00:00
diff -up brasero-2.31.92/src/brasero-split-dialog.c.gtk-build brasero-2.31.92/src/brasero-split-dialog.c
--- brasero-2.31.92/src/brasero-split-dialog.c.gtk-build 2010-09-13 17:43:12.000000000 -0400
2010-09-22 16:47:04 +00:00
+++ brasero-2.31.92/src/brasero-split-dialog.c 2010-09-22 12:37:57.709998000 -0400
2010-09-22 15:35:16 +00:00
@@ -1053,8 +1053,6 @@ brasero_split_dialog_init (BraseroSplitD
2010-09-22 15:01:10 +00:00
gtk_window_set_title (GTK_WINDOW (object), _("Split Track"));
gtk_window_set_default_size (GTK_WINDOW (object), 500, 600);
- gtk_dialog_set_has_separator (GTK_DIALOG (object), FALSE);
-
gtk_dialog_add_button (GTK_DIALOG (object), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
gtk_dialog_add_button (GTK_DIALOG (object), GTK_STOCK_OK, GTK_RESPONSE_OK);
2010-09-22 16:47:04 +00:00
diff -up brasero-2.31.92/src/brasero-video-disc.c.gtk-build brasero-2.31.92/src/brasero-video-disc.c
--- brasero-2.31.92/src/brasero-video-disc.c.gtk-build 2010-09-22 12:43:33.559997999 -0400
+++ brasero-2.31.92/src/brasero-video-disc.c 2010-09-22 12:45:30.446997998 -0400
@@ -1143,10 +1143,10 @@ brasero_video_disc_key_released_cb (GtkT
if (priv->editing)
return FALSE;
- if (event->keyval == GDK_KP_Delete || event->keyval == GDK_Delete) {
+ if (event->keyval == GDK_KEY_KP_Delete || event->keyval == GDK_KEY_Delete) {
brasero_video_disc_delete_selected (BRASERO_DISC (self));
}
- else if (event->keyval == GDK_F2)
+ else if (event->keyval == GDK_KEY_F2)
brasero_video_disc_rename_activated (self);
return FALSE;