~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/ui/dialog/text-properties.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
namespace Dialog {
22
22
 
23
23
TextProperties::TextProperties() 
24
 
    : Dialog ("dialogs.textandfont", SP_VERB_DIALOG_TEXT),
 
24
    : UI::Widget::Panel("", "dialogs.textandfont", SP_VERB_DIALOG_TEXT),
25
25
      _page_font(1, 1),
26
26
      _page_text(1, 1)
27
27
{
28
 
    // Top level vbox
29
 
    Gtk::VBox *vbox = get_vbox();
30
 
    vbox->set_spacing(4);
 
28
    Gtk::Box *contents = _getContents();
 
29
 
 
30
    contents->set_spacing(4);
31
31
 
32
32
    // Notebook for individual transformations
33
 
    vbox->pack_start(_notebook, true, true);
 
33
    contents->pack_start(_notebook, true, true);
34
34
 
35
35
    // TODO:  Insert widgets
36
36
    _notebook.append_page(_page_font, _("Font"));
37
37
    _notebook.append_page(_page_text, _("Text"));
38
38
 
39
 
    set_resizable (true);
40
39
    set_size_request(450, 300);
41
40
    
42
41
    show_all_children();