[solang] ExporterDialog should inherit HIGDialog
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [solang] ExporterDialog should inherit HIGDialog
- Date: Sat, 20 Mar 2010 16:19:37 +0000 (UTC)
commit f67b7bbafdc96a4d69e6c055da8423025985cd51
Author: Debarshi Ray <rishi gnu org>
Date: Wed Mar 17 02:58:38 2010 +0200
ExporterDialog should inherit HIGDialog
src/exporter/exporter-dialog.cpp | 11 +++++------
src/exporter/exporter-dialog.h | 5 +++--
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/exporter/exporter-dialog.cpp b/src/exporter/exporter-dialog.cpp
index 90a4c6f..1570125 100644
--- a/src/exporter/exporter-dialog.cpp
+++ b/src/exporter/exporter-dialog.cpp
@@ -30,7 +30,7 @@ namespace Solang
ExporterDialog::ExporterDialog(Gtk::Widget & browser,
gint source_options) throw() :
- Gtk::Dialog(_("Export"), true, false),
+ HIGDialog(_("Export"), true, false),
generalVBox_(false, 6),
optionsVBox_(false, 6),
generalLabel_("", Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false),
@@ -52,14 +52,13 @@ ExporterDialog::ExporterDialog(Gtk::Widget & browser,
exportImage_(Gtk::Stock::APPLY, Gtk::ICON_SIZE_BUTTON),
sourceOptions_(source_options)
{
- set_border_width(12);
set_resizable(false);
- Gtk::VBox * const dialog_vbox = get_vbox();
- dialog_vbox->set_spacing(18);
+ Gtk::VBox & content_area = get_content_area();
+ content_area.set_spacing(18);
- dialog_vbox->pack_start(generalVBox_, Gtk::PACK_SHRINK, 0);
- dialog_vbox->pack_start(optionsVBox_, Gtk::PACK_SHRINK, 0);
+ content_area.pack_start(generalVBox_, Gtk::PACK_SHRINK, 0);
+ content_area.pack_start(optionsVBox_, Gtk::PACK_SHRINK, 0);
generalLabel_.set_use_markup(true);
{
diff --git a/src/exporter/exporter-dialog.h b/src/exporter/exporter-dialog.h
index 2277449..40e73d5 100644
--- a/src/exporter/exporter-dialog.h
+++ b/src/exporter/exporter-dialog.h
@@ -1,6 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
- * Copyright (C) 2009 Debarshi Ray <rishi gnu org>
+ * Copyright (C) 2009, 2010 Debarshi Ray <rishi gnu org>
*
* Solang is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -21,13 +21,14 @@
#include <gtkmm.h>
+#include "hig-dialog.h"
#include "types.h"
namespace Solang
{
class ExporterDialog :
- public Gtk::Dialog
+ public HIGDialog
{
public:
ExporterDialog(Gtk::Widget & browser,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]