add gmrun.desktop / gmrun.png
This commit is contained in:
parent
4615a8701c
commit
42860f123a
2
AUTHORS
2
AUTHORS
|
@ -1,5 +1,7 @@
|
||||||
Initial author: Mihai Bazon <mishoo@infoiasi.ro>
|
Initial author: Mihai Bazon <mishoo@infoiasi.ro>
|
||||||
|
|
||||||
|
Icon: Andrea Soragna - https://icon-icons.com/icon/gtk-execute/36132
|
||||||
|
|
||||||
CVS:
|
CVS:
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|
23
Makefile.am
23
Makefile.am
|
@ -1,30 +1,9 @@
|
||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
SUBDIRS = src
|
SUBDIRS = data src
|
||||||
|
|
||||||
myrcdir = @sysconfdir@
|
myrcdir = @sysconfdir@
|
||||||
myrc_DATA = gmrunrc
|
myrc_DATA = gmrunrc
|
||||||
EXTRA_DIST = gmrunrc
|
EXTRA_DIST = gmrunrc
|
||||||
|
|
||||||
install-data-local:
|
|
||||||
@$(NORMAL_INSTALL)
|
|
||||||
if test -d $(srcdir)/pixmaps; then \
|
|
||||||
$(SHELL) $(top_srcdir)/install-sh -d $(DESTDIR)$(pkgdatadir)/pixmaps; \
|
|
||||||
for pixmap in $(srcdir)/pixmaps/*; do \
|
|
||||||
if test -f $$pixmap; then \
|
|
||||||
$(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \
|
|
||||||
fi \
|
|
||||||
done \
|
|
||||||
fi
|
|
||||||
|
|
||||||
dist-hook:
|
|
||||||
if test -d pixmaps; then \
|
|
||||||
mkdir $(distdir)/pixmaps; \
|
|
||||||
for pixmap in pixmaps/*; do \
|
|
||||||
if test -f $$pixmap; then \
|
|
||||||
cp -p $$pixmap $(distdir)/pixmaps; \
|
|
||||||
fi \
|
|
||||||
done \
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,7 @@ AC_SUBST(PREFIX)
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
|
data/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
8
data/Makefile.am
Normal file
8
data/Makefile.am
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
appdir = $(datadir)/applications
|
||||||
|
app_DATA = gmrun.desktop
|
||||||
|
|
||||||
|
icondir = $(datadir)/pixmaps
|
||||||
|
icon_DATA = gmrun.png
|
||||||
|
|
9
data/gmrun.desktop
Normal file
9
data/gmrun.desktop
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=gmrun
|
||||||
|
Icon=gmrun.png
|
||||||
|
Comment=execute a command
|
||||||
|
Exec=gmrun
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=TerminalEmulator
|
||||||
|
GenericName=gmrun
|
BIN
data/gmrun.png
Normal file
BIN
data/gmrun.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
|
@ -551,7 +551,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
// window icon
|
// window icon
|
||||||
GtkIconTheme * theme = gtk_icon_theme_get_default ();
|
GtkIconTheme * theme = gtk_icon_theme_get_default ();
|
||||||
GdkPixbuf * icon = gtk_icon_theme_load_icon (theme, "system-run", 48, GTK_ICON_LOOKUP_USE_BUILTIN, &error);
|
GdkPixbuf * icon = gtk_icon_theme_load_icon (theme, "gmrun", 48, GTK_ICON_LOOKUP_USE_BUILTIN, &error);
|
||||||
if (error) {
|
if (error) {
|
||||||
g_object_set (dialog, "icon-name", "gtk-execute", NULL);
|
g_object_set (dialog, "icon-name", "gtk-execute", NULL);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user