sync with 0.9.8cvs5
authorPaul Mangan <paul@claws-mail.org>
Fri, 23 Jan 2004 08:52:30 +0000 (08:52 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 23 Jan 2004 08:52:30 +0000 (08:52 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.ac
src/mainwindow.c
src/toolbar.c

index 4c959b2..c397500 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-01-22
+
+       * src/mainwindow.c: fixed automatic expansion of window size because
+         of toolbar.
+
+2004-01-21
+
+       * src/addr_compl.[ch]
+         src/gtkshruler.[ch]: changed the copyright notice.
+
 2004-01-20
 
        * src/gtkstext.c: find_line_params(): also break between mutlibyte
index d155a76..2270a80 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-23 [paul]      0.9.8.claws44
+
+       * sync with 0.9.8cvs5
+               see ChangeLog 2004-01-22
+
 2004-01-23 [alfons]    0.9.8claws43
 
        * src/procmsg.c
index 34e3383..6f93dc1 100644 (file)
@@ -1,3 +1,13 @@
+2004-01-22
+
+       * src/mainwindow.c: ¥Ä¡¼¥ë¥Ð¡¼¤Ë¤è¤Ã¤Æ¥¦¥£¥ó¥É¥¦¥µ¥¤¥º¤¬¼«Æ°Åª¤Ë
+         ¿­Ä¹¤·¤Æ¤·¤Þ¤¦¤Î¤ò½¤Àµ¡£
+
+2004-01-21
+
+       * src/addr_compl.[ch]
+         src/gtkshruler.[ch]: Ãøºî¸¢É½¼¨¤òÊѹ¹¡£
+
 2004-01-20
 
        * src/gtkstext.c: find_line_params(): ¥Þ¥ë¥Á¥Ð¥¤¥È¤È¥·¥ó¥°¥ë¥Ð¥¤¥È
index 42b478d..044991e 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=43
+EXTRA_VERSION=44
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 836babe..b4b9d49 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2003 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2004 Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -109,6 +109,14 @@ static void toolbar_account_button_pressed (GtkWidget      *widget,
                                                 GdkEventButton *event,
                                                 gpointer        data);
 #endif
+
+static void toolbar_child_attached             (GtkWidget      *widget,
+                                                GtkWidget      *child,
+                                                gpointer        data);
+static void toolbar_child_detached             (GtkWidget      *widget,
+                                                GtkWidget      *child,
+                                                gpointer        data);
+
 static void ac_label_button_pressed            (GtkWidget      *widget,
                                                 GdkEventButton *event,
                                                 gpointer        data);
@@ -823,6 +831,10 @@ MainWindow *main_window_create(SeparateType type)
        handlebox = gtk_handle_box_new();
        gtk_widget_show(handlebox);
        gtk_box_pack_start(GTK_BOX(vbox), handlebox, FALSE, FALSE, 0);
+       gtk_signal_connect(GTK_OBJECT(handlebox), "child_attached",
+                          GTK_SIGNAL_FUNC(toolbar_child_attached), mainwin);
+       gtk_signal_connect(GTK_OBJECT(handlebox), "child_detached",
+                          GTK_SIGNAL_FUNC(toolbar_child_detached), mainwin);
 
        /* link window to mainwin->window to avoid gdk warnings */
        mainwin->window       = window;
@@ -2146,6 +2158,18 @@ static void toolbar_account_button_pressed(GtkWidget *widget,
 }
 #endif
 
+static void toolbar_child_attached(GtkWidget *widget, GtkWidget *child,
+                                  gpointer data)
+{
+       gtk_widget_set_usize(child, 1, -1);
+}
+
+static void toolbar_child_detached(GtkWidget *widget, GtkWidget *child,
+                                  gpointer data)
+{
+       gtk_widget_set_usize(child, -1, -1);
+}
+
 static void ac_label_button_pressed(GtkWidget *widget, GdkEventButton *event,
                                    gpointer data)
 {
index 35dd214..89729f1 100644 (file)
@@ -774,6 +774,8 @@ void toolbar_set_style(GtkWidget *toolbar_wid, GtkWidget *handlebox_wid, guint a
        }
 
        prefs_common.toolbar_style = (ToolbarStyle)action;
+       gtk_widget_set_usize(handlebox_wid, 1, -1);
+       
        if (prefs_common.toolbar_style != TOOLBAR_NONE) {
                gtk_widget_show(handlebox_wid);
                gtk_widget_queue_resize(handlebox_wid);