Hello community,

here is the log from the commit of package balsa for openSUSE:Factory
checked in at Tue Apr 19 09:19:29 CEST 2011.



--------
--- GNOME/balsa/balsa.changes   2011-03-22 16:32:50.000000000 +0100
+++ /mounts/work_src_done/STABLE/balsa/balsa.changes    2011-04-15 
18:48:17.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Apr 15 18:06:56 CEST 2011 - [email protected]
+
+- Do not open message boxes with search bar (bgo#647695).
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  balsa-message-searchbar-off.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ balsa.spec ++++++
--- /var/tmp/diff_new_pack.VcFccj/_old  2011-04-19 09:18:44.000000000 +0200
+++ /var/tmp/diff_new_pack.VcFccj/_new  2011-04-19 09:18:44.000000000 +0200
@@ -21,7 +21,7 @@
 %define TOUCHSCREEN_OPTIMIZATION %(echo %{name} | grep -qv touchscreen ; echo 
$?)
 %define base_name balsa
 Version:        2.4.9
-Release:        7
+Release:        8
 License:        GPLv2+
 Summary:        The GNOME Mail Program
 Url:            http://pawsa.fedorapeople.org/balsa/
@@ -33,6 +33,8 @@
 Patch1:         balsa-mail-handler.patch
 # PATCH-FEATURE-UPSTREAM balsa-new-autotools.patch bgo645530 [email protected] 
-- Fix for new autoconf, fix minimal libnotify version.
 Patch2:         balsa-new-autotools.patch
+# PATCH-FIX-UPSTREAM balsa-message-searchbar-off.patch bgo#647695 
[email protected] -- Do not open message boxes with search bar.
+Patch3:         balsa-message-searchbar-off.patch
 BuildRequires:  compface
 BuildRequires:  fdupes
 BuildRequires:  gnome-doc-utils-devel
@@ -90,6 +92,7 @@
 cp -a balsa.desktop.in.in balsa-mailto-handler.desktop.in.in
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 mkdir -p m4 ; gnome-doc-prepare -f ; autoreconf -f -i

++++++ balsa-message-searchbar-off.patch ++++++
diff --git a/src/balsa-message.c b/src/balsa-message.c
index d4ce194..f5eb7ae 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -636,8 +636,6 @@ bm_find_bar_new(BalsaMessage * bm)
     gtk_container_add(GTK_CONTAINER(tool_item), bm->find_label);
     gtk_toolbar_insert(GTK_TOOLBAR(toolbar), tool_item, -1);
 
-    gtk_widget_hide(toolbar);
-
     return toolbar;
 }
 
@@ -732,7 +730,9 @@ balsa_message_init(BalsaMessage * bm)
     g_signal_connect(bm->cont_viewport, "size-allocate",
                     G_CALLBACK(on_content_size_alloc), NULL);
 
-    /* Find-in-message toolbar */
+    gtk_widget_show_all(GTK_WIDGET(bm));
+
+    /* Find-in-message toolbar that is hidden by default. */
     bm->find_bar = bm_find_bar_new(bm);
     gtk_box_pack_start(GTK_BOX(vbox), bm->find_bar, FALSE, FALSE, 0);
 
@@ -819,9 +819,6 @@ balsa_message_init(BalsaMessage * bm)
     bm->wrap_text = balsa_app.browse_wrap;
     bm->shown_headers = balsa_app.shown_headers;
     bm->close_with_msg = FALSE;
-
-    gtk_widget_show_all(GTK_WIDGET(bm));
-    gtk_widget_hide(bm->find_bar);
 }
 
 static void
@@ -3312,7 +3309,7 @@ balsa_message_find_in_message(BalsaMessage * bm)
 
         bm_find_set_status(bm, BM_FIND_STATUS_INIT);
 
-        gtk_widget_show(bm->find_bar);
+        gtk_widget_show_all(bm->find_bar);
         if (gtk_widget_get_window(bm->find_entry))
             gtk_widget_grab_focus(bm->find_entry);
     }
diff --git a/src/message-window.c b/src/message-window.c
index 199ee9b..760a6db 100644
--- a/src/message-window.c
+++ b/src/message-window.c
@@ -622,7 +622,7 @@ message_window_new(LibBalsaMailbox * mailbox, guint msgno)
     mw->bmessage = balsa_message_new();
     
     gtk_box_pack_start(GTK_BOX(vbox), mw->bmessage, TRUE, TRUE, 0);
-    gtk_widget_show_all(vbox);
+    gtk_widget_show(vbox);
 
     g_signal_connect(mw->bmessage, "select-part",
                     G_CALLBACK(mw_select_part_cb), mw);

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to