aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2008-06-04 02:37:17 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2008-06-04 02:37:17 +0800
commit73ec31f853db571ab5e24901c34c795426a62b39 (patch)
tree2f41352f159d9e716276fb55847d8dbf225bb4c9 /widgets/menus
parentb98a472f23c3a570927ecee0264f9c924f2e9634 (diff)
downloadgsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.tar
gsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.tar.gz
gsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.tar.bz2
gsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.tar.lz
gsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.tar.xz
gsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.tar.zst
gsoc2013-evolution-73ec31f853db571ab5e24901c34c795426a62b39.zip
gtk_window_set_policy -> gtk_window_set_resizable.
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. svn path=/trunk/; revision=35586
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-define-views-dialog.c16
-rw-r--r--widgets/menus/gal-view-new-dialog.c10
2 files changed, 13 insertions, 13 deletions
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"));