This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Short, Self Contained, Correct Example to demostrate Thunar GTK3 issue | |
* related to shortcuts pane layout. | |
* More details: https://github.com/andreldm/thunar/issues/40 | |
* Build: | |
* gcc $(pkg-config --cflags gtk+-2.0) sscce.c -o sscce $(pkg-config --libs gtk+-2.0) | |
* gcc $(pkg-config --cflags gtk+-3.0) sscce.c -o sscce $(pkg-config --libs gtk+-3.0) | |
*/ | |
#include <gtk/gtk.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c | |
index ca370cd5..4f8d4f98 100644 | |
--- a/thunar/thunar-shortcuts-view.c | |
+++ b/thunar/thunar-shortcuts-view.c | |
@@ -340,6 +340,9 @@ thunar_shortcuts_view_init (ThunarShortcutsView *view) | |
/* allocate the text renderer (ellipsizing as required, but "File System" must fit) */ | |
renderer = g_object_new (GTK_TYPE_CELL_RENDERER_TEXT, | |
"ellipsize", PANGO_ELLIPSIZE_END, | |
+ /*"width-chars", 20,*/ | |
+ "cell-background", "lightblue", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac.in b/configure.ac.in | |
index 9012783..40b8806 100644 | |
--- a/configure.ac.in | |
+++ b/configure.ac.in | |
@@ -45,7 +45,7 @@ AC_HEADER_STDC | |
dnl *********************************** | |
dnl *** Check for required packages *** | |
dnl *********************************** | |
-XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.13.0]) | |
+XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.12.0]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure.ac.in b/configure.ac.in | |
index 738e6b0..44012cd 100644 | |
--- a/configure.ac.in | |
+++ b/configure.ac.in | |
@@ -92,15 +92,15 @@ XDT_I18N([@LINGUAS@]) | |
dnl *********************************** | |
dnl *** Check for required packages *** | |
dnl *********************************** | |
-XDT_CHECK_PACKAGE([EXO], [exo-1], [0.10.0]) | |
+XDT_CHECK_PACKAGE([EXO], [exo-2], [0.10.0]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/andreldm/thunar.git thunar-gtk3 | |
cd thunar-gtk3 | |
./autogen.sh | |
make | |
pkill -i thunar | |
thunar/thunar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: John Doe <john.doe at gmail dot com> | |
_pkgname=medis | |
_version=git | |
pkgname=${_pkgname}-${_version} | |
pkgver=0.6.1.c212 | |
pkgrel=1 | |
pkgdesc='Medis is a beautiful, easy-to-use database management application for Redis.' | |
arch=('x86_64' 'i686') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.catalina.LifecycleListener; | |
import org.apache.catalina.core.AprLifecycleListener; | |
import org.springframework.beans.factory.annotation.Value; | |
import org.springframework.boot.context.embedded.EmbeddedServletContainerFactory; | |
import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
/** | |
* NOTE: You also need to install APR on your system, on Arch Linux the package is called `tomcat-native`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Gtk; | |
public class Main { | |
class AppStatusIcon : Window { | |
private StatusIcon trayicon; | |
private Gtk.Menu menuSystem; | |
private AboutDialog aboutDialog; | |
public AppStatusIcon() { | |
/* Create tray icon */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="iso-8859-15"> | |
<title>Charset problems</title> | |
</head> | |
<body> | |
<p>Run: browser-sync start --server --files="*.html"</p> | |
<p>Ärzte Serviços Ursprünge questão gemäß à sensível responsável für é bilhões dólares modernização segurança.</p> | |
</body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run before: [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Interop.Word") | |
# Usage: .\doc2html.ps1 -docpath "C:\full\path\to\docs\folder" -htmlpath "C:\full\path\output\folder" | |
param([string]$docpath,[string]$htmlpath = $docpath); | |
$srcfiles = Get-ChildItem $docPath -include *.doc,*.docx -recurse | |
$saveFormat = [Enum]::Parse([Microsoft.Office.Interop.Word.WdSaveFormat], "wdFormatFilteredHTML"); | |
$word = new-object -comobject word.application | |
$word.Visible = $False | |