[gtkmm] gtkmm: Dialog: Remove use_separator parameters.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] gtkmm: Dialog: Remove use_separator parameters.
- Date: Mon, 6 Sep 2010 11:03:52 +0000 (UTC)
commit f79c69fb5f1a8df0e62c5ed1bab6742510157e1b
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Sep 6 11:35:59 2010 +0200
gtkmm: Dialog: Remove use_separator parameters.
* gtk/src/dialog.[hg|ccg]: Constructors: Remove the use_separator parameters
that are already not used since the earlier commit.
ChangeLog | 7 +++++++
gtk/src/dialog.ccg | 5 ++---
gtk/src/dialog.hg | 25 ++++++++++++-------------
3 files changed, 21 insertions(+), 16 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c9090d5..7090518 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-06 Murray Cumming <murrayc murrayc com>
+
+ gtkmm: Dialog: Remove use_separator parameters.
+
+ * gtk/src/dialog.[hg|ccg]: Constructors: Remove the use_separator parameters
+ that are already not used since the earlier commit.
+
2010-09-06 Murray Cumming <murrayc murraycc com>>
gtkmm: CellView: Add natural-size methods.
diff --git a/gtk/src/dialog.ccg b/gtk/src/dialog.ccg
index 0cdab98..a3c5b2e 100644
--- a/gtk/src/dialog.ccg
+++ b/gtk/src/dialog.ccg
@@ -23,7 +23,7 @@
namespace Gtk
{
-Dialog::Dialog(const Glib::ustring& title, Gtk::Window& parent, bool modal, bool use_separator)
+Dialog::Dialog(const Glib::ustring& title, Gtk::Window& parent, bool modal)
:
_CONSTRUCT("title", title.c_str())
{
@@ -31,7 +31,7 @@ Dialog::Dialog(const Glib::ustring& title, Gtk::Window& parent, bool modal, bool
set_transient_for(parent);
}
-Dialog::Dialog(const Glib::ustring& title, bool modal, bool use_separator)
+Dialog::Dialog(const Glib::ustring& title, bool modal)
:
_CONSTRUCT("title", title.c_str())
{
@@ -44,4 +44,3 @@ void Dialog::set_alternative_button_order_from_array(const Glib::ArrayHandle<int
}
} // namespace Gtk
-
diff --git a/gtk/src/dialog.hg b/gtk/src/dialog.hg
index 6d42320..cea7764 100644
--- a/gtk/src/dialog.hg
+++ b/gtk/src/dialog.hg
@@ -1,7 +1,7 @@
/* $Id: dialog.hg,v 1.8 2006/03/22 16:53:22 murrayc Exp $ */
/* dialog.h
- *
+ *
* Copyright (C) 1998-2002 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
@@ -40,13 +40,13 @@ _WRAP_ENUM(ResponseType, GtkResponseType)
*
* Dialog boxes are a convenient way to prompt the user for a small amount
* of input, eg. to display a message, ask a question, or anything else that
- * does not require extensive effort on the user's part.
+ * does not require extensive effort on the user's part.
*
* gtkmm treats a dialog as a window split vertically. The top section is a
* Gtk::VBox, and is where widgets such as a Gtk::Label or a Gtk::Entry should be
* packed. The bottom area is known as the action_area. This is generally
* used for packing buttons into the dialog which may perform functions such
- * as cancel, ok, or apply. The two areas are separated by a Gtk::HSeparator.
+ * as cancel, ok, or apply. The two areas are separated by a Gtk::HSeparator.
*
* The dialog can be 'modal' (that is, one which freezes the rest of the
* application from user input) - this can be specified in the Gtk::Dialog
@@ -61,7 +61,7 @@ _WRAP_ENUM(ResponseType, GtkResponseType)
* If you want to block waiting for a dialog to return before returning control
* flow to your code, you can call run(). This function enters a
* recursive main loop and waits for the user to respond to the dialog, returning
- * the response ID corresponding to the button the user clicked.
+ * the response ID corresponding to the button the user clicked.
*
* @ingroup Dialogs
*/
@@ -72,8 +72,8 @@ class Dialog : public Window
_IGNORE(gtk_dialog_add_buttons)
public:
_CTOR_DEFAULT()
- explicit Dialog(const Glib::ustring& title, bool modal = false, bool use_separator = false);
- Dialog(const Glib::ustring& title, Gtk::Window& parent, bool modal = false, bool use_separator = false);
+ explicit Dialog(const Glib::ustring& title, bool modal = false);
+ Dialog(const Glib::ustring& title, Gtk::Window& parent, bool modal = false);
_WRAP_METHOD(void add_action_widget(Widget& child, int response_id), gtk_dialog_add_action_widget)
_WRAP_METHOD(Button* add_button(const Glib::ustring& button_text, int response_id), gtk_dialog_add_button)
@@ -86,13 +86,13 @@ public:
_WRAP_METHOD(static bool alternative_button_order(const Glib::RefPtr<const Gdk::Screen>& screen), gtk_alternative_dialog_button_order)
- /** Sets an alternative button order. If the gtk-alternative-button-order
- * setting is set to true, the dialog buttons are reordered according to
+ /** Sets an alternative button order. If the gtk-alternative-button-order
+ * setting is set to true, the dialog buttons are reordered according to
* the order of the response ids in @a new_order.
*
- * By default, GTK+ dialogs use the button order advocated by the Gnome
- * <ulink url="http://developer.gnome.org/projects/gup/hig/2.0/">Human
- * Interface Guidelines</ulink> with the affirmative button at the far
+ * By default, GTK+ dialogs use the button order advocated by the Gnome
+ * <ulink url="http://developer.gnome.org/projects/gup/hig/2.0/">Human
+ * Interface Guidelines</ulink> with the affirmative button at the far
* right, and the cancel button left of it. But the builtin GTK+ dialogs
* and #GtkMessageDialog<!-- -->s do provide an alternative button order,
* which is more suitable on some platforms, e.g. Windows.
@@ -100,7 +100,7 @@ public:
* Use this function after adding all the buttons to your dialog
*
* @param new_order an array of response ids of the dialog's buttons.
- *
+ *
* @newinp26
*/
void set_alternative_button_order_from_array(const Glib::ArrayHandle<int>& new_order);
@@ -125,4 +125,3 @@ public:
};
} /* namespace Gtk */
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]