aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/addressbook/autocompletion-config.c6
-rw-r--r--modules/audio-inline/e-mail-formatter-audio-inline.c2
-rw-r--r--modules/book-config-ldap/evolution-book-config-ldap.c24
-rw-r--r--modules/cal-config-caldav/e-caldav-chooser-dialog.c4
-rw-r--r--modules/cal-config-google/e-google-chooser-dialog.c4
-rw-r--r--modules/calendar/e-cal-shell-content.c6
-rw-r--r--modules/calendar/e-cal-shell-sidebar.c2
-rw-r--r--modules/calendar/e-cal-shell-view-actions.c2
-rw-r--r--modules/itip-formatter/plugin/config-ui.c14
-rw-r--r--modules/mailto-handler/evolution-mailto-handler.c4
-rw-r--r--modules/plugin-manager/evolution-plugin-manager.c10
-rw-r--r--modules/startup-wizard/e-mail-config-import-progress-page.c6
12 files changed, 42 insertions, 42 deletions
diff --git a/modules/addressbook/autocompletion-config.c b/modules/addressbook/autocompletion-config.c
index d39ea53382..49aca305df 100644
--- a/modules/addressbook/autocompletion-config.c
+++ b/modules/addressbook/autocompletion-config.c
@@ -34,7 +34,7 @@ add_section (GtkWidget *container,
GtkWidget *widget;
gchar *markup;
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (container), widget, expand, expand, 0);
gtk_widget_show (widget);
@@ -55,7 +55,7 @@ add_section (GtkWidget *container,
container = widget;
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_widget_show (widget);
@@ -80,7 +80,7 @@ autocompletion_config_new (EPreferencesWindow *window)
registry = e_shell_get_registry (shell);
shell_settings = e_shell_get_shell_settings (shell);
- vbox = gtk_vbox_new (FALSE, 12);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_widget_show (vbox);
itembox = add_section (vbox, _("Date/Time Format"), FALSE);
diff --git a/modules/audio-inline/e-mail-formatter-audio-inline.c b/modules/audio-inline/e-mail-formatter-audio-inline.c
index 86cd6f132f..7abcf934fa 100644
--- a/modules/audio-inline/e-mail-formatter-audio-inline.c
+++ b/modules/audio-inline/e-mail-formatter-audio-inline.c
@@ -287,7 +287,7 @@ emfe_audio_inline_get_widget (EMailFormatterExtension *extension,
ai_part = (EMailPartAudioInline *) part;
/* it is OK to call UI functions here, since we are called from UI thread */
- box = gtk_hbutton_box_new ();
+ box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
ai_part->play_button = g_object_ref (
add_button (box, GTK_STOCK_MEDIA_PLAY,
G_CALLBACK (play_clicked), part, TRUE));
diff --git a/modules/book-config-ldap/evolution-book-config-ldap.c b/modules/book-config-ldap/evolution-book-config-ldap.c
index 56fc0f24f6..9506a97aae 100644
--- a/modules/book-config-ldap/evolution-book-config-ldap.c
+++ b/modules/book-config-ldap/evolution-book-config-ldap.c
@@ -500,7 +500,7 @@ book_config_ldap_insert_notebook_widget (GtkWidget *vbox,
/* This is similar to e_source_config_insert_widget(),
* but instead adds the widget to the LDAP notebook. */
- hbox = gtk_hbox_new (FALSE, 12);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, TRUE, 0);
gtk_widget_show (hbox);
@@ -568,7 +568,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
/* Page 1 */
tab_label = _("Connecting to LDAP");
- page = gtk_vbox_new (FALSE, 12);
+ page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (page), 12);
gtk_notebook_append_page (notebook, page, NULL);
gtk_notebook_set_tab_label_text (notebook, page, tab_label);
@@ -578,7 +578,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
/* Page 1 : Server Information */
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (page), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
@@ -597,7 +597,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
container = widget;
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_widget_show (widget);
@@ -645,7 +645,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
/* Page 1 : Authentication */
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (page), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
@@ -664,7 +664,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
container = widget;
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_widget_show (widget);
@@ -703,7 +703,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
/* Page 2 */
tab_label = _("Using LDAP");
- page = gtk_vbox_new (FALSE, 12);
+ page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (page), 12);
gtk_notebook_append_page (notebook, page, NULL);
gtk_notebook_set_tab_label_text (notebook, page, tab_label);
@@ -713,7 +713,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
/* Page 2 : Searching */
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (page), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
@@ -732,7 +732,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
container = widget;
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_widget_show (widget);
@@ -795,7 +795,7 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
/* Page 2 : Downloading */
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (page), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
@@ -814,13 +814,13 @@ book_config_ldap_insert_widgets (ESourceConfigBackend *backend,
container = widget;
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_widget_show (widget);
container = widget;
- widget = gtk_hbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
book_config_ldap_insert_notebook_widget (
container, size_group, _("Limit:"), widget);
gtk_widget_show (widget);
diff --git a/modules/cal-config-caldav/e-caldav-chooser-dialog.c b/modules/cal-config-caldav/e-caldav-chooser-dialog.c
index 7cdfe0ad81..1289c9b22f 100644
--- a/modules/cal-config-caldav/e-caldav-chooser-dialog.c
+++ b/modules/cal-config-caldav/e-caldav-chooser-dialog.c
@@ -293,7 +293,7 @@ caldav_chooser_dialog_constructed (GObject *object)
container = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_set_border_width (GTK_CONTAINER (widget), 5);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
gtk_widget_show (widget);
@@ -332,7 +332,7 @@ caldav_chooser_dialog_constructed (GObject *object)
container = gtk_info_bar_get_content_area (GTK_INFO_BAR (widget));
- widget = gtk_hbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
gtk_widget_show (widget);
diff --git a/modules/cal-config-google/e-google-chooser-dialog.c b/modules/cal-config-google/e-google-chooser-dialog.c
index f3371871d0..9776f6d60c 100644
--- a/modules/cal-config-google/e-google-chooser-dialog.c
+++ b/modules/cal-config-google/e-google-chooser-dialog.c
@@ -204,7 +204,7 @@ google_chooser_dialog_constructed (GObject *object)
container = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_set_border_width (GTK_CONTAINER (widget), 5);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
gtk_widget_show (widget);
@@ -243,7 +243,7 @@ google_chooser_dialog_constructed (GObject *object)
container = gtk_info_bar_get_content_area (GTK_INFO_BAR (widget));
- widget = gtk_hbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
gtk_widget_show (widget);
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c
index 66ea4a460e..638fa3c72f 100644
--- a/modules/calendar/e-cal-shell-content.c
+++ b/modules/calendar/e-cal-shell-content.c
@@ -419,13 +419,13 @@ cal_shell_content_constructed (GObject *object)
container = priv->vpaned;
if (!e_shell_get_express_mode (shell)) {
- widget = gtk_vbox_new (FALSE, 0);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, TRUE);
gtk_widget_show (widget);
container = widget;
- widget = gtk_hseparator_new ();
+ widget = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
gtk_box_pack_start (GTK_BOX (container), widget, FALSE, TRUE, 0);
gtk_widget_show (widget);
@@ -462,7 +462,7 @@ cal_shell_content_constructed (GObject *object)
container = priv->vpaned;
- widget = gtk_vbox_new (FALSE, 0);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_paned_pack2 (GTK_PANED (container), widget, TRUE, TRUE);
gtk_widget_show (widget);
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 7555950cd1..3a870257e7 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -709,7 +709,7 @@ cal_shell_sidebar_constructed (GObject *object)
container = widget;
- widget = gtk_vbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_paned_pack1 (GTK_PANED (container), widget, TRUE, TRUE);
gtk_widget_show (widget);
diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c
index f3523c9d8b..8c66a68ed7 100644
--- a/modules/calendar/e-cal-shell-view-actions.c
+++ b/modules/calendar/e-cal-shell-view-actions.c
@@ -328,7 +328,7 @@ action_calendar_purge_cb (GtkAction *action,
container = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- widget = gtk_hbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, FALSE, 6);
gtk_widget_show (widget);
diff --git a/modules/itip-formatter/plugin/config-ui.c b/modules/itip-formatter/plugin/config-ui.c
index 9ba6f05b0e..36a09ff141 100644
--- a/modules/itip-formatter/plugin/config-ui.c
+++ b/modules/itip-formatter/plugin/config-ui.c
@@ -77,13 +77,13 @@ itip_formatter_page_factory (EPlugin *ep,
registry = e_shell_get_registry (shell);
/* Create a new notebook page */
- page = gtk_vbox_new (FALSE, 0);
+ page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_set_border_width (GTK_CONTAINER (page), 12);
tab_label = gtk_label_new (_("Meeting Invitations"));
gtk_notebook_append_page (GTK_NOTEBOOK (hook_data->parent), page, tab_label);
/* Frame */
- frame = gtk_vbox_new (FALSE, 6);
+ frame = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (page), frame, FALSE, FALSE, 0);
/* "General" */
@@ -95,11 +95,11 @@ itip_formatter_page_factory (EPlugin *ep,
gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0);
/* Indent/padding */
- hbox = gtk_hbox_new (FALSE, 12);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (frame), hbox, FALSE, TRUE, 0);
padding_label = gtk_label_new ("");
gtk_box_pack_start (GTK_BOX (hbox), padding_label, FALSE, FALSE, 0);
- inner_vbox = gtk_vbox_new (FALSE, 6);
+ inner_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (hbox), inner_vbox, FALSE, FALSE, 0);
/* Delete message after acting */
@@ -115,7 +115,7 @@ itip_formatter_page_factory (EPlugin *ep,
g_object_unref (settings);
/* "Conflict searching" */
- frame = gtk_vbox_new (FALSE, 6);
+ frame = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (page), frame, TRUE, TRUE, 24);
frame_label = gtk_label_new ("");
@@ -126,11 +126,11 @@ itip_formatter_page_factory (EPlugin *ep,
gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0);
/* Indent/padding */
- hbox = gtk_hbox_new (FALSE, 12);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_box_pack_start (GTK_BOX (frame), hbox, TRUE, TRUE, 0);
padding_label = gtk_label_new ("");
gtk_box_pack_start (GTK_BOX (hbox), padding_label, FALSE, FALSE, 0);
- inner_vbox = gtk_vbox_new (FALSE, 6);
+ inner_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_box_pack_start (GTK_BOX (hbox), inner_vbox, TRUE, TRUE, 0);
/* Source selector */
diff --git a/modules/mailto-handler/evolution-mailto-handler.c b/modules/mailto-handler/evolution-mailto-handler.c
index d31d27e45e..b141c35560 100644
--- a/modules/mailto-handler/evolution-mailto-handler.c
+++ b/modules/mailto-handler/evolution-mailto-handler.c
@@ -125,7 +125,7 @@ mailto_handler_prompt (EMailtoHandler *extension)
container = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
- widget = gtk_hbox_new (FALSE, 12);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (widget), 5);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
gtk_widget_show (widget);
@@ -137,7 +137,7 @@ mailto_handler_prompt (EMailtoHandler *extension)
gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
gtk_widget_show (widget);
- widget = gtk_vbox_new (FALSE, 12);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
gtk_widget_show (widget);
diff --git a/modules/plugin-manager/evolution-plugin-manager.c b/modules/plugin-manager/evolution-plugin-manager.c
index 759b3fdd86..6c24ee6981 100644
--- a/modules/plugin-manager/evolution-plugin-manager.c
+++ b/modules/plugin-manager/evolution-plugin-manager.c
@@ -261,7 +261,7 @@ action_plugin_manager_cb (GtkAction *action,
gtk_window_set_default_size (GTK_WINDOW (dialog), 640, 400);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
- hbox = gtk_hbox_new (FALSE, 12);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 6);
gtk_box_pack_start (GTK_BOX (content_area), hbox, TRUE, TRUE, 0);
@@ -288,8 +288,8 @@ action_plugin_manager_cb (GtkAction *action,
notebook, "switch-page",
G_CALLBACK (eppm_switch_page_cb), NULL);
- overview_page = gtk_vbox_new (FALSE, 0);
- configure_page = gtk_vbox_new (FALSE, 0);
+ overview_page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ configure_page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
g_object_ref_sink (configure_page);
gtk_container_set_border_width (GTK_CONTAINER (overview_page), 12);
gtk_container_set_border_width (GTK_CONTAINER (configure_page), 12);
@@ -389,7 +389,7 @@ action_plugin_manager_cb (GtkAction *action,
gtk_box_pack_start (GTK_BOX (hbox), notebook, TRUE, TRUE, 0);
/* this is plugin's name label */
- subvbox = gtk_vbox_new (FALSE, 6);
+ subvbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
m->items[0] = g_object_new (
GTK_TYPE_LABEL,
"wrap", TRUE,
@@ -406,7 +406,7 @@ action_plugin_manager_cb (GtkAction *action,
for (i = 1; i < LABEL_LAST; i++) {
gchar *markup;
- subvbox = gtk_vbox_new (FALSE, 6);
+ subvbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
markup = g_markup_printf_escaped (
"<span weight=\"bold\">%s:</span>",
diff --git a/modules/startup-wizard/e-mail-config-import-progress-page.c b/modules/startup-wizard/e-mail-config-import-progress-page.c
index 12a1a7b04e..9ed9e46478 100644
--- a/modules/startup-wizard/e-mail-config-import-progress-page.c
+++ b/modules/startup-wizard/e-mail-config-import-progress-page.c
@@ -213,7 +213,7 @@ mail_config_import_progress_page_constructed (GObject *object)
NULL,
NULL, (GDestroyNotify) NULL);
- widget = gtk_vbox_new (FALSE, 12);
+ widget = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_size_group_add_widget (size_group, widget);
gtk_box_pack_start (GTK_BOX (page), widget, TRUE, TRUE, 0);
gtk_widget_show (widget);
@@ -247,7 +247,7 @@ mail_config_import_progress_page_constructed (GObject *object)
container = page->priv->cancelled_msg;
- widget = gtk_hbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_widget_show (widget);
@@ -264,7 +264,7 @@ mail_config_import_progress_page_constructed (GObject *object)
container = page->priv->completed_msg;
- widget = gtk_hbox_new (FALSE, 6);
+ widget = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_container_add (GTK_CONTAINER (container), widget);
gtk_widget_show (widget);