Code

Cleanup of device internal handling and API.
[inkscape.git] / src / ui / dialog / undo-history.cpp
index c53583741f5b13613ac515316c94613cc87ecaec..8017af8031140b8253aca36474807434679f9279 100644 (file)
@@ -1,11 +1,10 @@
-/**
- * \brief Undo History dialog
- *
- * Author:
+/** @file
+ * @brief Undo History dialog - implementation
+ */
+/* Author:
  *   Gustav Broberg <broberg@kth.se>
  *
  * Copyright (C) 2006 Authors
- *
  * Released under GNU GPL.  Read the file 'COPYING' for more information.
  */
 
@@ -20,7 +19,6 @@
 
 #include "document.h"
 #include "inkscape.h"
-#include "ui/icons.h"
 #include "verbs.h"
 #include "desktop-handles.h"
 
@@ -125,7 +123,7 @@ UndoHistory::setDesktop(SPDesktop* desktop)
 }
 
 UndoHistory::UndoHistory()
-    : UI::Widget::Panel ("", "dialogs.undo-history", SP_VERB_DIALOG_UNDO_HISTORY),
+    : UI::Widget::Panel ("", "/dialogs/undo-history", SP_VERB_DIALOG_UNDO_HISTORY),
       _document (sp_desktop_document(getDesktop())),
       _event_log (getDesktop() ? getDesktop()->event_log : NULL),
       _columns (_event_log ? &_event_log->getColumns() : NULL),
@@ -133,7 +131,7 @@ UndoHistory::UndoHistory()
 {
     if ( !_document || !_event_log || !_columns ) return;
 
-    set_size_request(300, 200);
+    set_size_request(300, 95);
 
     _getContents()->pack_start(_scrolled_window);
     _scrolled_window.set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);