diff options
| author | Marco Scholten <mscho@users.sourceforge.net> | 2006-04-30 22:44:46 +0000 |
|---|---|---|
| committer | mscho <mscho@users.sourceforge.net> | 2006-04-30 22:44:46 +0000 |
| commit | b6fd495a38682cab5b8e1e099401d52e60d0cc8a (patch) | |
| tree | 836d55a2c7c1ba2904d4215f06e99ca5bdfdd7e5 /src | |
| parent | updated PO files (diff) | |
| download | inkscape-b6fd495a38682cab5b8e1e099401d52e60d0cc8a.tar.gz inkscape-b6fd495a38682cab5b8e1e099401d52e60d0cc8a.zip | |
Moved compass like display of angles from windows to steps in preferences
(bzr r642)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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 <config.h> #endif +#include <gtkmm/main.h> #include <gtkmm/frame.h> #include <gtkmm/scrolledwindow.h> #include <gtkmm/alignment.h> @@ -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("<span size='large'><b>" + row[_page_list_columns._col_name] + "</b></span>"); _page_frame.add(*_current_page); _current_page->show(); + while (Gtk::Main::events_pending()) + { + Gtk::Main::iteration(); + } + this->show_all_children(); } } |
