aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/ChangeLog6
-rw-r--r--widgets/menus/gal-define-views-dialog.c16
-rw-r--r--widgets/menus/gal-view-new-dialog.c10
3 files changed, 19 insertions, 13 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 57ed111d10..6147dc1d09 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,9 @@
+2008-06-03 Kjartan Maraas <kmaraas@gnome.org>
+
+ * menus/gal-define-views-dialog.c: (gal_define_views_dialog_init):
+ * menus/gal-view-new-dialog.c: (gal_view_new_dialog_init):
+ gtk_window_set_policy -> gtk_window_set_resizable.
+
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #534360
diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c
index 08db6c9402..cbd6d23e06 100644
--- a/widgets/menus/gal-define-views-dialog.c
+++ b/widgets/menus/gal-define-views-dialog.c
@@ -255,7 +255,7 @@ gal_define_views_dialog_init (GalDefineViewsDialog *dialog)
g_free (filename);
dialog->gui = gui;
- widget = glade_xml_get_widget(gui, "table-top");
+ widget = glade_xml_get_widget (gui, "table-top");
if (!widget) {
return;
}
@@ -266,7 +266,7 @@ gal_define_views_dialog_init (GalDefineViewsDialog *dialog)
gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
gtk_container_set_border_width (GTK_CONTAINER (widget), 6);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), widget, TRUE, TRUE, 0);
- g_object_unref(widget);
+ g_object_unref (widget);
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
@@ -276,15 +276,15 @@ gal_define_views_dialog_init (GalDefineViewsDialog *dialog)
gtk_tree_view_set_reorderable (GTK_TREE_VIEW (dialog->treeview), FALSE);
gtk_tree_view_set_headers_visible (dialog->treeview, TRUE);
- gtk_window_set_policy (GTK_WINDOW (dialog), FALSE, TRUE, FALSE);
+ gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE);
- gdvd_connect_signal(dialog, "button-new", "clicked", G_CALLBACK(gdvd_button_new_callback));
- gdvd_connect_signal(dialog, "button-modify", "clicked", G_CALLBACK(gdvd_button_modify_callback));
- gdvd_connect_signal(dialog, "button-delete", "clicked", G_CALLBACK(gdvd_button_delete_callback));
+ gdvd_connect_signal (dialog, "button-new", "clicked", G_CALLBACK (gdvd_button_new_callback));
+ gdvd_connect_signal (dialog, "button-modify", "clicked", G_CALLBACK (gdvd_button_modify_callback));
+ gdvd_connect_signal (dialog, "button-delete", "clicked", G_CALLBACK (gdvd_button_delete_callback));
#if 0
- gdvd_connect_signal(dialog, "button-copy", "clicked", G_CALLBACK(gdvd_button_copy_callback));
+ gdvd_connect_signal (dialog, "button-copy", "clicked", G_CALLBACK (gdvd_button_copy_callback));
#endif
- gdvd_connect_signal(dialog, "treeview1", "cursor-changed", G_CALLBACK(gdvd_cursor_changed_callback));
+ gdvd_connect_signal (dialog, "treeview1", "cursor-changed", G_CALLBACK (gdvd_cursor_changed_callback));
g_signal_connect (dialog, "response", G_CALLBACK (dialog_response), NULL);
gtk_widget_show (GTK_WIDGET (dialog));
diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c
index b87d1064f9..5fab621174 100644
--- a/widgets/menus/gal-view-new-dialog.c
+++ b/widgets/menus/gal-view-new-dialog.c
@@ -88,21 +88,21 @@ gal_view_new_dialog_init (GalViewNewDialog *dialog)
g_free (filename);
dialog->gui = gui;
- widget = glade_xml_get_widget(gui, "table-top");
+ widget = glade_xml_get_widget (gui, "table-top");
if (!widget) {
return;
}
- g_object_ref(widget);
+ g_object_ref (widget);
gtk_container_remove (GTK_CONTAINER (widget->parent), widget);
- gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), widget, TRUE, TRUE, 0);
- g_object_unref(widget);
+ gtk_box_pack_start (GTK_BOX(GTK_DIALOG(dialog)->vbox), widget, TRUE, TRUE, 0);
+ g_object_unref (widget);
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OK, GTK_RESPONSE_OK,
NULL);
- gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, TRUE, FALSE);
+ gtk_window_set_resizable (GTK_WINDOW(dialog), TRUE);
gtk_window_set_modal (GTK_WINDOW(dialog), TRUE);
gtk_window_set_title (GTK_WINDOW(dialog), _("Define New View"));