Changeset 417c2fc26dedefcc7290adcd925c6b3ef656345f

Show
Ignore:
Timestamp:
03/24/09 19:04:42 (3 years ago)
Author:
Lincoln de Sousa <lincoln@…>
Children:
aca6a9bfe3c55d26345cda97b700f17690ea2ab3
Parents:
8fd387306e4b1be05ca3f43e95e8cb5238d8f0d9
git-committer:
Lincoln de Sousa <lincoln@…> (03/24/09 19:04:42)
Message:

Adding an entry in the preferences menu to prefs windows.

It is important to users that hides trayicon and needs
to configure guake or just want to configure it without
open it.

Files:
2 added
6 modified

Legend:

Unmodified
Added
Removed
  • .gitignore

    r1503e70 r417c2fc  
    2424guake_globals.py 
    2525guake 
     26guake-prefs 
    2627autom4te.cache 
    2728POTFILES 
  • configure.ac

    rd72bfcf r417c2fc  
    9595    data/Makefile 
    9696    data/guake.desktop 
     97    data/guake-prefs.desktop 
    9798    data/org.gnome.Guake.service 
    9899    data/pixmaps/Makefile 
     
    102103    src/guake_globals.py 
    103104    src/guake 
     105    src/guake-prefs 
    104106]) 
    105107 
  • data/Makefile.am

    r1cd412b r417c2fc  
    1616@INTLTOOL_DESKTOP_RULE@ 
    1717desktopdir = $(datadir)/applications 
    18 desktop_in_files = guake.desktop.in 
     18desktop_in_files = guake.desktop.in guake-prefs.desktop.in 
    1919desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 
    2020 
  • m4/intltool.m4

    r3eb6131 r417c2fc  
    7676   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
    7777 
    78 AC_SUBST(INTLTOOL_DESKTOP_RULE) 
    79 AC_SUBST(INTLTOOL_DIRECTORY_RULE) 
    80 AC_SUBST(INTLTOOL_KEYS_RULE) 
    81 AC_SUBST(INTLTOOL_PROP_RULE) 
    82 AC_SUBST(INTLTOOL_OAF_RULE) 
    83 AC_SUBST(INTLTOOL_PONG_RULE) 
    84 AC_SUBST(INTLTOOL_SERVER_RULE) 
    85 AC_SUBST(INTLTOOL_SHEET_RULE) 
    86 AC_SUBST(INTLTOOL_SOUNDLIST_RULE) 
    87 AC_SUBST(INTLTOOL_UI_RULE) 
    88 AC_SUBST(INTLTOOL_XAM_RULE) 
    89 AC_SUBST(INTLTOOL_KBD_RULE) 
    90 AC_SUBST(INTLTOOL_XML_RULE) 
    91 AC_SUBST(INTLTOOL_XML_NOMERGE_RULE) 
    92 AC_SUBST(INTLTOOL_CAVES_RULE) 
    93 AC_SUBST(INTLTOOL_SCHEMAS_RULE) 
    94 AC_SUBST(INTLTOOL_THEME_RULE) 
    95 AC_SUBST(INTLTOOL_SERVICE_RULE) 
    96 AC_SUBST(INTLTOOL_POLICY_RULE) 
     78_IT_SUBST(INTLTOOL_DESKTOP_RULE) 
     79_IT_SUBST(INTLTOOL_DIRECTORY_RULE) 
     80_IT_SUBST(INTLTOOL_KEYS_RULE) 
     81_IT_SUBST(INTLTOOL_PROP_RULE) 
     82_IT_SUBST(INTLTOOL_OAF_RULE) 
     83_IT_SUBST(INTLTOOL_PONG_RULE) 
     84_IT_SUBST(INTLTOOL_SERVER_RULE) 
     85_IT_SUBST(INTLTOOL_SHEET_RULE) 
     86_IT_SUBST(INTLTOOL_SOUNDLIST_RULE) 
     87_IT_SUBST(INTLTOOL_UI_RULE) 
     88_IT_SUBST(INTLTOOL_XAM_RULE) 
     89_IT_SUBST(INTLTOOL_KBD_RULE) 
     90_IT_SUBST(INTLTOOL_XML_RULE) 
     91_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) 
     92_IT_SUBST(INTLTOOL_CAVES_RULE) 
     93_IT_SUBST(INTLTOOL_SCHEMAS_RULE) 
     94_IT_SUBST(INTLTOOL_THEME_RULE) 
     95_IT_SUBST(INTLTOOL_SERVICE_RULE) 
     96_IT_SUBST(INTLTOOL_POLICY_RULE) 
    9797 
    9898# Check the gettext tools to make sure they are GNU 
     
    111111fi 
    112112 
    113 AC_PATH_PROG(INTLTOOL_PERL, [perl]) 
     113AC_PATH_PROG(INTLTOOL_PERL, perl) 
    114114if test -z "$INTLTOOL_PERL"; then 
    115    AC_MSG_ERROR([perl not found; required for intltool]) 
    116 fi 
    117 if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then 
    118    AC_MSG_ERROR([perl 5.x required for intltool]) 
     115   AC_MSG_ERROR([perl not found]) 
     116fi 
     117AC_MSG_CHECKING([for perl >= 5.8.1]) 
     118$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 
     119if test $? -ne 0; then 
     120   AC_MSG_ERROR([perl 5.8.1 is required for intltool]) 
     121else 
     122   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" 
     123   AC_MSG_RESULT([$IT_PERL_VERSION]) 
    119124fi 
    120125if test "x$2" != "xno-xml"; then 
     
    172177AC_CONFIG_COMMANDS_PRE([ 
    173178  AC_CONFIG_COMMANDS([$1/stamp-it], [ 
    174     if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" ]; then 
     179    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then 
    175180       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) 
    176181    fi 
     
    194199]) 
    195200 
     201# _IT_SUBST(VARIABLE) 
     202# ------------------- 
     203# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST 
     204# 
     205AC_DEFUN([_IT_SUBST], 
     206[ 
     207AC_SUBST([$1]) 
     208m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) 
     209] 
     210) 
     211 
    196212# deprecated macros 
    197213AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) 
  • po/POTFILES.in

    r6321793 r417c2fc  
    44data/prefs.glade 
    55data/guake.desktop.in 
     6data/guake-prefs.desktop.in 
    67src/dbusiface.py 
    78src/guake.py 
  • src/Makefile.am

    rbfa2a8e r417c2fc  
    22 
    33guakedir = $(bindir) 
    4 bin_SCRIPTS = guake 
     4bin_SCRIPTS = guake guake-prefs 
    55 
    66guakelibdir = $(libdir)/guake