[f-spot] Fixup creation of OptionMenus



commit 8428f16dca09f4d0c167ff415d9ac0d45d620e51
Author: Paul Lange <palango gmx de>
Date:   Wed Aug 18 01:06:07 2010 +0200

    Fixup creation of OptionMenus
    
    https://bugzilla.gnome.org/show_bug.cgi?id=626876

 .../FSpot.Exporters.Gallery/GalleryAddAlbum.cs     |    1 +
 .../FSpot.Exporters.Gallery/GalleryExport.cs       |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryAddAlbum.cs b/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryAddAlbum.cs
index ce7e081..eb4cb3e 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryAddAlbum.cs
+++ b/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryAddAlbum.cs
@@ -45,6 +45,7 @@ namespace FSpot.Exporters.Gallery
 
 			album_optionmenu = new Gtk.OptionMenu ();
 			(name_entry.Parent as Gtk.Table).Attach (album_optionmenu, 1, 2, 1, 2);
+			album_optionmenu.Show ();
 
 			this.export = export;
 			this.gallery = gallery;
diff --git a/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryExport.cs b/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryExport.cs
index 4024361..fb9afd6 100644
--- a/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryExport.cs
+++ b/src/Extensions/Exporters/FSpot.Exporters.Gallery/FSpot.Exporters.Gallery/GalleryExport.cs
@@ -31,9 +31,13 @@ namespace FSpot.Exporters.Gallery
 
 			album_optionmenu = new Gtk.OptionMenu ();
 			(album_button.Parent as Gtk.HBox).PackStart (album_optionmenu);
+			(album_button.Parent as Gtk.HBox).ReorderChild (album_optionmenu, 1);
+			album_optionmenu.Show ();
 
 			gallery_optionmenu = new Gtk.OptionMenu ();
 			(edit_button.Parent as Gtk.HBox).PackStart (gallery_optionmenu);
+			(edit_button.Parent as Gtk.HBox).ReorderChild (gallery_optionmenu, 1);
+			gallery_optionmenu.Show ();
 
 			this.items = selection.Items;
 			Array.Sort<IPhoto> (this.items, new IPhotoComparer.CompareDateName());



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