Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/899b86f3ee669483f2cfbb519cd0ea04bde7d511
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/899b86f3ee669483f2cfbb519cd0ea04bde7d511
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/899b86f3ee669483f2cfbb519cd0ea04bde7d511

The branch, vince/gtk-tab-restyle has been updated
       via  899b86f3ee669483f2cfbb519cd0ea04bde7d511 (commit)
       via  871431f41d0e264f9ffeb7c28b7abab9414db577 (commit)
       via  5eaadabc9e52c6b6487922d2207e55ae10f82fa1 (commit)
      from  6af0496a390b38ce842577137313de4768b228b7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=899b86f3ee669483f2cfbb519cd0ea04bde7d511
commit 899b86f3ee669483f2cfbb519cd0ea04bde7d511
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    remove leftover sighandler code

diff --git a/frontends/gtk/window.c b/frontends/gtk/window.c
index b1c0b70..da904ea 100644
--- a/frontends/gtk/window.c
+++ b/frontends/gtk/window.c
@@ -1482,13 +1482,6 @@ struct browser_window *nsgtk_get_browser_window(struct 
gui_window *g)
 
 
 /* exported interface documented in window.h */
-unsigned long nsgtk_window_get_signalhandler(struct gui_window *g, int i)
-{
-       return g->signalhandler[i];
-}
-
-
-/* exported interface documented in window.h */
 GtkLayout *nsgtk_window_get_layout(struct gui_window *g)
 {
        return g->layout;


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=871431f41d0e264f9ffeb7c28b7abab9414db577
commit 871431f41d0e264f9ffeb7c28b7abab9414db577
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    clean up tab focus setting

diff --git a/frontends/gtk/tabs.c b/frontends/gtk/tabs.c
index 6f4b22b..ae07c16 100644
--- a/frontends/gtk/tabs.c
+++ b/frontends/gtk/tabs.c
@@ -287,6 +287,7 @@ nsgtk_tab_add_newtab(GtkNotebook *notebook)
        tabcontents = nsgtk_hbox_new(FALSE, 1);
 
        add = gtk_image_new_from_icon_name(NSGTK_STOCK_ADD, GTK_ICON_SIZE_MENU);
+       gtk_widget_set_tooltip_text(add, "New Tab");
 
        gtk_box_pack_start(GTK_BOX(tablabel), add, FALSE, FALSE, 0);
 
@@ -424,10 +425,6 @@ void nsgtk_tab_add(struct gui_window *gw,
 
        nsgtk_tab_add_page(notebook, tab_contents, background, title, 
icon_pixbuf);
 
-#if 0
-       gtk_widget_grab_focus(GTK_WIDGET(nsgtk_scaffolding_urlbar(
-                       nsgtk_get_scaffold(gw))));
-#endif
 }
 
 


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=5eaadabc9e52c6b6487922d2207e55ae10f82fa1
commit 5eaadabc9e52c6b6487922d2207e55ae10f82fa1
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    remove unused signal handler api

diff --git a/frontends/gtk/window.c b/frontends/gtk/window.c
index f4812bd..b1c0b70 100644
--- a/frontends/gtk/window.c
+++ b/frontends/gtk/window.c
@@ -121,9 +121,6 @@ struct gui_window {
        /** has the status pane had its first size operation yet? */
        bool paned_sized;
 
-       /** to allow disactivation / resume of normal window behaviour */
-       gulong signalhandler[NSGTK_WINDOW_SIGNAL_COUNT];
-
        /** The icon this window should have */
        GdkPixbuf *icon;
 
@@ -831,8 +828,7 @@ gui_window_create(struct browser_window *bw,
                                               GTK_STATE_NORMAL,
                                               0, 0xffff, 0xffff, 0xffff);
 
-       g->signalhandler[NSGTK_WINDOW_SIGNAL_REDRAW] =
-               nsgtk_connect_draw_event(GTK_WIDGET(g->layout),
+       nsgtk_connect_draw_event(GTK_WIDGET(g->layout),
                                G_CALLBACK(nsgtk_window_draw_event), g);
 
        /* helper macro to conect signals to callbacks */
@@ -842,8 +838,7 @@ gui_window_create(struct browser_window *bw,
        /* layout signals */
        CONNECT(g->layout, "motion-notify-event",
                        nsgtk_window_motion_notify_event, g);
-       g->signalhandler[NSGTK_WINDOW_SIGNAL_CLICK] =
-                       CONNECT(g->layout, "button-press-event",
+       CONNECT(g->layout, "button-press-event",
                        nsgtk_window_button_press_event, g);
        CONNECT(g->layout, "button-release-event",
                        nsgtk_window_button_release_event, g);
diff --git a/frontends/gtk/window.h b/frontends/gtk/window.h
index 3c807c0..728c653 100644
--- a/frontends/gtk/window.h
+++ b/frontends/gtk/window.h
@@ -22,12 +22,6 @@
 extern struct gui_window_table *nsgtk_window_table;
 extern struct gui_search_web_table *nsgtk_search_web_table;
 
-typedef enum nsgtk_window_signals {
-       NSGTK_WINDOW_SIGNAL_CLICK,
-       NSGTK_WINDOW_SIGNAL_REDRAW,
-       NSGTK_WINDOW_SIGNAL_COUNT
-} nsgtk_window_signal;
-
 extern struct gui_window *window_list;
 extern int temp_open_background;
 
@@ -78,13 +72,6 @@ int nsgtk_gui_window_update_targets(struct gui_window *gw);
  */
 void nsgtk_window_destroy_browser(struct gui_window *gw);
 
-/**
- * set signal handler
- *
- * \param gw gui window handle
- */
-unsigned long nsgtk_window_get_signalhandler(struct gui_window *gw, int i);
-
 
 /**
  * toggle search visibility


-----------------------------------------------------------------------

Summary of changes:
 frontends/gtk/tabs.c   |    5 +----
 frontends/gtk/window.c |   16 ++--------------
 frontends/gtk/window.h |   13 -------------
 3 files changed, 3 insertions(+), 31 deletions(-)

diff --git a/frontends/gtk/tabs.c b/frontends/gtk/tabs.c
index 6f4b22b..ae07c16 100644
--- a/frontends/gtk/tabs.c
+++ b/frontends/gtk/tabs.c
@@ -287,6 +287,7 @@ nsgtk_tab_add_newtab(GtkNotebook *notebook)
        tabcontents = nsgtk_hbox_new(FALSE, 1);
 
        add = gtk_image_new_from_icon_name(NSGTK_STOCK_ADD, GTK_ICON_SIZE_MENU);
+       gtk_widget_set_tooltip_text(add, "New Tab");
 
        gtk_box_pack_start(GTK_BOX(tablabel), add, FALSE, FALSE, 0);
 
@@ -424,10 +425,6 @@ void nsgtk_tab_add(struct gui_window *gw,
 
        nsgtk_tab_add_page(notebook, tab_contents, background, title, 
icon_pixbuf);
 
-#if 0
-       gtk_widget_grab_focus(GTK_WIDGET(nsgtk_scaffolding_urlbar(
-                       nsgtk_get_scaffold(gw))));
-#endif
 }
 
 
diff --git a/frontends/gtk/window.c b/frontends/gtk/window.c
index f4812bd..da904ea 100644
--- a/frontends/gtk/window.c
+++ b/frontends/gtk/window.c
@@ -121,9 +121,6 @@ struct gui_window {
        /** has the status pane had its first size operation yet? */
        bool paned_sized;
 
-       /** to allow disactivation / resume of normal window behaviour */
-       gulong signalhandler[NSGTK_WINDOW_SIGNAL_COUNT];
-
        /** The icon this window should have */
        GdkPixbuf *icon;
 
@@ -831,8 +828,7 @@ gui_window_create(struct browser_window *bw,
                                               GTK_STATE_NORMAL,
                                               0, 0xffff, 0xffff, 0xffff);
 
-       g->signalhandler[NSGTK_WINDOW_SIGNAL_REDRAW] =
-               nsgtk_connect_draw_event(GTK_WIDGET(g->layout),
+       nsgtk_connect_draw_event(GTK_WIDGET(g->layout),
                                G_CALLBACK(nsgtk_window_draw_event), g);
 
        /* helper macro to conect signals to callbacks */
@@ -842,8 +838,7 @@ gui_window_create(struct browser_window *bw,
        /* layout signals */
        CONNECT(g->layout, "motion-notify-event",
                        nsgtk_window_motion_notify_event, g);
-       g->signalhandler[NSGTK_WINDOW_SIGNAL_CLICK] =
-                       CONNECT(g->layout, "button-press-event",
+       CONNECT(g->layout, "button-press-event",
                        nsgtk_window_button_press_event, g);
        CONNECT(g->layout, "button-release-event",
                        nsgtk_window_button_release_event, g);
@@ -1487,13 +1482,6 @@ struct browser_window *nsgtk_get_browser_window(struct 
gui_window *g)
 
 
 /* exported interface documented in window.h */
-unsigned long nsgtk_window_get_signalhandler(struct gui_window *g, int i)
-{
-       return g->signalhandler[i];
-}
-
-
-/* exported interface documented in window.h */
 GtkLayout *nsgtk_window_get_layout(struct gui_window *g)
 {
        return g->layout;
diff --git a/frontends/gtk/window.h b/frontends/gtk/window.h
index 3c807c0..728c653 100644
--- a/frontends/gtk/window.h
+++ b/frontends/gtk/window.h
@@ -22,12 +22,6 @@
 extern struct gui_window_table *nsgtk_window_table;
 extern struct gui_search_web_table *nsgtk_search_web_table;
 
-typedef enum nsgtk_window_signals {
-       NSGTK_WINDOW_SIGNAL_CLICK,
-       NSGTK_WINDOW_SIGNAL_REDRAW,
-       NSGTK_WINDOW_SIGNAL_COUNT
-} nsgtk_window_signal;
-
 extern struct gui_window *window_list;
 extern int temp_open_background;
 
@@ -78,13 +72,6 @@ int nsgtk_gui_window_update_targets(struct gui_window *gw);
  */
 void nsgtk_window_destroy_browser(struct gui_window *gw);
 
-/**
- * set signal handler
- *
- * \param gw gui window handle
- */
-unsigned long nsgtk_window_get_signalhandler(struct gui_window *gw, int i);
-
 
 /**
  * toggle search visibility


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to