Re: [pgadmin-hackers] Fwd: [Bug 484145] [NEW] Keyboard shortcuts for closing window / application inconsistent with GNOME

2009-11-19 Thread Guillaume Lelarge
Le jeudi 19 novembre 2009 à 08:20:14, Dave Page a écrit :
> On Thu, Nov 19, 2009 at 4:16 PM, Guillaume Lelarge
> 
>  wrote:
> > I probably didn't explain enough. Alt-F4 is the default at least on
> > Windows and Linux (KDE). But it is a window manager shortcut, not an
> > application one.
> >
> > The usual default shortcuts are Ctrl-Q to quit an application and Ctrl-W
> > to close a window. We have right now the Alt-F4 shortcut on our Quit item
> > in the File menu. Something that no other application does AFAICT.
> 
> Usual if you're a Windows or KDE user then - probably 90% of the world or
>  more!
> 

I'm quite sure Microsoft Word (and others) display Ctrl-Q on its Quit item, 
and not Alt-F4. I can't check right now, but will do tonight.

> How do other wxWidgets apps do it? I'd be surprised if they set their
> own shortcuts based on the window manager that was in use at runtime.
> 

Depends on the sample you look at it. I've seen Alt-X and Ctrl-Q.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] [pgAdmin III] #93: Recording query history

2009-11-19 Thread pgAdmin Trac
#93: Recording query history
---+
 Reporter:  gleu   |   Owner:  dpage
 Type:  feature|  Status:  new  
 Priority:  minor  |   Milestone:   
Component:  pgadmin| Version:  trunk
 Keywords:  querytool  |Platform:  all  
---+
 There is/was a similar in the DB2 management GUI which I used a little a
 few years back - basically, they have a combo box above the query input
 STC (spanning the width of the STC), in which every time you execute a
 query, it adds a flattened (ie. \n's replaced with spaces, double spaces
 replaced with single) version of the first few lines to the combo list. If
 you select one of those queries, it simply replaces the STC contents with
 the unflattened version of the original query.

-- 
Ticket URL: 
pgAdmin III 
pgAdmin III

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] SVN Commit by guillaume: r8081 - branches/REL-1_10_0_PATCHES/pgadmin3/docs/en_US

2009-11-19 Thread svn
Author: guillaume

Date: 2009-11-19 20:41:36 + (Thu, 19 Nov 2009)

New Revision: 8081

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=8081&view=rev

Log:
Doc change: dbname is postgres, not pgadmin.



Modified:
   branches/REL-1_10_0_PATCHES/pgadmin3/docs/en_US/pgagent-install.html

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] SVN Commit by guillaume: r8082 - in branches/REL-1_10_0_PATCHES/pgadmin3/docs: cs_CZ fr_FR

2009-11-19 Thread svn
Author: guillaume

Date: 2009-11-19 20:43:26 + (Thu, 19 Nov 2009)

New Revision: 8082

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=8082&view=rev

Log:
Translation updates.



Modified:
   branches/REL-1_10_0_PATCHES/pgadmin3/docs/cs_CZ/pgagent-install.html
   branches/REL-1_10_0_PATCHES/pgadmin3/docs/fr_FR/pgagent-install.html

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] SVN Commit by guillaume: r8083 - in trunk/pgadmin3/docs: cs_CZ en_US fr_FR

2009-11-19 Thread svn
Author: guillaume

Date: 2009-11-19 20:45:09 + (Thu, 19 Nov 2009)

New Revision: 8083

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=8083&view=rev

Log:
Doc change: dbname is postgres, not pgadmin.
Translation updates, included.



Modified:
   trunk/pgadmin3/docs/cs_CZ/pgagent-install.html
   trunk/pgadmin3/docs/en_US/pgagent-install.html
   trunk/pgadmin3/docs/fr_FR/pgagent-install.html

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Re: [pgadmin-hackers] Fwd: Re: [ADMIN] Can i write a time-trigger?

2009-11-19 Thread Guillaume Lelarge
Le jeudi 19 novembre 2009 à 08:09:16, Dave Page a écrit :
> On Thu, Nov 19, 2009 at 3:57 PM, Guillaume Lelarge
> 
>  wrote:
> > Hi,
> >
> > I don't know all the in and out of pgagent, but I think he's right in his
> > complaint (unfortunately not in the way he did complain). Should we
> > really have "dbname=postgres" instead of "dbname=pgadmin" or am I missing
> > something obvious?
> 
> Yes, probably. iirc, those docs were written before we had a postgres
> database as standard - and we certainly didn't recommend using
> template1 which was the old default maintenance DB.
> 

Fixed.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Re: [pgadmin-hackers] Fwd: [Bug 484145] [NEW] Keyboard shortcuts for closing window / application inconsistent with GNOME

2009-11-19 Thread Guillaume Lelarge
Le jeudi 19 novembre 2009 à 08:19:06, Guillaume Lelarge a écrit :
> Le jeudi 19 novembre 2009 à 08:12:29, Dave Page a écrit :
> > On Thu, Nov 19, 2009 at 4:05 PM, Guillaume Lelarge
> >
> >  wrote:
> > > Hi,
> > >
> > > This is a bug report from Ubuntu's Launchpad. I think they are right,
> > > and wonder why we use the Alt-F4 shortcut. Probably something that was
> > > done in the first releases of pgAdmin?
> >
> > Probably - but also we've tried to standardise the keys in pgAdmin
> > across platforms, to help users that run different OSs.
> 
> AFAICT, Ctrl-Q and Ctrl-W are far more standardize on the different OSs
>  than Alt-F4. I have a bad memory, but I really don't remember using Alt-F4
>  on Mac OS X.
> 

Here is a patch that fixes this. Try it, you'll be able to use Alt-F4 or Ctrl-
Q on the main window and Alt-F4 or Ctrl-W on the other ones (querytool for 
example). Only Ctrl-Q and Ctrl-W are displayed in the Quit menu item.

Other comments?


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com
Index: pgadmin/frm/frmConfig.cpp
===
--- pgadmin/frm/frmConfig.cpp	(révision 8080)
+++ pgadmin/frm/frmConfig.cpp	(copie de travail)
@@ -128,7 +128,7 @@
 toolBar->AddSeparator();
 
 fileMenu->Append(MNU_RECENT, _("&Recent files"), recentFileMenu);
-fileMenu->Append(MNU_EXIT, _("E&xit\tAlt-F4"), _("Exit configuration tool"));
+fileMenu->Append(MNU_EXIT, _("E&xit\tCtrl-W"), _("Exit configuration tool"));
 
 editMenu->Append(MNU_UNDO, _("&Undo\tCtrl-Z"), _("Undo last action"), wxITEM_NORMAL);
 toolBar->AddTool(MNU_UNDO, _("Undo"), wxBitmap(edit_undo_xpm), _("Undo last action"), wxITEM_NORMAL);
Index: pgadmin/frm/frmQuery.cpp
===
--- pgadmin/frm/frmQuery.cpp	(révision 8080)
+++ pgadmin/frm/frmQuery.cpp	(copie de travail)
@@ -232,7 +232,7 @@
 fileMenu->Append(MNU_QUICKREPORT, _("&Quick report..."),  _("Run a quick report..."));
 fileMenu->AppendSeparator();
 fileMenu->Append(MNU_RECENT, _("&Recent files"), recentFileMenu);
-fileMenu->Append(MNU_EXIT, _("E&xit\tAlt-F4"), _("Exit query window"));
+fileMenu->Append(MNU_EXIT, _("E&xit\tCtrl-W"), _("Exit query window"));
 
 menuBar->Append(fileMenu, _("&File"));
 
Index: pgadmin/frm/frmStatus.cpp
===
--- pgadmin/frm/frmStatus.cpp	(révision 8080)
+++ pgadmin/frm/frmStatus.cpp	(copie de travail)
@@ -191,7 +191,7 @@
 menuBar = new wxMenuBar();
 
 fileMenu = new wxMenu();
-fileMenu->Append(MNU_EXIT, _("E&xit\tAlt-F4"), _("Exit query window"));
+fileMenu->Append(MNU_EXIT, _("E&xit\tCtrl-W"), _("Exit query window"));
 
 menuBar->Append(fileMenu, _("&File"));
 
Index: pgadmin/frm/frmMain.cpp
===
--- pgadmin/frm/frmMain.cpp	(révision 8080)
+++ pgadmin/frm/frmMain.cpp	(copie de travail)
@@ -305,7 +305,7 @@
 new pgpassConfigFileFactory(menuFactories, fileMenu, 0);
 
 fileMenu->AppendSeparator();
-fileMenu->Append(MNU_EXIT, _("E&xit\tAlt-F4"),_("Quit this program."));
+fileMenu->Append(MNU_EXIT, _("E&xit\tCtrl-Q"),_("Quit this program."));
 
 new slonyRestartFactory(menuFactories, slonyMenu, 0);
 new slonyUpgradeFactory(menuFactories, slonyMenu, 0);

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] SVN Commit by dpage: r8084 - in trunk/pgadmin3: . pgadmin/frm

2009-11-19 Thread svn
Author: dpage

Date: 2009-11-20 01:42:32 + (Fri, 20 Nov 2009)

New Revision: 8084

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=8084&view=rev

Log:
Fix font dialogue on Snow Leopard.


Modified:
   trunk/pgadmin3/CHANGELOG
   trunk/pgadmin3/pgadmin/frm/frmOptions.cpp

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] SVN Commit by dpage: r8085 - in branches/REL-1_10_0_PATCHES/pgadmin3: . pgadmin/frm

2009-11-19 Thread svn
Author: dpage

Date: 2009-11-20 01:47:44 + (Fri, 20 Nov 2009)

New Revision: 8085

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=8085&view=rev

Log:
Fix font dialogue on Snow Leopard.


Modified:
   branches/REL-1_10_0_PATCHES/pgadmin3/CHANGELOG
   branches/REL-1_10_0_PATCHES/pgadmin3/pgadmin/frm/frmOptions.cpp

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


[pgadmin-hackers] [pgAdmin III] #94: Font Selection Bug on OS X

2009-11-19 Thread pgAdmin Trac
#94: Font Selection Bug on OS X
---+
 Reporter:  David Blewett  |   Owner:  dpage   
 Type:  bug|  Status:  new 
 Priority:  minor  |   Milestone:  1.10.1  
Component:  pgadmin| Version:  1.10
 Keywords:  options|Platform:  mac os x
---+
 Just tried to change the font on my OS X Snow Leopard laptop and
 encountered an odd bug. I'm using the 1.10.0 dmg. If you try to change the
 font on either the main Preferences tab or the Query tab, when you click
 the . . . button the font selection window appears but then immediately
 disappears, making it impossible to choose a new font.

-- 
Ticket URL: 
pgAdmin III 
pgAdmin III

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Re: [pgadmin-hackers] [pgAdmin III] #94: Font Selection Bug on OS X

2009-11-19 Thread pgAdmin Trac
#94: Font Selection Bug on OS X
+---
  Reporter:  David Blewett  |   Owner:  dpage  
  Type:  bug|  Status:  closed 
  Priority:  minor  |   Milestone:  1.10.1 
 Component:  pgadmin| Version:  1.10   
Resolution:  fixed  |Keywords:  options
  Platform:  mac os x   |  
+---
Changes (by gleu):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Fixed in r8084 and r8085.

-- 
Ticket URL: 
pgAdmin III 
pgAdmin III

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers