Commit 1ff96b1a authored by Murray Cumming's avatar Murray Cumming Committed by Murray Cumming
Browse files

Used larger HIG-like borders and spacings to make it look just a little

2003-10-31  Murray Cumming  <murrayc@usa.net>

        * src/mainwindow.cc: Used larger HIG-like borders and spacings to
        make it look just a little more GNOME HIG compliant.
parent e7d13dcb
2003-10-31 Murray Cumming <murrayc@usa.net>
* src/mainwindow.cc: Used larger HIG-like borders and spacings to
make it look just a little more GNOME HIG compliant.
2003-10-29 Murray Cumming <murrayc@usa.net>
* I'm taking over maintainership until Daniel reappears. I hope
......
regexxer 0.5 (2003-10-31)
* Undo feature (Daniel Elstner)
* Drop-down list of common file extensions. (Murray Cumming)
* Allow configuration of colors via color buttons (Daniel Elstner)
* Accessibility improvements (tab sequences and widget names)
(Daniel Elstner)
* Very slight HIGification (Murray Cumming)
* new application icon (jimmac, Daniel Elstner)
* Danish Translation (Morten Brix Petersen)
regexxer 0.4 (2002-11-18)
* menu bar added (can be disabled)
......
......@@ -300,10 +300,10 @@ Gtk::Widget* Controller::create_action_area()
std::auto_ptr<Box> action_area (new HBox(false, 10));
action_area->set_border_width(2);
Box *const box_replace = new HBox(true, 5);
Box *const box_replace = new HBox(true, 6 /* HIG */);
action_area->pack_end(*manage(box_replace), PACK_SHRINK);
Box *const box_move = new HBox(true, 5);
Box *const box_move = new HBox(true, 6 /* HIG */);
action_area->pack_end(*manage(box_move), PACK_SHRINK);
Button *const button_prev_file = new ImageButton(Stock::GOTO_FIRST, "File backward");
......
......@@ -71,7 +71,7 @@ const StockIconData stock_icon_save_all[] =
const StockItemData regexxer_stock_items[] =
{
{ "regexxer-info", stock_icon_info, G_N_ELEMENTS(stock_icon_info), "_Info" },
{ "regexxer-info", stock_icon_info, G_N_ELEMENTS(stock_icon_info), "_About" },
{ "regexxer-save-all", stock_icon_save_all, G_N_ELEMENTS(stock_icon_save_all), "Save _all" }
};
......
......@@ -89,7 +89,7 @@ FileErrorDialog::FileErrorDialog(Gtk::Window& parent, const Glib::ustring& messa
Box& box = *get_vbox();
Frame *const frame = new Frame();
box.pack_start(*manage(frame), PACK_EXPAND_WIDGET);
frame->set_border_width(5);
frame->set_border_width(6); //HIG spacing
frame->set_shadow_type(SHADOW_IN);
ScrolledWindow *const scrollwin = new ScrolledWindow();
......@@ -273,8 +273,9 @@ Gtk::Widget* MainWindow::create_main_vbox()
toolbar_handle->add(*manage(toolbar_));
Box *const vbox_interior = new VBox();
vbox_main->pack_start(*manage(vbox_interior), PACK_EXPAND_WIDGET);
vbox_interior->set_border_width(2);
vbox_interior->set_border_width(6); //HIG spacing. This plus the window border width makes 12, or plus the other border makes 12 between widgets.
statusline_ = new StatusLine();
vbox_main->pack_start(*manage(statusline_), PACK_SHRINK);
......@@ -295,12 +296,12 @@ Gtk::Widget* MainWindow::create_left_pane()
using namespace Gtk;
std::auto_ptr<Box> vbox (new VBox(false, 3));
vbox->set_border_width(1);
vbox->set_border_width(6); //HIG spacing.
Table *const table = new Table(3, 2, false);
vbox->pack_start(*manage(table), PACK_SHRINK);
table->set_border_width(1);
table->set_spacings(2);
table->set_border_width(0);
table->set_spacings(6); //HIG
Button *const button_folder = new ImageLabelButton(Stock::OPEN, "Fol_der:", true);
table->attach(*manage(button_folder), 0, 1, 0, 1, FILL, AttachOptions(0));
......@@ -323,7 +324,7 @@ Gtk::Widget* MainWindow::create_left_pane()
entry_pattern_->signal_activate().connect(controller_.find_files.slot());
entry_pattern_->signal_changed ().connect(SigC::slot(*this, &MainWindow::on_entry_pattern_changed));
Box *const hbox = new HBox(false, 5);
Box *const hbox = new HBox(false, 6 /* HIG */);
table->attach(*manage(hbox), 0, 2, 2, 3, EXPAND|FILL, AttachOptions(0));
button_recursive_ = new CheckButton("recursive");
......@@ -368,12 +369,12 @@ Gtk::Widget* MainWindow::create_right_pane()
using namespace Gtk;
std::auto_ptr<Box> vbox (new VBox(false, 3));
vbox->set_border_width(1);
vbox->set_border_width(6); //HIG spacing
Table *const table = new Table(2, 3, false);
vbox->pack_start(*manage(table), PACK_SHRINK);
table->set_border_width(1);
table->set_spacings(2);
table->set_border_width(0);
table->set_spacings(6); //HIG
Label *const label_search = new Label("Search:", 0.0, 0.5);
table->attach(*manage(label_search), 0, 1, 0, 1, FILL, AttachOptions(0));
......@@ -389,7 +390,7 @@ Gtk::Widget* MainWindow::create_right_pane()
entry_substitution_->signal_activate().connect(controller_.find_matches.slot());
entry_substitution_->signal_changed ().connect(SigC::slot(*this, &MainWindow::update_preview));
Box *const hbox_options = new HBox(false, 5);
Box *const hbox_options = new HBox(false, 6 /* HIG */);
table->attach(*manage(hbox_options), 2, 3, 0, 1, FILL, AttachOptions(0));
hbox_options->pack_start(*manage(button_multiple_ = new CheckButton("/g")), PACK_SHRINK);
hbox_options->pack_start(*manage(button_caseless_ = new CheckButton("/i")), PACK_SHRINK);
......
......@@ -102,9 +102,9 @@ FontSelectionButton::FontSelectionButton()
Box *const box = new HBox(false, 0);
add(*manage(box));
box->pack_start(*manage(label_font_ = new Label()), PACK_EXPAND_WIDGET, 5);
box->pack_start(*manage(label_font_ = new Label()), PACK_EXPAND_WIDGET, 6 /* HIG */);
box->pack_start(*manage(new VSeparator()), PACK_SHRINK);
box->pack_start(*manage(label_size_ = new Label()), PACK_SHRINK, 5);
box->pack_start(*manage(label_size_ = new Label()), PACK_SHRINK, 6 /* HIG */);
}
FontSelectionButton::~FontSelectionButton()
......@@ -478,7 +478,7 @@ Gtk::Widget* PrefDialog::create_page_file()
Label *const label_locale = new Label("The encoding specified by the current locale", 0.0, 0.5);
table->attach(*manage(label_locale), 1, 2, 1, 2, FILL, FILL);
Box *const box_fallback = new HBox(false, 5);
Box *const box_fallback = new HBox(false, 6 /* HIG */);
table->attach(*manage(box_fallback), 1, 2, 2, 3, EXPAND|FILL, FILL);
Label *const label_fallback = new Label("Fallback _encoding:", 0.0, 0.5, true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment