From: mscho Date: Sun, 30 Apr 2006 22:44:46 +0000 (+0000) Subject: Moved compass like display of angles from windows to steps in preferences X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ef4c85e356eadfc45dc001167240fd3305010ff7;p=inkscape.git Moved compass like display of angles from windows to steps in preferences --- diff --git a/ChangeLog b/ChangeLog index a38a78bcc..ec057ee4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-01 Marco Scholten + + * src/dialogs/inkscape-preferences.cpp: Moved 'compass like + display of angles' from 'windows' to 'steps'. + 2006-04-29 Jon Phillips * src/dialogs/rdf.cpp: Updated cc licenses to 2.5 by default. diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 649dda100..bf2a81b32 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -14,6 +14,7 @@ # include #endif +#include #include #include #include @@ -60,7 +61,6 @@ InkscapePreferences::InkscapePreferences() hbox_list_page->set_spacing(12); this->get_vbox()->add(*hbox_list_page); - //Pagelist Gtk::Frame* list_frame = Gtk::manage(new Gtk::Frame()); Gtk::ScrolledWindow* scrolled_window = Gtk::manage(new Gtk::ScrolledWindow()); @@ -181,7 +181,7 @@ void InkscapePreferences::initPageSteps() _page_steps.add_line( false, _("Inset/Outset by:"), _steps_inset, _("px"), _("Inset and Outset commands displace the path by this distance (in px units)"), false); _steps_compass.init ( _("Compass-like display of angles"), "options.compassangledisplay", "value", true); - _page_windows.add_line( false, "", _steps_compass, "", + _page_steps.add_line( false, "", _steps_compass, "", _("When on, angles are displayed with 0 at north, 0 to 360 range, positive clockwise; otherwise with 0 at east, -180 to 180 range, positive counterclockwise")); int const num_items = 12; Glib::ustring labels[num_items] = {"90", "60", "45", "30", "15", "10", "7.5", "6", "3", "2", "1", _("None")}; @@ -577,6 +577,11 @@ void InkscapePreferences::on_pagelist_selection_changed() _page_title.set_markup("" + row[_page_list_columns._col_name] + ""); _page_frame.add(*_current_page); _current_page->show(); + while (Gtk::Main::events_pending()) + { + Gtk::Main::iteration(); + } + this->show_all_children(); } }