~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/ui/widget/scalar.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    : Labelled(label, tooltip, new Gtk::SpinButton(), suffix, icon, mnemonic),
41
41
      setProgrammatically(false)
42
42
{
 
43
    static_cast<Gtk::SpinButton*>(_widget)->set_numeric();
43
44
}
44
45
 
45
46
/**
61
62
    : Labelled(label, tooltip, new Gtk::SpinButton(0.0, digits), suffix, icon, mnemonic),
62
63
      setProgrammatically(false)
63
64
{
 
65
    static_cast<Gtk::SpinButton*>(_widget)->set_numeric();
64
66
}
65
67
 
66
68
/**
84
86
    : Labelled(label, tooltip, new Gtk::SpinButton(adjust, 0.0, digits), suffix, icon, mnemonic),
85
87
      setProgrammatically(false)
86
88
{
 
89
    static_cast<Gtk::SpinButton*>(_widget)->set_numeric();
87
90
}
88
91
 
89
92
/** Fetches the precision of the spin buton */