[gtkmm] Gtkmm-forge digest, Vol 1 #405 - 4 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs.


Today's Topics:

   1. [Bug 108511] Changed - gtk_grab_add/remove isn't wrapped (bugzilla-daemon widget gnome org)
   2. [Bug 111084] New - Menu item deletion bug (bugzilla-daemon widget gnome org)
   3. [Bug 111084] Changed - Deleted menu item's signal handler still called. (bugzilla-daemon widget gnome org)
   4. [Bug 109826] Changed - new rpm spec file (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, olau hardworking dk
Cc: 
Date: Fri, 18 Apr 2003 06:07:11 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 108511] Changed - gtk_grab_add/remove isn't wrapped

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=108511

Changed by murrayc usa net 

--- shadow/108511	Mon Apr 14 15:24:15 2003
+++ shadow/108511.tmp.24651	Fri Apr 18 06:07:11 2003
@@ -1,13 +1,13 @@
 Bug#: 108511
 Product: gtkmm
 Version: 2.4
 OS: Linux
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: olau hardworking dk               
 TargetMilestone: ---



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Fri, 18 Apr 2003 09:13:10 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 111084] New - Menu item deletion bug

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=111084

Changed by pmazoy free fr 

--- shadow/111084	Fri Apr 18 09:13:10 2003
+++ shadow/111084.tmp.9942	Fri Apr 18 09:13:10 2003
@@ -0,0 +1,97 @@
+Bug#: 111084
+Product: gtkmm
+Version: 2.2
+OS: Windows
+OS Details: Windows 98, GTK+ 2.2.1.1, gtkmm 2.2.1
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: pmazoy free fr               
+TargetMilestone: ---
+URL: 
+Summary: Menu item deletion bug
+
+Deleting an item using Gtk::Menu_Helpers::MenuList::insert() or 
+Gtk::Menu_Helpers::MenuList::remove() does not completely remove it.
+The item is still available through its keyboard shortcut.
+
+Example code:
+
+#include <gtkmm.h>
+#include <iostream>
+
+class TestWindow : public Gtk::Window
+{
+public:
+    TestWindow();
+
+private:
+    Gtk::VBox windowVBox;
+    Gtk::MenuBar menuBar;
+    Gtk::Menu menu_Test1;
+    Gtk::Menu menu_Test2;
+    
+    void delete_with_erase_test();
+    void delete_with_remove_test();
+};
+
+TestWindow::TestWindow()
+{
+    set_title("MenuList erase() and remove() bug");
+    set_resizable(false);
+    set_border_width(5);
+
+  	menu_Test1.items().push_back(Gtk::Menu_Helpers::MenuElem("Delete 
+this using erase()",  Gtk::Menu::AccelKey("<control>e"), SigC::slot(*this, 
+&TestWindow::delete_with_erase_test)));
+    menu_Test1.items().push_back(Gtk::Menu_Helpers::SeparatorElem());
+    menu_Test1.items().push_back(Gtk::Menu_Helpers::MenuElem("Quit",  
+SigC::slot(*this, &Gtk::Widget::hide)));
+
+  	menu_Test2.items().push_back(Gtk::Menu_Helpers::MenuElem("Delete 
+this using remove()",  Gtk::Menu::AccelKey("<control>r"), SigC::slot
+(*this, &TestWindow::delete_with_remove_test)));
+    menu_Test2.items().push_back(Gtk::Menu_Helpers::SeparatorElem());
+    menu_Test2.items().push_back(Gtk::Menu_Helpers::MenuElem("Quit",  
+SigC::slot(*this, &Gtk::Widget::hide)));
+
+    menuBar.items().push_back(Gtk::Menu_Helpers::MenuElem("Test 1", 
+menu_Test1));
+    menuBar.items().push_back(Gtk::Menu_Helpers::MenuElem("Test 2", 
+menu_Test2));
+
+    windowVBox.pack_start(menuBar);
+    add(windowVBox);
+    show_all();
+}
+
+void TestWindow::delete_with_erase_test()
+{
+    Gtk::Menu_Helpers::MenuList::iterator i = menu_Test1.items().begin();
+    menu_Test1.items().erase(i);
+    std::cout << "Test 1 > 'Delete this using erase()' deleted." << 
+std::endl;
+    std::cout << "Bug: try to press Ctrl+e" << std::endl;
+}
+
+void TestWindow::delete_with_remove_test()
+{
+    menu_Test2.items().remove(menu_Test2.items()[0]);
+    std::cout << "Test 2 > 'Delete this using remove()' deleted." << 
+std::endl;
+    std::cout << "Bug: try to press Ctrl+r" << std::endl;
+}
+
+int main(int argc, char* argv[])
+{
+    Gtk::Main kit(argc, argv);
+
+    TestWindow testWindow;
+    
+    Gtk::Main::run(testWindow);
+    
+    return 0;
+}



--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, pmazoy free fr
Cc: 
Date: Fri, 18 Apr 2003 09:26:05 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 111084] Changed - Deleted menu item's signal handler still called.

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=111084

Changed by murrayc usa net 

--- shadow/111084	Fri Apr 18 09:13:10 2003
+++ shadow/111084.tmp.15527	Fri Apr 18 09:26:05 2003
@@ -9,13 +9,13 @@
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: pmazoy free fr               
 TargetMilestone: ---
 URL: 
-Summary: Menu item deletion bug
+Summary: Deleted menu item's signal handler still called.
 
 Deleting an item using Gtk::Menu_Helpers::MenuList::insert() or 
 Gtk::Menu_Helpers::MenuList::remove() does not completely remove it.
 The item is still available through its keyboard shortcut.
 
 Example code:
@@ -92,6 +92,10 @@
     TestWindow testWindow;
     
     Gtk::Main::run(testWindow);
     
     return 0;
 }
+
+------- Additional Comments From murrayc usa net  2003-04-18 09:26 -------
+Please _attach_ test code in future. Please simplify this test case as
+much as possible. Please show us one bug, not two.



--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, gbpeck sbcglobal net
Cc: 
Date: Fri, 18 Apr 2003 09:33:50 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 109826] Changed - new rpm spec file

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=109826

Changed by murrayc usa net 

--- shadow/109826	Wed Apr 16 19:53:48 2003
+++ shadow/109826.tmp.19012	Fri Apr 18 09:33:50 2003
@@ -122,6 +122,14 @@
 have a chance. Also, I'll look at using variables from configure.in.
 
 > Are you likely to revise this patch?
 
 Yeah. I've been busy at work with a project deadline. I'll send a new
 patch once that passes.
+
+------- Additional Comments From murrayc usa net  2003-04-18 09:33 -------
+>  My main
+complaint, however, is that it breaks the build.
+
+So please submit a bug. We can't fix it if you don't tell us.
+
+I look forward to the new patch. Thanks.




--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]