Commit 62b59db9 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

app/display/gimpdisplayshell-scale.c app/gui/info-window.c

2004-06-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c
	* app/gui/info-window.c
	* app/gui/preferences-dialog.c
	* app/gui/resize-dialog.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpthresholdtool.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimpfiledialog.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimphistogrambox.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpstrokeeditor.c: tweaked some spacings for
	consistency and better HIG compliance.
parent 6d91f4c9
2004-06-02 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-scale.c
* app/gui/info-window.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.c
* app/tools/gimpcolorbalancetool.c
* app/tools/gimpcurvestool.c
* app/tools/gimphuesaturationtool.c
* app/tools/gimplevelstool.c
* app/tools/gimpthresholdtool.c
* app/widgets/gimpdockable.c
* app/widgets/gimpfiledialog.c
* app/widgets/gimpgradienteditor.c
* app/widgets/gimphistogrambox.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimpstrokeeditor.c: tweaked some spacings for
consistency and better HIG compliance.
2004-06-02 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/gradient_edit.pdb: set_blending_function() and
......
......@@ -186,7 +186,7 @@ info_window_create_extended (InfoDialog *info_win,
/* color information */
hbox = gtk_hbox_new (TRUE, 4);
hbox = gtk_hbox_new (TRUE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -818,7 +818,7 @@ prefs_display_options_frame_add (Gimp *gimp,
vbox = prefs_frame_new (label, parent, FALSE);
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......@@ -1247,7 +1247,7 @@ prefs_dialog_new (Gimp *gimp,
gimp);
}
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -699,7 +699,7 @@ resize_dialog_new (GimpViewable *viewable,
GtkWidget *hbox;
GtkWidget *combo;
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -529,16 +529,16 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
data);
table = gtk_table_new (2, 2, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (table), 6);
gtk_table_set_col_spacings (GTK_TABLE (table), 2);
gtk_table_set_row_spacings (GTK_TABLE (table), 4);
gtk_container_set_border_width (GTK_CONTAINER (table), 12);
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
gtk_table_set_row_spacings (GTK_TABLE (table), 6);
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (shell->scale_dialog)->vbox),
table);
gtk_widget_show (table);
row = 0;
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
_("Zoom Ratio:"), 0.0, 0.5,
hbox, 1, FALSE);
......@@ -565,7 +565,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
gtk_box_pack_start (GTK_BOX (hbox), spin, TRUE, TRUE, 0);
gtk_widget_show (spin);
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
_("Zoom:"), 0.0, 0.5,
hbox, 1, FALSE);
......
......@@ -186,7 +186,7 @@ info_window_create_extended (InfoDialog *info_win,
/* color information */
hbox = gtk_hbox_new (TRUE, 4);
hbox = gtk_hbox_new (TRUE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -818,7 +818,7 @@ prefs_display_options_frame_add (Gimp *gimp,
vbox = prefs_frame_new (label, parent, FALSE);
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......@@ -1247,7 +1247,7 @@ prefs_dialog_new (Gimp *gimp,
gimp);
}
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -699,7 +699,7 @@ resize_dialog_new (GimpViewable *viewable,
GtkWidget *hbox;
GtkWidget *combo;
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -320,7 +320,7 @@ gimp_color_balance_tool_dialog (GimpImageMapTool *image_map_tool)
G_CALLBACK (color_balance_yb_adjustment_update),
cb_tool);
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -469,7 +469,7 @@ gimp_curves_tool_dialog (GimpImageMapTool *image_map_tool)
vbox = image_map_tool->main_vbox;
/* The option menu for selecting channels */
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -400,7 +400,7 @@ gimp_hue_saturation_tool_dialog (GimpImageMapTool *image_map_tool)
G_CALLBACK (hue_saturation_saturation_adjustment_update),
hs_tool);
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -404,7 +404,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
vbox = image_map_tool->main_vbox;
/* The option menu for selecting channels */
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......@@ -501,7 +501,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
gtk_widget_show (bar);
/* Horizontal box for input levels spinbuttons */
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......@@ -604,7 +604,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
gtk_widget_show (tool->output_bar);
/* Horizontal box for levels spin widgets */
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......@@ -663,13 +663,12 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
_("Save levels settings to file"), NULL);
gtk_widget_show (image_map_tool->save_button);
hbbox = gtk_hbox_new (FALSE, 4);
gtk_container_set_border_width (GTK_CONTAINER (hbbox), 2);
hbbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_end (GTK_BOX (hbox), hbbox, FALSE, FALSE, 0);
gtk_widget_show (hbbox);
button = gtk_button_new_with_mnemonic (_("_Auto"));
gtk_box_pack_start (GTK_BOX (hbbox), button, FALSE, FALSE, 2);
gtk_box_pack_start (GTK_BOX (hbbox), button, FALSE, FALSE, 0);
gimp_help_set_help_data (button, _("Adjust levels automatically"), NULL);
gtk_widget_show (button);
......
......@@ -261,7 +261,7 @@ gimp_threshold_tool_dialog (GimpImageMapTool *image_map_tool)
vbox = image_map_tool->main_vbox;
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -803,7 +803,7 @@ gimp_dockable_get_tab_widget (GimpDockable *dockable,
case GIMP_TAB_STYLE_ICON_BLURB:
case GIMP_TAB_STYLE_PREVIEW_NAME:
case GIMP_TAB_STYLE_PREVIEW_BLURB:
tab_widget = gtk_hbox_new (FALSE, 4);
tab_widget = gtk_hbox_new (FALSE, 2);
gtk_box_pack_start (GTK_BOX (tab_widget), icon, FALSE, FALSE, 0);
gtk_widget_show (icon);
......
......@@ -187,7 +187,7 @@ gimp_file_dialog_new (Gimp *gimp,
dialog,
FALSE);
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_file_chooser_set_extra_widget (GTK_FILE_CHOOSER (dialog), hbox);
gtk_widget_show (hbox);
......@@ -236,8 +236,8 @@ gimp_file_dialog_new (Gimp *gimp,
if (file_proc->menu_paths && file_proc->extensions_list)
{
gchar *name;
GSList *ext;
const gchar *name;
GSList *ext;
if (file_proc->menu_label)
name = file_proc->menu_label;
......@@ -250,6 +250,7 @@ gimp_file_dialog_new (Gimp *gimp,
for (ext = file_proc->extensions_list; ext; ext = g_slist_next (ext))
{
gchar *pattern = g_strdup_printf ("*.%s", (gchar *) ext->data);
gtk_file_filter_add_pattern (filter, pattern);
g_free (pattern);
}
......@@ -283,7 +284,7 @@ gimp_file_dialog_set_file_proc (GimpFileDialog *dialog,
if (uri && strlen (uri))
{
gchar *last_dot = last_dot = strrchr (uri, '.');
const gchar *last_dot = strrchr (uri, '.');
if (last_dot != uri)
{
......
......@@ -378,7 +378,7 @@ gimp_gradient_editor_init (GimpGradientEditor *editor)
/* Instant update toggle */
editor->instant_update = TRUE;
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (editor), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -143,7 +143,7 @@ gimp_histogram_box_init (GimpHistogramBox *box)
bar);
/* The range selection */
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (box), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
......
......@@ -259,7 +259,7 @@ gimp_layer_tree_view_init (GimpLayerTreeView *view)
gtk_box_reorder_child (GTK_BOX (view), view->options_box, 0);
gtk_widget_show (view->options_box);
hbox = gtk_hbox_new (FALSE, 4);
hbox = gtk_hbox_new (FALSE, 6);
/* Paint mode menu */
......
......@@ -191,7 +191,7 @@ gimp_stroke_editor_constructor (GType type,
gtk_box_set_spacing (GTK_BOX (editor), 6);
box = gtk_hbox_new (FALSE, 4);
box = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (editor), box, FALSE, FALSE, 0);
gtk_widget_show (box);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment