mirror of
https://github.com/mac-a-r0ni/crux-xfce4.git
synced 2025-01-22 22:52:20 +01:00
Added patch
This commit is contained in:
parent
f777b14a4e
commit
fe1cfee69b
@ -1,5 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/jolupalabs.pub
|
||||
RWRdPtfuMX7+XKvmsM1q4WBp4WCR1YAGhMy1qAEasU/WRbW5JzxhkikFxUxrcZCY9XYgB+JhBcb2IrEB0eu3peQ6GcKwGe551QQ=
|
||||
SHA256 (Pkgfile) = d89607badb9d8cd513d71f0b709c2e5770cfd6871d2837ba8177c3c5bfaa209e
|
||||
RWRdPtfuMX7+XOKzCs8V2nyZvjbDhY5dJkjCE6xSxvVw+MN2hxG8Kwol1JzsmBPM8tblSSY2pdV8sfkLU+5tKUitannPjO5n6gY=
|
||||
SHA256 (Pkgfile) = 94922920c7781c814894b18da38c23c00ddc088251124c9f683299a3e440ad19
|
||||
SHA256 (.footprint) = aa9f624d9df1422cfd24d9acce76b4d7cdd730688e24c619c0529040c54948b0
|
||||
SHA256 (exo-0.12.7.tar.gz) = 009b833a293b927a080941eb4039c879606a2b80a53145f1f2bc8681838862dd
|
||||
SHA256 (patch1.patch) = 4cab842d05c8ce18212bc945b315d456bc1e01f970d886fb9cf6f77929b49cb0
|
||||
|
@ -5,13 +5,15 @@
|
||||
|
||||
name=exo
|
||||
version=0.12.7
|
||||
release=1
|
||||
source=(https://git.xfce.org/xfce/$name/snapshot/$name-$version.tar.gz)
|
||||
release=2
|
||||
source=(https://git.xfce.org/xfce/$name/snapshot/$name-$version.tar.gz patch1.patch)
|
||||
|
||||
build() {
|
||||
|
||||
cd $name-$version
|
||||
|
||||
patch -p1 -i $SRC/patch1.patch
|
||||
|
||||
./autogen.sh \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib/$name \
|
||||
|
48
exo/patch1.patch
Normal file
48
exo/patch1.patch
Normal file
@ -0,0 +1,48 @@
|
||||
From 9f207f83fbdadf053b566ad1cc9129f64b8e2c8e Mon Sep 17 00:00:00 2001
|
||||
From: Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>
|
||||
Date: Tue, 6 Aug 2019 23:02:50 +0200
|
||||
Subject: preferred-apps: Add button icons to Help/Close
|
||||
|
||||
---
|
||||
exo-helper/exo-helper-chooser-dialog.c | 11 ++++++++++-
|
||||
1 file changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/exo-helper/exo-helper-chooser-dialog.c b/exo-helper/exo-helper-chooser-dialog.c
|
||||
index cb943af..f322eb6 100644
|
||||
--- a/exo-helper/exo-helper-chooser-dialog.c
|
||||
+++ b/exo-helper/exo-helper-chooser-dialog.c
|
||||
@@ -88,6 +88,7 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
|
||||
GtkWidget *notebook;
|
||||
GtkWidget *chooser;
|
||||
GtkWidget *button;
|
||||
+ GtkWidget *image;
|
||||
GtkWidget *frame;
|
||||
GtkWidget *label;
|
||||
GtkWidget *vbox;
|
||||
@@ -96,14 +97,22 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
|
||||
/* verify category settings */
|
||||
g_assert (EXO_HELPER_N_CATEGORIES == 4);
|
||||
|
||||
- gtk_dialog_add_button (GTK_DIALOG (chooser_dialog), _("_Close"), GTK_RESPONSE_CLOSE);
|
||||
gtk_window_set_icon_name (GTK_WINDOW (chooser_dialog), "preferences-desktop-default-applications");
|
||||
gtk_window_set_title (GTK_WINDOW (chooser_dialog), _("Preferred Applications"));
|
||||
gtk_window_set_default_size (GTK_WINDOW (chooser_dialog), 350, -1);
|
||||
xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG (chooser_dialog), _("Select default applications for various services"));
|
||||
|
||||
+ /* add the "Close" button */
|
||||
+ button = gtk_button_new_with_mnemonic (_("_Close"));
|
||||
+ image = gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_BUTTON);
|
||||
+ gtk_button_set_image (GTK_BUTTON (button), image);
|
||||
+ gtk_dialog_add_action_widget (GTK_DIALOG (chooser_dialog), button, GTK_RESPONSE_CLOSE);
|
||||
+ gtk_widget_show (button);
|
||||
+
|
||||
/* add the "Help" button */
|
||||
button = gtk_button_new_with_mnemonic (_("_Help"));
|
||||
+ image = gtk_image_new_from_icon_name ("help-browser", GTK_ICON_SIZE_BUTTON);
|
||||
+ gtk_button_set_image (GTK_BUTTON (button), image);
|
||||
g_signal_connect_swapped (G_OBJECT (button), "clicked", G_CALLBACK (exo_helper_chooser_dialog_show_help), chooser_dialog);
|
||||
exo_gtk_dialog_add_secondary_button (GTK_DIALOG (chooser_dialog), GTK_WIDGET (button));
|
||||
gtk_widget_show (button);
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user