From 9e78ac488bd9589a9ed263a5b236c921c7dafc3d Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 29 Nov 2006 20:35:57 +0000 Subject: C++ Find dialog almost complete! (it works, but it is biiig now) (bzr r2054) --- src/ui/widget/entry.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/ui/widget/entry.cpp') diff --git a/src/ui/widget/entry.cpp b/src/ui/widget/entry.cpp index 73a5edac1..6159b4fe5 100644 --- a/src/ui/widget/entry.cpp +++ b/src/ui/widget/entry.cpp @@ -20,14 +20,14 @@ namespace Inkscape { namespace UI { namespace Widget { -Entry::Entry(Glib::ustring const &label, Glib::ustring const &tooltip) - : _label(label, true), _entry(), _tooltips() -{ - pack_start(_label); - pack_start(_entry); - - _tooltips.set_tip(*this, tooltip); +Entry::Entry( Glib::ustring const &label, Glib::ustring const &tooltip, + Glib::ustring const &suffix, + Glib::ustring const &icon, + bool mnemonic) + : Labelled(label, tooltip, new Gtk::Entry(), suffix, icon, mnemonic) +{ } + } // namespace Widget } // namespace UI -- cgit v1.2.3