index 73a5edac162cf3c30d416c743cbbc389cc53fe84..7b19ac861e3227c90e68df92793e591345867f0b 100644 (file)
--- a/src/ui/widget/entry.cpp
+++ b/src/ui/widget/entry.cpp
-/** \file\r
- *\r
- * \brief Helperclass for Gtk::Entry widgets\r
- *\r
- * Authors:\r
- * Johan Engelen <goejendaagh@zonnet.nl>\r
- *\r
- * Copyright (C) 2006 Authors\r
- *\r
- * Released under GNU GPL. Read the file 'COPYING' for more information\r
- */\r
-\r
-#ifdef HAVE_CONFIG_H\r
-# include <config.h>\r
-#endif\r
-\r
-#include "entry.h"\r
-\r
-namespace Inkscape {\r
-namespace UI {\r
-namespace Widget {\r
-\r
-Entry::Entry(Glib::ustring const &label, Glib::ustring const &tooltip)\r
- : _label(label, true), _entry(), _tooltips()\r
-{\r
- pack_start(_label);\r
- pack_start(_entry);\r
- \r
- _tooltips.set_tip(*this, tooltip);\r
-}\r
-\r
-} // namespace Widget\r
-} // namespace UI\r
-} // namespace Inkscape\r
-\r
+/** \file
+ *
+ * \brief Helperclass for Gtk::Entry widgets
+ *
+ * Authors:
+ * Johan Engelen <goejendaagh@zonnet.nl>
+ *
+ * Copyright (C) 2006 Authors
+ *
+ * Released under GNU GPL. Read the file 'COPYING' for more information
+ */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include "entry.h"
+
+namespace Inkscape {
+namespace UI {
+namespace Widget {
+
+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
+} // namespace Inkscape
+