[libgda] GdaBrowser: UI improvements
- From: Vivien Malerba <vivien src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libgda] GdaBrowser: UI improvements
- Date: Thu, 24 Sep 2009 18:45:34 +0000 (UTC)
commit 7ab3292379b46e9d156e906199a18c95bdd21de6
Author: Vivien Malerba <malerba gnome-db org>
Date: Tue Sep 22 22:38:12 2009 +0200
GdaBrowser: UI improvements
tools/browser/browser-window.c | 2 +-
tools/browser/query-exec/query-console.c | 4 ++--
tools/browser/query-exec/query-exec-perspective.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tools/browser/browser-window.c b/tools/browser/browser-window.c
index d41f26d..ce1e83a 100644
--- a/tools/browser/browser-window.c
+++ b/tools/browser/browser-window.c
@@ -209,7 +209,7 @@ static const GtkActionEntry ui_actions[] = {
{ "Edit", NULL, "_Edit", NULL, "Edit", NULL },
{ "Perspective", NULL, "_Perspective", NULL, "Perspective", NULL },
{ "Window", NULL, "_Window", NULL, "Window", NULL },
- { "WindowNew", STOCK_NEW_WINDOW, "_New window", NULL, "Open a new window for current connection", G_CALLBACK (window_new_cb)},
+ { "WindowNew", STOCK_NEW_WINDOW, "_New window", "<control>N", "Open a new window for current connection", G_CALLBACK (window_new_cb)},
{ "WindowNewOthers", NULL, "New window for _connection", NULL, "Open a new window for a connection", NULL},
{ "WindowClose", GTK_STOCK_CLOSE, "_Close", "", "Close this window", G_CALLBACK (window_close_cb)},
{ "Help", NULL, "_Help", NULL, "Help", NULL },
diff --git a/tools/browser/query-exec/query-console.c b/tools/browser/query-exec/query-console.c
index 3076e9a..b7a9a82 100644
--- a/tools/browser/query-exec/query-console.c
+++ b/tools/browser/query-exec/query-console.c
@@ -436,7 +436,7 @@ query_console_new (BrowserConnection *bcnc)
gtk_widget_set_sensitive (button, FALSE);
/* bottom right */
- vbox = gtk_vbox_new (FALSE, 0);
+ vbox = gtk_vbox_new (FALSE, 8);
gtk_paned_pack2 (GTK_PANED (hpaned), vbox, TRUE, FALSE);
wid = gtk_label_new ("");
@@ -448,7 +448,7 @@ query_console_new (BrowserConnection *bcnc)
wid = query_result_new (tconsole->priv->history);
tconsole->priv->query_result = wid;
- gtk_box_pack_start (GTK_BOX (vbox), wid, TRUE, TRUE, 6);
+ gtk_box_pack_start (GTK_BOX (vbox), wid, TRUE, TRUE, 0);
/* show everything */
gtk_widget_show_all (vpaned);
diff --git a/tools/browser/query-exec/query-exec-perspective.c b/tools/browser/query-exec/query-exec-perspective.c
index 8df6780..97b9ef5 100644
--- a/tools/browser/query-exec/query-exec-perspective.c
+++ b/tools/browser/query-exec/query-exec-perspective.c
@@ -401,7 +401,7 @@ transaction_rollback_cb (GtkAction *action, BrowserPerspective *bpers)
static GtkActionEntry ui_actions[] = {
{ "QueryExecMenu", NULL, N_("_Query"), NULL, "QueryExecMenu", NULL },
- { "QueryExecItem1", STOCK_CONSOLE, N_("_New editor"), NULL, N_("Open a new query editor"),
+ { "QueryExecItem1", STOCK_CONSOLE, N_("_New editor"), "<control>T", N_("Open a new query editor"),
G_CALLBACK (query_exec_add_cb)},
{ "QueryExecBegin", BROWSER_STOCK_BEGIN, N_("_Begin"), NULL, N_("Begin a new transaction"),
G_CALLBACK (transaction_begin_cb)},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]