Index: gnome-panel/gnome-panel/ChangeLog
===================================================================
RCS file: /export/cvs/gnome-2.0/gnome-panel/gnome-panel/ChangeLog,v
retrieving revision 1.46
diff -p -u -5 -r1.46 ChangeLog
--- gnome-panel/gnome-panel/ChangeLog	2002/05/28 20:56:54	1.46
+++ gnome-panel/gnome-panel/ChangeLog	2002/05/29 09:31:34
@@ -1,5 +1,9 @@
+2002-05-29  Arvind Samptur <arvind.samptur@wipro.com>
+	* panel-widget.c: (panel_widget_size_request) added extra padding for
+	panels, for getting panel menu when hide buttons are enabled.
+
 2002-05-29  Mark McLoughlin  <mark@skynet.ie>
 
 	* Makefile.am: don't define PANELRC.
 
 	* gnome-panelrc: zero this file.
Index: gnome-panel/gnome-panel/panel-widget.c
===================================================================
RCS file: /export/cvs/gnome-2.0/gnome-panel/gnome-panel/panel-widget.c,v
retrieving revision 1.16
diff -p -u -5 -r1.16 panel-widget.c
--- gnome-panel/gnome-panel/panel-widget.c	2002/05/23 20:43:49	1.16
+++ gnome-panel/gnome-panel/panel-widget.c	2002/05/29 09:31:35
@@ -28,10 +28,11 @@
 #include "panel-typebuiltins.h"
 #include "drawer-widget.h"
 #include "panel-applet-frame.h"
 
 #define MOVE_INCREMENT 2
+#define EXTRA_PAD 10
 
 typedef enum {
 	PANEL_SWITCH_MOVE = 0,
 	PANEL_FREE_MOVE,
 	PANEL_PUSH_MOVE
@@ -1196,12 +1197,14 @@ panel_widget_size_request(GtkWidget *wid
 		} else {
 			requisition->height = panel->size;
 		}
 	} 
 	
-	requisition->width = CLAMP (requisition->width, 12, gdk_screen_width ());
-	requisition->height = CLAMP (requisition->height, 12, gdk_screen_height ());
+	if (panel->orient == GTK_ORIENTATION_HORIZONTAL)
+		requisition->width = CLAMP (requisition->width + EXTRA_PAD, 12, gdk_screen_width ());
+	else
+		requisition->height = CLAMP (requisition->height + EXTRA_PAD, 12, gdk_screen_height ());
 }
 
 static void
 queue_resize_on_all_applets(PanelWidget *panel)
 {
