[pgadmin-hackers] Adding shortcuts to some menus
Hi, Here is a patch to add three menu shortcuts. It should not be applied to 1.8 release because this patch change strings. And I don't want this now. I'm not even sure about the key I choose : - View All Rows : Ctrl-D - View Filtered Rows : Ctrl-G - Query Tool : Ctrl-E Do you have better shortcuts to propose ? Thanks. Regards. -- Guillaume. Index: pgadmin/frm/frmEditGrid.cpp === --- pgadmin/frm/frmEditGrid.cpp (révision 6592) +++ pgadmin/frm/frmEditGrid.cpp (copie de travail) @@ -2730,8 +2730,8 @@ editGridFactory::editGridFactory(menuFactoryList *list, wxMenu *mnu, wxToolBar *toolbar) : editGridFactoryBase(list) { -mnu->Append(id, _("View &All Rows"), _("View the data in the selected object.")); -toolbar->AddTool(id, _("View All Rows"), wxBitmap(viewdata_xpm), _("View the data in the selected object."), wxITEM_NORMAL); +mnu->Append(id, _("View &All Rows\tCtrl-D"), _("View the data in the selected object.")); +toolbar->AddTool(id, _("View All Rows\tCtrl-D"), wxBitmap(viewdata_xpm), _("View the data in the selected object."), wxITEM_NORMAL); context = false; } @@ -2745,8 +2745,8 @@ #include "images/viewfiltereddata.xpm" editGridFilteredFactory::editGridFilteredFactory(menuFactoryList *list, wxMenu *mnu, wxToolBar *toolbar) : editGridFactoryBase(list) { -mnu->Append(id, _("View F&iltered Rows..."), _("Apply a filter and view the data in the selected object.")); -toolbar->AddTool(id, _("View Filtered Rows"), wxBitmap(viewfiltereddata_xpm), _("Apply a filter and view the data in the selected object."), wxITEM_NORMAL); +mnu->Append(id, _("View F&iltered Rows...\tCtrl-G"), _("Apply a filter and view the data in the selected object.")); +toolbar->AddTool(id, _("View Filtered Rows\tCtrl-G"), wxBitmap(viewfiltereddata_xpm), _("Apply a filter and view the data in the selected object."), wxITEM_NORMAL); context = false; } Index: pgadmin/frm/frmQuery.cpp === --- pgadmin/frm/frmQuery.cpp (révision 6592) +++ pgadmin/frm/frmQuery.cpp (copie de travail) @@ -1982,8 +1982,8 @@ queryToolFactory::queryToolFactory(menuFactoryList *list, wxMenu *mnu, wxToolBar *toolbar) : queryToolBaseFactory(list) { -mnu->Append(id, _("&Query tool"), _("Execute arbitrary SQL queries.")); -toolbar->AddTool(id, _("Query tool"), wxBitmap(sql_xpm), _("Execute arbitrary SQL queries."), wxITEM_NORMAL); +mnu->Append(id, _("&Query tool\tCtrl-E"), _("Execute arbitrary SQL queries.")); +toolbar->AddTool(id, _("Query tool\tCtrl-E"), wxBitmap(sql_xpm), _("Execute arbitrary SQL queries."), wxITEM_NORMAL); } ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq
[pgadmin-hackers] SVN Commit by guillaume: r6596 - trunk/pgadmin3/i18n/fr_FR
Author: guillaume Date: 2007-08-30 17:02:43 +0100 (Thu, 30 Aug 2007) New Revision: 6596 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6596&view=rev Log: Update french translation, per suggestion from Christophe Chauvet. Modified: trunk/pgadmin3/i18n/fr_FR/pgadmin3.mo trunk/pgadmin3/i18n/fr_FR/pgadmin3.po ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq
[pgadmin-hackers] SVN Commit by guillaume: r6595 - trunk/pgadmin3/i18n/fr_FR
Author: guillaume Date: 2007-08-30 16:47:39 +0100 (Thu, 30 Aug 2007) New Revision: 6595 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6595&view=rev Log: Update french translation, per suggestion from Didier Bretin. Modified: trunk/pgadmin3/i18n/fr_FR/pgadmin3.mo trunk/pgadmin3/i18n/fr_FR/pgadmin3.po ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate
Re: [pgadmin-hackers] pgAdmin3 - Language support on Solaris
Did anyone notice this? Is it a problem with pgAdmin or Solaris? I like to fix this issue. Any thoughts? Please choose and acquire debugging of an option. Oops, it is this. http://www.pgadmin.org/docs/dev/options-tab4.html ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
Re: [pgadmin-hackers] pgAdmin3 - Language support on Solaris
Hi. From: "Dhanaraj M" <[EMAIL PROTECTED]> Hi All, I came to know that pgAdmin3 fails to support all the languages on Solaris platform. However, it works when I choose ja_JP, zh_CN, and zh_TW languages. For the rest, I get an error the following error message: An error occurred: Cannot set locale to 'fr_FR' Umm, It is very strange.?_? http://www.pgadmin.org/translation/status.php http://developers.sun.com/dev/gadc/tools/lc/lc.jsp Did anyone notice this? Is it a problem with pgAdmin or Solaris? I like to fix this issue. Any thoughts? Please choose and acquire debugging of an option. Regards, Hiroshi Saito ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster
[pgadmin-hackers] SVN Commit by guillaume: r6594 - trunk/pgadmin3/i18n/af_ZA
Author: guillaume Date: 2007-08-30 14:18:02 +0100 (Thu, 30 Aug 2007) New Revision: 6594 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6594&view=rev Log: Update afrikaans's translation, per Petri Jooste. Modified: trunk/pgadmin3/i18n/af_ZA/pgadmin3.mo trunk/pgadmin3/i18n/af_ZA/pgadmin3.po ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
[pgadmin-hackers] pgAdmin3 - Language support on Solaris
Hi All, I came to know that pgAdmin3 fails to support all the languages on Solaris platform. However, it works when I choose ja_JP, zh_CN, and zh_TW languages. For the rest, I get an error the following error message: An error occurred: Cannot set locale to 'fr_FR' Did anyone notice this? Is it a problem with pgAdmin or Solaris? I like to fix this issue. Any thoughts? Thanks Dhanaraj ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
[pgadmin-hackers] SVN Commit by guillaume: r6593 - trunk/pgadmin3/i18n/pt_PT
Author: guillaume Date: 2007-08-30 08:44:42 +0100 (Thu, 30 Aug 2007) New Revision: 6593 Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=6593&view=rev Log: Update portuguese translation, per H?\195?\169lder M. Vieira. Modified: trunk/pgadmin3/i18n/pt_PT/pgadmin3.mo trunk/pgadmin3/i18n/pt_PT/pgadmin3.po ---(end of broadcast)--- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate
Re: [pgadmin-hackers] RC1 on Friday?
Dave Page a écrit : > Guillaume Lelarge wrote: >> Dave Page a écrit : >>> I'm thinking we're about ready to release RC1 on Friday. Does anyone >>> think we should have another beta first or disagree with the scheduling? >>> >> There's a bug I still need to work on : the "scratch pad delete key" >> bug. If you want to know a bit more about this, take a look at the "Not >> working delete key in a scratch pad" thread on pgadmin-support. >> >> It seems to work on Windows, but not on GTK-Linux. I've tried some fixes >> but neither really did the job. So, I still need to work on it. This is >> on top of my list. > > I've committed a fix for this. The keypress was getting caught by the > accelerator defined for the form. I added code to the event handler to > skip the event if focus is in the scratch pad. It works great for me. Thanks Dave. I don't understand why I didn't find this. Regards. -- Guillaume. ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org