aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.ja6
-rw-r--r--src/about.c6
-rw-r--r--src/gtkutils.c3
4 files changed, 15 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index a1851fd5..86f40279 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2005-02-07
+ * src/gtkutils.c: gtkut_window_popup()
+ src/about.c: about_show(): use gtk_window_present() to popup
+ window.
+
+2005-02-07
+
* src/*.c: replaced intl.h with glib/gi18n.h (thanks to Yoichi Imai).
* configure.in
Makefile.am
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 97945dc2..90119ff8 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,11 @@
2005-02-07
+ * src/gtkutils.c: gtkut_window_popup()
+ src/about.c: about_show(): ウィンドウのポップアップに
+ gtk_window_present() を使用するようにした。
+
+2005-02-07
+
* src/*.c: intl.h を glib/gi18n.h で置き換えた(今井さん thanks)。
* configure.in
Makefile.am
diff --git a/src/about.c b/src/about.c
index 2ee0dff8..a9cea2e5 100644
--- a/src/about.c
+++ b/src/about.c
@@ -57,10 +57,8 @@ void about_show(void)
{
if (!window)
about_create();
- else {
- gtk_widget_hide(window);
- gtk_widget_show(window);
- }
+ else
+ gtk_window_present(GTK_WINDOW(window));
}
static void about_create(void)
diff --git a/src/gtkutils.c b/src/gtkutils.c
index 85dfda5f..158d1dfb 100644
--- a/src/gtkutils.c
+++ b/src/gtkutils.c
@@ -711,8 +711,7 @@ void gtkut_window_popup(GtkWidget *window)
if (new_x != x || new_y != y)
gdk_window_move(window->window, new_x, new_y);
- gdk_window_raise(window->window);
- gdk_window_show(window->window);
+ gtk_window_present(GTK_WINDOW(window));
}
void gtkut_widget_get_uposition(GtkWidget *widget, gint *px, gint *py)