Commit 0a6ebd41 authored by Mark McLoughlin's avatar Mark McLoughlin Committed by Mark McLoughlin

move to our reserved GNOME_Vertigo namespace.

2001-12-14  Mark McLoughlin  <mark@skynet.ie>

        * GNOME_Panel.idl: move to our reserved GNOME_Vertigo
          namespace.

2001-12-14  Mark McLoughlin  <mark@skynet.ie>

        * panel-applet-frame.[ch], panel-shell.[ch]:
          panel-types.h: move to our reserved GNOME_Vertigo
          namespace.

2001-12-14  Mark McLoughlin  <mark@skynet.ie>

        * panel-applet-shell.[ch], panel-applet.[ch],
          test-bonobo-applet.c: move to our reserved GNOME_Vertigo
          namespace.

2001-12-14  Mark McLoughlin  <mark@skynet.ie>

        * gen_util/clock.c: update for panel-applet
          GNOME_Vertigo namespace changes.

2001-12-14  Mark McLoughlin  <mark@skynet.ie>

        * fish.c: (fish_applet_new): update for panel-applet
          GNOME_Vertigo namespace changes.
parent a84ddd4d
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* gen_util/clock.c: update for panel-applet
GNOME_Vertigo namespace changes.
2001-12-08 Richard Hult <rhult@codefactory.se>
* gen_util/clock.c (computer_clock_update_func): Convert time/date
......
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* gen_util/clock.c: update for panel-applet
GNOME_Vertigo namespace changes.
2001-12-08 Richard Hult <rhult@codefactory.se>
* gen_util/clock.c (computer_clock_update_func): Convert time/date
......
......@@ -178,7 +178,7 @@ computer_clock_update_func (ClockData * cd,
if (cd->unixtime) {
if ((cd->orient == PANEL_APPLET_ORIENT_LEFT ||
cd->orient == PANEL_APPLET_ORIENT_RIGHT) &&
cd->size >= GNOME_PANEL_MEDIUM) {
cd->size >= GNOME_Vertigo_PANEL_MEDIUM) {
g_snprintf (hour, sizeof(hour), "%lu\n%05lu",
(unsigned long)(current_time / 100000L),
(unsigned long)(current_time % 100000L));
......@@ -195,7 +195,7 @@ computer_clock_update_func (ClockData * cd,
12 hour format. */
if ((cd->orient == PANEL_APPLET_ORIENT_LEFT ||
cd->orient == PANEL_APPLET_ORIENT_RIGHT) &&
cd->size >= GNOME_PANEL_MEDIUM) {
cd->size >= GNOME_Vertigo_PANEL_MEDIUM) {
if (strftime (hour, sizeof (hour), _("%I:%M\n%p"), tm) <= 0)
strcpy (hour, "???");
} else {
......@@ -214,7 +214,7 @@ computer_clock_update_func (ClockData * cd,
if (cd->showdate && !cd->unixtime && !cd->internettime) {
if ((cd->orient == PANEL_APPLET_ORIENT_LEFT ||
cd->orient == PANEL_APPLET_ORIENT_RIGHT) &&
cd->size >= GNOME_PANEL_MEDIUM) {
cd->size >= GNOME_Vertigo_PANEL_MEDIUM) {
/* This format string is used, to display the actual day,
when showing a vertical panel. For an explanation of
this format string type 'man strftime'. */
......@@ -226,7 +226,7 @@ computer_clock_update_func (ClockData * cd,
if (strftime (date, sizeof (date), _("%a %b %d"), tm) <= 0)
strcpy (date, "???");
}
if (cd->size < GNOME_PANEL_MEDIUM)
if (cd->size < GNOME_Vertigo_PANEL_MEDIUM)
g_string_append_c (gs,' ');
else
g_string_append_c (gs,'\n');
......@@ -245,7 +245,7 @@ computer_clock_update_func (ClockData * cd,
/*if we are vertical, just make it char per line */
if ((cd->orient == PANEL_APPLET_ORIENT_LEFT ||
cd->orient == PANEL_APPLET_ORIENT_RIGHT) &&
cd->size < GNOME_PANEL_MEDIUM) {
cd->size < GNOME_Vertigo_PANEL_MEDIUM) {
char *p;
GString *gst = g_string_new ("");
......@@ -331,7 +331,7 @@ create_clock_widget (ClockData *cd)
cd->props = NULL;
cd->orient = PANEL_APPLET_ORIENT_UP;
cd->size = GNOME_PANEL_MEDIUM;
cd->size = GNOME_Vertigo_PANEL_MEDIUM;
gtk_signal_connect (GTK_OBJECT(clock), "destroy",
(GtkSignalFunc) destroy_clock,
......@@ -386,7 +386,7 @@ applet_change_pixel_size (PanelApplet *applet,
/* Adjust the padding on the text for small sizes of the panel (so the widget doesn't become bigger than the panel */
cc = g_object_get_data (G_OBJECT (cd->clockw), "cc");
gtk_container_set_border_width (GTK_CONTAINER (cc->align),
((size < GNOME_PANEL_SMALL)? 0 : 3 ) );
((size < GNOME_Vertigo_PANEL_SMALL)? 0 : 3 ) );
time (&current_time);
cd->size = size;
......
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* fish.c: (fish_applet_new): update for panel-applet
GNOME_Vertigo namespace changes.
2001-11-30 Mark McLoughlin <mark@skynet.ie>
* fish.c: (fish_applet_new): update for applet
......
......@@ -988,7 +988,7 @@ fish_applet_new ()
fish = g_new0 (Fish, 1);
fish->size = GNOME_PANEL_MEDIUM;
fish->size = GNOME_Vertigo_PANEL_MEDIUM;
fish->orient = PANEL_APPLET_ORIENT_UP;
gtk_widget_push_visual (gdk_rgb_get_visual ());
......
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* gen_util/clock.c: update for panel-applet
GNOME_Vertigo namespace changes.
2001-12-08 Richard Hult <rhult@codefactory.se>
* gen_util/clock.c (computer_clock_update_func): Convert time/date
......
......@@ -178,7 +178,7 @@ computer_clock_update_func (ClockData * cd,
if (cd->unixtime) {
if ((cd->orient == PANEL_APPLET_ORIENT_LEFT ||
cd->orient == PANEL_APPLET_ORIENT_RIGHT) &&
cd->size >= GNOME_PANEL_MEDIUM) {
cd->size >= GNOME_Vertigo_PANEL_MEDIUM) {
g_snprintf (hour, sizeof(hour), "%lu\n%05lu",
(unsigned long)(current_time / 100000L),
(unsigned long)(current_time % 100000L));
......@@ -195,7 +195,7 @@ computer_clock_update_func (ClockData * cd,
12 hour format. */
if ((cd->orient == PANEL_APPLET_ORIENT_LEFT ||
cd->orient == PANEL_APPLET_ORIENT_RIGHT) &&
cd->size >= GNOME_PANEL_MEDIUM) {
cd->size >= GNOME_Vertigo_PANEL_MEDIUM) {
if (strftime (hour, sizeof (hour), _("%I:%M\n%p"), tm) <= 0)
strcpy (hour, "???");
} else {
......@@ -214,7 +214,7 @@ computer_clock_update_func (ClockData * cd,
if (cd->showdate && !cd->unixtime && !cd->internettime) {
if ((cd->orient == PANEL_APPLET_ORIENT_LEFT ||
cd->orient == PANEL_APPLET_ORIENT_RIGHT) &&
cd->size >= GNOME_PANEL_MEDIUM) {
cd->size >= GNOME_Vertigo_PANEL_MEDIUM) {
/* This format string is used, to display the actual day,
when showing a vertical panel. For an explanation of
this format string type 'man strftime'. */
......@@ -226,7 +226,7 @@ computer_clock_update_func (ClockData * cd,
if (strftime (date, sizeof (date), _("%a %b %d"), tm) <= 0)
strcpy (date, "???");
}
if (cd->size < GNOME_PANEL_MEDIUM)
if (cd->size < GNOME_Vertigo_PANEL_MEDIUM)
g_string_append_c (gs,' ');
else
g_string_append_c (gs,'\n');
......@@ -245,7 +245,7 @@ computer_clock_update_func (ClockData * cd,
/*if we are vertical, just make it char per line */
if ((cd->orient == PANEL_APPLET_ORIENT_LEFT ||
cd->orient == PANEL_APPLET_ORIENT_RIGHT) &&
cd->size < GNOME_PANEL_MEDIUM) {
cd->size < GNOME_Vertigo_PANEL_MEDIUM) {
char *p;
GString *gst = g_string_new ("");
......@@ -331,7 +331,7 @@ create_clock_widget (ClockData *cd)
cd->props = NULL;
cd->orient = PANEL_APPLET_ORIENT_UP;
cd->size = GNOME_PANEL_MEDIUM;
cd->size = GNOME_Vertigo_PANEL_MEDIUM;
gtk_signal_connect (GTK_OBJECT(clock), "destroy",
(GtkSignalFunc) destroy_clock,
......@@ -386,7 +386,7 @@ applet_change_pixel_size (PanelApplet *applet,
/* Adjust the padding on the text for small sizes of the panel (so the widget doesn't become bigger than the panel */
cc = g_object_get_data (G_OBJECT (cd->clockw), "cc");
gtk_container_set_border_width (GTK_CONTAINER (cc->align),
((size < GNOME_PANEL_SMALL)? 0 : 3 ) );
((size < GNOME_Vertigo_PANEL_SMALL)? 0 : 3 ) );
time (&current_time);
cd->size = size;
......
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* gen_util/clock.c: update for panel-applet
GNOME_Vertigo namespace changes.
2001-12-08 Richard Hult <rhult@codefactory.se>
* gen_util/clock.c (computer_clock_update_func): Convert time/date
......
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* gen_util/clock.c: update for panel-applet
GNOME_Vertigo namespace changes.
2001-12-08 Richard Hult <rhult@codefactory.se>
* gen_util/clock.c (computer_clock_update_func): Convert time/date
......
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* panel-applet-frame.[ch], panel-shell.[ch]:
panel-types.h: move to our reserved GNOME_Vertigo
namespace.
2001-12-14 Satan
* menu.c: (panel_menu_have_icons):
......
......@@ -17,13 +17,13 @@
#undef PANEL_APPLET_FRAME_DEBUG
struct _PanelAppletFramePrivate {
GNOME_PanelAppletShell applet_shell;
Bonobo_PropertyBag property_bag;
GNOME_Vertigo_PanelAppletShell applet_shell;
Bonobo_PropertyBag property_bag;
AppletInfo *applet_info;
AppletInfo *applet_info;
gchar *iid;
gchar *unique_key;
gchar *iid;
gchar *unique_key;
};
static GObjectClass *parent_class;
......@@ -137,10 +137,10 @@ panel_applet_frame_save_session (PanelAppletFrame *frame)
global_key = g_strdup_printf ("%s/applets/%s", session_key, frame->priv->iid);
private_key = g_strdup_printf ("%s/applets/%s", session_key, frame->priv->unique_key);
GNOME_PanelAppletShell_saveYourself (frame->priv->applet_shell,
global_key,
private_key,
&env);
GNOME_Vertigo_PanelAppletShell_saveYourself (frame->priv->applet_shell,
global_key,
private_key,
&env);
if (BONOBO_EX (&env))
g_warning (G_STRLOC " : exception return from saveYourself '%s'",
BONOBO_EX_REPOID (&env));
......@@ -161,9 +161,9 @@ panel_applet_frame_get_expand_flags (PanelAppletFrame *frame,
CORBA_exception_init (&env);
GNOME_PanelAppletShell_getExpandFlags (frame->priv->applet_shell,
&major, &minor,
&env);
GNOME_Vertigo_PanelAppletShell_getExpandFlags (frame->priv->applet_shell,
&major, &minor,
&env);
if (BONOBO_EX (&env))
g_warning (G_STRLOC " : exception return from getExpandFlags '%s'",
......@@ -311,11 +311,11 @@ panel_applet_frame_get_type (void)
return type;
}
static GNOME_PanelAppletShell
static GNOME_Vertigo_PanelAppletShell
panel_applet_frame_get_applet_shell (Bonobo_Control control)
{
CORBA_Environment env;
GNOME_PanelAppletShell retval;
CORBA_Environment env;
GNOME_Vertigo_PanelAppletShell retval;
CORBA_exception_init (&env);
......
......@@ -118,7 +118,7 @@ panel_shell_init (PanelShell *shell)
}
BONOBO_TYPE_FUNC_FULL (PanelShell,
GNOME_PanelShell,
GNOME_Vertigo_PanelShell,
BONOBO_OBJECT_TYPE,
panel_shell);
......@@ -14,15 +14,15 @@
typedef struct _PanelShellPrivate PanelShellPrivate;
typedef struct {
BonoboObject base;
BonoboObject base;
PanelShellPrivate *priv;
} PanelShell;
typedef struct {
BonoboObjectClass parent_class;
BonoboObjectClass parent_class;
POA_GNOME_PanelShell__epv epv;
POA_GNOME_Vertigo_PanelShell__epv epv;
} PanelShellClass;
GType panel_shell_get_type (void) G_GNUC_CONST;
......
......@@ -5,21 +5,21 @@
#include <gtk/gtktypeutils.h>
#include "GNOME_Panel.h"
typedef GNOME_PanelOrient PanelOrient;
typedef GNOME_Vertigo_PanelOrient PanelOrient;
#define PANEL_ORIENT_UP GNOME_PANEL_ORIENT_UP
#define PANEL_ORIENT_DOWN GNOME_PANEL_ORIENT_DOWN
#define PANEL_ORIENT_LEFT GNOME_PANEL_ORIENT_LEFT
#define PANEL_ORIENT_RIGHT GNOME_PANEL_ORIENT_RIGHT
#define PANEL_ORIENT_UP GNOME_Vertigo_PANEL_ORIENT_UP
#define PANEL_ORIENT_DOWN GNOME_Vertigo_PANEL_ORIENT_DOWN
#define PANEL_ORIENT_LEFT GNOME_Vertigo_PANEL_ORIENT_LEFT
#define PANEL_ORIENT_RIGHT GNOME_Vertigo_PANEL_ORIENT_RIGHT
typedef enum {
PANEL_SIZE_XX_SMALL = GNOME_PANEL_XX_SMALL,
PANEL_SIZE_X_SMALL = GNOME_PANEL_X_SMALL,
PANEL_SIZE_SMALL = GNOME_PANEL_SMALL,
PANEL_SIZE_MEDIUM = GNOME_PANEL_MEDIUM,
PANEL_SIZE_LARGE = GNOME_PANEL_LARGE,
PANEL_SIZE_X_LARGE = GNOME_PANEL_X_LARGE,
PANEL_SIZE_XX_LARGE = GNOME_PANEL_XX_LARGE
PANEL_SIZE_XX_SMALL = GNOME_Vertigo_PANEL_XX_SMALL,
PANEL_SIZE_X_SMALL = GNOME_Vertigo_PANEL_X_SMALL,
PANEL_SIZE_SMALL = GNOME_Vertigo_PANEL_SMALL,
PANEL_SIZE_MEDIUM = GNOME_Vertigo_PANEL_MEDIUM,
PANEL_SIZE_LARGE = GNOME_Vertigo_PANEL_LARGE,
PANEL_SIZE_X_LARGE = GNOME_Vertigo_PANEL_X_LARGE,
PANEL_SIZE_XX_LARGE = GNOME_Vertigo_PANEL_XX_LARGE
} PanelSize;
typedef GNOME_Panel_BackType PanelBackType;
......
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* GNOME_Panel.idl: move to our reserved GNOME_Vertigo
namespace.
2001-12-04 Alex Larsson <alexl@redhat.com>
* GNOME_Panel.idl:
......
......@@ -7,6 +7,7 @@
* GNOME 2.0 Interfaces
*/
module GNOME {
module Vertigo {
/*
* The panel's orientation.
......@@ -74,6 +75,7 @@ module GNOME {
};
};
};
/*
* GNOME 1.4 Interfaces
......
2001-12-14 Mark McLoughlin <mark@skynet.ie>
* panel-applet-shell.[ch], panel-applet.[ch],
test-bonobo-applet.c: move to our reserved GNOME_Vertigo
namespace.
2001-12-07 Mark McLoughlin <mark@skynet.ie>
* panel-applet-shell.c: (impl_PanelAppletShell_getExpandFlags):
......
......@@ -86,7 +86,7 @@ panel_applet_shell_init (PanelAppletShell *shell)
}
BONOBO_TYPE_FUNC_FULL (PanelAppletShell,
GNOME_PanelAppletShell,
GNOME_Vertigo_PanelAppletShell,
BONOBO_OBJECT_TYPE,
panel_applet_shell);
......
......@@ -30,9 +30,9 @@ typedef struct {
} PanelAppletShell;
typedef struct {
BonoboObjectClass base_class;
BonoboObjectClass base_class;
POA_GNOME_PanelAppletShell__epv epv;
POA_GNOME_Vertigo_PanelAppletShell__epv epv;
} PanelAppletShellClass;
......
......@@ -535,7 +535,7 @@ panel_applet_instance_init (PanelApplet *applet,
applet->priv = g_new0 (PanelAppletPrivate, 1);
applet->priv->orient = PANEL_APPLET_ORIENT_UP;
applet->priv->size = GNOME_PANEL_MEDIUM;
applet->priv->size = GNOME_Vertigo_PANEL_MEDIUM;
gtk_widget_set_events (GTK_WIDGET (applet),
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
......
......@@ -20,12 +20,12 @@
G_BEGIN_DECLS
typedef GNOME_PanelOrient PanelAppletOrient;
typedef GNOME_Vertigo_PanelOrient PanelAppletOrient;
#define PANEL_APPLET_ORIENT_UP GNOME_PANEL_ORIENT_UP
#define PANEL_APPLET_ORIENT_DOWN GNOME_PANEL_ORIENT_DOWN
#define PANEL_APPLET_ORIENT_LEFT GNOME_PANEL_ORIENT_LEFT
#define PANEL_APPLET_ORIENT_RIGHT GNOME_PANEL_ORIENT_RIGHT
#define PANEL_APPLET_ORIENT_UP GNOME_Vertigo_PANEL_ORIENT_UP
#define PANEL_APPLET_ORIENT_DOWN GNOME_Vertigo_PANEL_ORIENT_DOWN
#define PANEL_APPLET_ORIENT_LEFT GNOME_Vertigo_PANEL_ORIENT_LEFT
#define PANEL_APPLET_ORIENT_RIGHT GNOME_Vertigo_PANEL_ORIENT_RIGHT
#define PANEL_TYPE_APPLET (panel_applet_get_type ())
......
......@@ -74,25 +74,25 @@ test_applet_handle_size_change (PanelApplet *applet,
GtkLabel *label)
{
switch (size) {
case GNOME_PANEL_XX_SMALL:
case GNOME_Vertigo_PANEL_XX_SMALL:
gtk_label_set_markup (label, "<span size=\"xx-small\">Hello</span>");
break;
case GNOME_PANEL_X_SMALL:
case GNOME_Vertigo_PANEL_X_SMALL:
gtk_label_set_markup (label, "<span size=\"x-small\">Hello</span>");
break;
case GNOME_PANEL_SMALL:
case GNOME_Vertigo_PANEL_SMALL:
gtk_label_set_markup (label, "<span size=\"small\">Hello</span>");
break;
case GNOME_PANEL_MEDIUM:
case GNOME_Vertigo_PANEL_MEDIUM:
gtk_label_set_markup (label, "<span size=\"medium\">Hello</span>");
break;
case GNOME_PANEL_LARGE:
case GNOME_Vertigo_PANEL_LARGE:
gtk_label_set_markup (label, "<span size=\"large\">Hello</span>");
break;
case GNOME_PANEL_X_LARGE:
case GNOME_Vertigo_PANEL_X_LARGE:
gtk_label_set_markup (label, "<span size=\"x-large\">Hello</span>");
break;
case GNOME_PANEL_XX_LARGE:
case GNOME_Vertigo_PANEL_XX_LARGE:
gtk_label_set_markup (label, "<span size=\"xx-large\">Hello</span>");
break;
default:
......@@ -145,7 +145,7 @@ test_applet_new (void)
gtk_widget_show_all (applet);
test_applet_handle_size_change (PANEL_APPLET (applet),
GNOME_PANEL_MEDIUM,
GNOME_Vertigo_PANEL_MEDIUM,
GTK_LABEL (label));
panel_applet_setup_menu (PANEL_APPLET (applet),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment