~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/gimpressionist/placement.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  gtk_toggle_button_set_active
82
82
    (GTK_TOGGLE_BUTTON (placement_radio[pcvals.place_type]), TRUE);
83
83
 
 
84
  placement_center = gtk_check_button_new_with_mnemonic ( _("Centered"));
 
85
  tmpw = placement_center;
 
86
 
 
87
  gtk_box_pack_start (GTK_BOX (vbox), tmpw, FALSE, FALSE, 0);
 
88
  gtk_widget_show (tmpw);
 
89
  gimp_help_set_help_data
 
90
    (tmpw, _("Focus the brush strokes around the center of the image"), NULL);
 
91
 
 
92
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (tmpw),
 
93
                                pcvals.placement_center);
 
94
 
84
95
  table = gtk_table_new (1, 3, FALSE);
85
96
  gtk_table_set_col_spacings (GTK_TABLE (table), 6);
86
97
  gtk_box_pack_start (GTK_BOX (vbox), table, FALSE, FALSE, 0);
94
105
                          TRUE, 0, 0,
95
106
                          _("The relative density of the brush strokes"),
96
107
                          NULL);
97
 
  g_signal_connect (brush_density_adjust, "value_changed",
 
108
  g_signal_connect (brush_density_adjust, "value-changed",
98
109
                    G_CALLBACK (gimp_double_adjustment_update),
99
110
                    &pcvals.brush_density);
100
111
 
101
 
  placement_center = gtk_check_button_new_with_mnemonic ( _("Centerize"));
102
 
  tmpw = placement_center;
103
 
 
104
 
  gtk_box_pack_start (GTK_BOX (vbox), tmpw, FALSE, FALSE, 0);
105
 
  gtk_widget_show (tmpw);
106
 
  gimp_help_set_help_data
107
 
    (tmpw, _("Focus the brush strokes around the center of the image"), NULL);
108
 
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (tmpw),
109
 
                                pcvals.placement_center);
110
 
 
111
112
  gtk_notebook_append_page_menu (notebook, vbox, label, NULL);
112
113
}