diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-05-27 10:10:18 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-05-27 10:10:18 +0000 |
commit | e24b2a12a069a2108e72f967e175f51e9b60a8f6 (patch) | |
tree | e7f334098978860bc3508c380f4cca866a7d54ae /xfce-base | |
parent | Remove old version. (diff) | |
download | gentoo-2-e24b2a12a069a2108e72f967e175f51e9b60a8f6.tar.gz gentoo-2-e24b2a12a069a2108e72f967e175f51e9b60a8f6.tar.bz2 gentoo-2-e24b2a12a069a2108e72f967e175f51e9b60a8f6.zip |
Remove old versions.
(Portage version: 2.1.2.7)
Diffstat (limited to 'xfce-base')
5 files changed, 0 insertions, 298 deletions
diff --git a/xfce-base/xfce4-panel/files/digest-xfce4-panel-4.2.3 b/xfce-base/xfce4-panel/files/digest-xfce4-panel-4.2.3 deleted file mode 100644 index cf5a277eacb6..000000000000 --- a/xfce-base/xfce4-panel/files/digest-xfce4-panel-4.2.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3027c4601f208d290a988befed66a49f xfce4-panel-4.2.3.tar.gz 1395852 -RMD160 05a7c450d4ef964ac0e39107a8f891ab307649b2 xfce4-panel-4.2.3.tar.gz 1395852 -SHA256 cac07e51513ea3f1cf298b2be7dd9500bb81aae3806aaff64de8c15e19003262 xfce4-panel-4.2.3.tar.gz 1395852 diff --git a/xfce-base/xfce4-panel/files/digest-xfce4-panel-4.4.0-r2 b/xfce-base/xfce4-panel/files/digest-xfce4-panel-4.4.0-r2 deleted file mode 100644 index b6a88e44d63f..000000000000 --- a/xfce-base/xfce4-panel/files/digest-xfce4-panel-4.4.0-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c46925d2df393dba8f16979ba87d4776 xfce4-panel-4.4.0.tar.bz2 818534 -RMD160 513f7edf39e0eb12ac029f923be895762fde973c xfce4-panel-4.4.0.tar.bz2 818534 -SHA256 28ab25d6933f40ac19a4b6c2b41374360193b8300ad14853fb4ca78d5c152926 xfce4-panel-4.4.0.tar.bz2 818534 diff --git a/xfce-base/xfce4-panel/files/xfce4-panel-4.4.0-actions-and-orientation.patch b/xfce-base/xfce4-panel/files/xfce4-panel-4.4.0-actions-and-orientation.patch deleted file mode 100644 index 66b08c8c1bce..000000000000 --- a/xfce-base/xfce4-panel/files/xfce4-panel-4.4.0-actions-and-orientation.patch +++ /dev/null @@ -1,235 +0,0 @@ -diff -ur xfce4-panel-4.4.0.orig/panel/panel-properties.c xfce4-panel-4.4.0/panel/panel-properties.c ---- xfce4-panel-4.4.0.orig/panel/panel-properties.c 2007-01-20 18:33:00.000000000 +0200 -+++ xfce4-panel-4.4.0/panel/panel-properties.c 2007-03-27 19:36:28.000000000 +0300 -@@ -928,7 +928,7 @@ - x = xmon->geometry.x; - y = xmon->geometry.y; - -- if (priv->xoffset > 0 && priv->yoffset > 0) -+ if (priv->xoffset > -1 && priv->yoffset > -1) - { - x += priv->xoffset; - y += priv->yoffset; -Only in xfce4-panel-4.4.0/panel: panel-properties.c.orig -diff -ur xfce4-panel-4.4.0.orig/plugins/actions/actions.c xfce4-panel-4.4.0/plugins/actions/actions.c ---- xfce4-panel-4.4.0.orig/plugins/actions/actions.c 2007-01-20 18:32:58.000000000 +0200 -+++ xfce4-panel-4.4.0/plugins/actions/actions.c 2007-03-27 19:39:53.000000000 +0300 -@@ -51,9 +51,13 @@ - GtkWidget *image1; - GtkWidget *button2; - GtkWidget *image2; -+ -+ GtkWidget *box; - - int screen_id; - int style_id; -+ -+ GtkOrientation orientation; - } - Action; - -@@ -110,40 +114,44 @@ - static gboolean - actions_set_size (XfcePanelPlugin *plugin, int size, Action *action) - { -- int width; -+ gint width; - GdkPixbuf *pb = NULL; -- int border; - -- if (xfce_panel_plugin_get_orientation (plugin) == -- GTK_ORIENTATION_HORIZONTAL) -- { -- border = 2 + 2 * GTK_WIDGET(plugin)->style->ythickness; -- } -- else -- { -- border = 2 + 2 * GTK_WIDGET(plugin)->style->xthickness; -- } -+ width = size - 2 - 2 * MAX (action->button1->style->xthickness, -+ action->button1->style->ythickness); - - switch (action->type) - { - case ACTION_QUIT_LOCK: -- width = size / 2 - 2 * border; -+ if (xfce_panel_plugin_get_orientation (plugin) != action->orientation) -+ { -+ width = (size / 2) - 4 - 4 * MAX (action->button1->style->xthickness, -+ action->button1->style->ythickness); -+ width = MAX (width, 5); -+ } -+ else -+ { -+ gtk_widget_set_size_request (GTK_WIDGET (action->button1), size, size); -+ gtk_widget_set_size_request (GTK_WIDGET (action->button2), size, size); -+ } -+ -+ gtk_widget_set_size_request (GTK_WIDGET (plugin), -1, -1); -+ - pb = actions_load_icon (ACTION_LOCK, width); - gtk_image_set_from_pixbuf (GTK_IMAGE (action->image1), pb); - g_object_unref (G_OBJECT (pb)); - - pb = actions_load_icon (ACTION_QUIT, width); - gtk_image_set_from_pixbuf (GTK_IMAGE (action->image2), pb); -- g_object_unref (G_OBJECT (pb)); -- -+ g_object_unref (G_OBJECT (pb)); - break; -+ - case ACTION_QUIT: - case ACTION_LOCK: -- width = MIN(size - border, MAX(16, size/2 - border)); - pb = actions_load_icon (action->type, width); - gtk_image_set_from_pixbuf (GTK_IMAGE (action->image1), pb); - g_object_unref (G_OBJECT (pb)); -- -+ gtk_widget_set_size_request (GTK_WIDGET (plugin), size, size); - break; - } - -@@ -155,6 +163,7 @@ - { - char *file; - XfceRc *rc; -+ GtkOrientation orientation = GTK_ORIENTATION_VERTICAL; - int type = ACTION_QUIT; - - if ((file = xfce_panel_plugin_lookup_rc_file (plugin)) != NULL) -@@ -165,12 +174,14 @@ - if (rc != NULL) - { - type = xfce_rc_read_int_entry (rc, "type", ACTION_QUIT); -+ orientation = (xfce_rc_read_int_entry (rc, "orientation", 1) == 0 ? GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL); - - xfce_rc_close (rc); - } - } - - action->type = type; -+ action->orientation = orientation; - } - - static void -@@ -189,6 +200,7 @@ - return; - - xfce_rc_write_int_entry (rc, "type", action->type); -+ xfce_rc_write_int_entry (rc, "orientation", action->orientation == GTK_ORIENTATION_HORIZONTAL ? 0 : 1); - - xfce_rc_close (rc); - } -@@ -233,19 +245,13 @@ - actions_create_widgets (XfcePanelPlugin *plugin, Action *action) - { - GtkWidget *widget, *box, *button, *img; -- GtkOrientation orientation; - - widget = GTK_WIDGET (plugin); - - switch (action->type) - { - case ACTION_QUIT_LOCK: -- orientation = (xfce_panel_plugin_get_orientation (plugin) == -- GTK_ORIENTATION_HORIZONTAL) ? -- GTK_ORIENTATION_VERTICAL : -- GTK_ORIENTATION_HORIZONTAL; -- -- box = xfce_hvbox_new (orientation, TRUE, 0); -+ box = xfce_hvbox_new (action->orientation, TRUE, 0); - gtk_widget_show (box); - gtk_container_add (GTK_CONTAINER (plugin), box); - -@@ -368,6 +374,9 @@ - action_type_changed (GtkComboBox *box, Action *action) - { - action->type = gtk_combo_box_get_active (box); -+ -+ /* orientation only sensitive when 2 buttons are shown */ -+ gtk_widget_set_sensitive (action->box, action->type == 2 ? TRUE : FALSE); - - gtk_widget_destroy (GTK_BIN (action->plugin)->child); - actions_create_widgets (action->plugin, action); -@@ -377,6 +386,19 @@ - } - - static void -+orientation_changed (GtkComboBox *box, Action *action) -+{ -+ action->orientation = (gtk_combo_box_get_active (box) == 0 ? -+ GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL); -+ -+ gtk_widget_destroy (GTK_BIN (action->plugin)->child); -+ actions_create_widgets (action->plugin, action); -+ -+ actions_set_size (action->plugin, -+ xfce_panel_plugin_get_size (action->plugin), action); -+} -+ -+static void - actions_dialog_response (GtkWidget *dlg, int reponse, Action *action) - { - g_object_set_data (G_OBJECT (action->plugin), "dialog", NULL); -@@ -389,7 +411,8 @@ - static void - actions_properties_dialog (XfcePanelPlugin *plugin, Action *action) - { -- GtkWidget *dlg, *vbox, *hbox, *label, *box; -+ GtkWidget *dlg, *vbox, *hbox, *label, *box, *box2; -+ GtkSizeGroup *sg; - - xfce_panel_plugin_block_menu (plugin); - -@@ -411,6 +434,8 @@ - - gtk_container_set_border_width (GTK_CONTAINER (dlg), 2); - -+ sg = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); -+ - vbox = gtk_vbox_new (FALSE, 8); - gtk_container_set_border_width (GTK_CONTAINER (vbox), 6); - gtk_widget_show (vbox); -@@ -423,6 +448,7 @@ - - label = gtk_label_new (_("Select action type:")); - gtk_widget_show (label); -+ gtk_size_group_add_widget (sg, label); - gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); - - box = gtk_combo_box_new_text (); -@@ -437,6 +463,34 @@ - - g_signal_connect (box, "changed", G_CALLBACK (action_type_changed), - action); -+ -+ hbox = gtk_hbox_new (FALSE, 8); -+ gtk_widget_show (hbox); -+ gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); -+ -+ label = gtk_label_new (_("Orientation:")); -+ gtk_widget_show (label); -+ gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5); -+ gtk_size_group_add_widget (sg, label); -+ gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); -+ -+ box2 = action->box = gtk_combo_box_new_text (); -+ gtk_widget_show (box2); -+ gtk_box_pack_start (GTK_BOX (hbox), box2, TRUE, TRUE, 0); -+ -+ /* only sensitive when 2 buttons are shown */ -+ gtk_widget_set_sensitive (action->box, action->type == 2 ? TRUE : FALSE); -+ -+ gtk_combo_box_append_text (GTK_COMBO_BOX (box2), _("Horizontal")); -+ gtk_combo_box_append_text (GTK_COMBO_BOX (box2), _("Vertical")); -+ -+ gtk_combo_box_set_active (GTK_COMBO_BOX (box2), -+ action->orientation == GTK_ORIENTATION_HORIZONTAL ? 0 : 1); -+ -+ g_signal_connect (box2, "changed", G_CALLBACK (orientation_changed), -+ action); -+ -+ g_object_unref (G_OBJECT (sg)); - - gtk_widget_show (dlg); - } diff --git a/xfce-base/xfce4-panel/xfce4-panel-4.2.3.ebuild b/xfce-base/xfce4-panel/xfce4-panel-4.2.3.ebuild deleted file mode 100644 index 1eec1ba4180f..000000000000 --- a/xfce-base/xfce4-panel/xfce4-panel-4.2.3.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfce4-panel/xfce4-panel-4.2.3.ebuild,v 1.12 2006/12/02 09:39:10 dev-zero Exp $ - -inherit xfce42 - -DESCRIPTION="Xfce 4 panel" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86 ~x86-fbsd" - -RDEPEND="|| ( ( x11-libs/libX11 - x11-libs/libICE - x11-libs/libSM ) - virtual/x11 ) - x11-libs/startup-notification - ~xfce-base/xfce-mcs-plugins-${PV}" -DEPEND="${RDEPEND} - || ( ( x11-libs/libXt - x11-proto/xproto ) - virtual/x11 )" - -core_package diff --git a/xfce-base/xfce4-panel/xfce4-panel-4.4.0-r2.ebuild b/xfce-base/xfce4-panel/xfce4-panel-4.4.0-r2.ebuild deleted file mode 100644 index 5c27a3594937..000000000000 --- a/xfce-base/xfce4-panel/xfce4-panel-4.4.0-r2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfce4-panel/xfce4-panel-4.4.0-r2.ebuild,v 1.1 2007/03/27 16:58:35 drac Exp $ - -inherit eutils xfce44 - -xfce44 - -DESCRIPTION="Panel" -HOMEPAGE="http://www.xfce.org/projects/xfce4-panel/" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" - -IUSE="debug doc startup-notification" - -RDEPEND="x11-libs/libX11 - x11-libs/libSM - gnome-base/librsvg - >=x11-libs/gtk+-2.6 - >=xfce-base/libxfce4util-${XFCE_MASTER_VERSION} - >=xfce-base/libxfcegui4-${XFCE_MASTER_VERSION} - >=xfce-base/xfce-mcs-manager-${XFCE_MASTER_VERSION} - startup-notification? ( x11-libs/startup-notification )" -DEPEND="${RDEPEND} - dev-util/pkgconfig - doc? ( dev-util/gtk-doc ) - !<xfce-base/xfce-utils-4.4" - -DOCS="AUTHORS ChangeLog HACKING NEWS README README.Plugins" - -xfce44_core_package - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-actions-and-orientation.patch -} |